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

dam_isTargetRowForConditionList

This method is used to verify if the target row matches the condition list.
This method is useful when the IP uses UNION condition lists and builds target rows for each of the condition lists returned from dam_getSetOfConditionListsEx. The IP can call this method to verify if the target row was already processed for any of the previous condition lists.
int dam_isTargetRowForConditionList(
    long stmt,
    long hRow,
    long hCondList)
Restriction on method usage:
The IP should not call dam_setOption(DAM_CONDLIST_OPTION, hcondList, DAM_CONDLIST_OPTION_EVALUATION, DAM_PROCESSING_OFF) on any of the condition lists.
Table 232. Parameters for dam_isTargetRowForConditionList
Parameter
Type
Description
INPUT
hstmt
long
Statement handle.
hRow
long
Row handle.
hCondList
long
Condition list handle.
RETURN
int
DAM_TRUE - if row is a target row for the condition list.
DAM_FALSE - if row is not a target row for the condition list.
DAM_ERROR - on error.

See also

*dam_getSetOfConditionListsEx
*dam_setOption