Parameter
|
Type
|
Description
|
IN
|
|
|
hstmt
|
int64
|
The statement handle
|
iType
|
int
|
The type of condition list requested:
SQL_SET_CONDLIST_INTERSECT – transform the where clause into set of AND conditions and return these as a list. This is valid only if IP_SUPPORT_UNION_CONDLIST is set to 0.
SQL_SET_CONDLIST_UNION – transform the where clause into a set of OR conditions and return these as a list. This is valid only if IP_SUPPORT_UNION_CONDLIST is set to 1.
|
hcol
|
int
|
The column to retrieve expressions on. Set to 0 to specify all columns.
|
OUT
|
|
|
pbPartialLists
|
int
|
1 – the condition list provided to the IP is a partial list. This happens in cases where the query contains expressions like (A=B). In this case, the OpenAccess SDK SQL Engine builds temporary condition lists which contain all the conditions that can be exposed to IP. The IP cannot mark these condition lists as evaluated. The OpenAccess SDK SQL Engine will be forced to evaluate all the original condition lists of the search expression.
0 – the condition list provided to the IP contains the full expression.
|
RETURN
|
|
|
|
int64
|
The search condition list. Navigate it by using the dam_getFirstCondList and dam_getNextCondList methods. A NULL is returned if no search list is available. The IP must call dam_freeSetOfConditionList to this handle when finished with the query.
|