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

dam_describeCustomCond

This method is used to retrieve the description of a custom condition, including the 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 pScalarName,
xo_long phValExpList)
Table 117. Parameters for dam_describeCustomCond
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.
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.