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

dam_getSetOfCustomConditionLists

This method is used to retrieve custom conditions lists from the Where clause.
long dam_getSetOfCustomConditionLists(
long hstmt,
xo_int pbPartialLists)
Table 116. Parameters for dam_getSetOfCustomConditionLists
Parameter
Type
Description
IN
hstmt
long
The statement handle.
OUT
pbPartialLists
xo_int
TRUE - the custom condition list provided to the IP is a partial list. This happens in cases where:
*A custom scalar function is an operand in a condition and another operand is not a column of the table.
*A custom scalar function is used with non-literal parameters.
*A custom scalar function is in an expression.
*A custom scalar function in a JOIN is bound by the OR operator.
The IP cannot mark all custom condition lists as evaluated, so the IP should return an error.
FALSE - the condition list provided to the IP contains the full expression.
RETURN
long
The search custom condition list. Navigate it using dam_getFirstCondList and dam_getNextCondList. A 0 is returned if no search list is available. The IP must call dam_freeSetOfConditionList to this handle when done.