skip to main content
SQL Engine parse tree methods for Java : damex_describeLogicExp
 

damex_describeLogicExp

This method gets the description of a logical expression.
int damex_describeLogicExp(
    long   hLogExp,
    xo_int piType,
    long   phLeftLogExp,
    long   phRightLogExp,
    long   phCond)
Table 259. Parameters for damex_describeLogicExp
Parameter
Type
Description
INPUT
hLogExp
long
The logical expression handle.
OUTPUT
piType
xo_int
The type of the logical expression:
SQL_EXP_COND - simple condition
SQL_EXP_AND - AND expression
SQL_EXP_OR - OR expression
SQL_EXP_NOT - NOT expression
phLeftLogExp
long
The handle to the left logical expression. This value is set when the type of the input logical expression is SQL_EXP_AND, SQL_EXP_OR, SQL_EXP_NOT.
phRightLogExp
long
The handle to the right logical expression. This value is set when the type of the input logical expression is SQL_EXP_AND, SQL_EXP_OR.
phCond
long
The handle to the condition. This value is set when the type of the input logical expression is SQL_EXP_COND.
RETURN
int
DAM_SUCCESS - on successDAM_FAILURE - on failure