skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_describeCustomCondEx2
 

dam_describeCustomCondEx2

This method is used to retrieve the description of a custom condition, including the name of the function qualifier, column, operator, name of the scalar function, and any parameters passed to the function.
int dam_describeCustomCond(
long hstmt,
long hcond,
xo_long phCol,
xo_int piOpType,
StringBuffer pQualifierName,
StringBuffer pScalarName,
xo_long phValExpList)
Table 118. Parameters for dam_describeCustomCondEx2
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
hcond
DAM_HCOND
The custom condition handle.
OUT
phCol
xo_long
The handle to the column associated with the condition.
piOpType
xo_int
The operator type. See Table 144 for the description of supported operators and their associated values.
pQualifierName
StringBuffer
The name of the function qualifier.
pScalarName
StringBuffer
The scalar function name.
phValExpList
xo_long
The handle to the value expression list that contains the arguments to the scalar function.
RETURN
int
DAM_SUCCESS - valid condition is returned.
DAM_FAILURE - the operation failed.