skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_getNextJoinStmt
 

dam_getNextJoinStmt

This function gets the OpenAccess SDK SQL engine statement handle for the next table in the join. An IP uses this function to get the next statement handle for implementing the join pushdown.
For example, if tables A and B are joined in the listed order, then when processing table A you can call this function to get the handle for table B. In this case, table B is referred to as the inner table.
DAM_HSTMT dam_getNextJoinStmt(
DAM_HSTMT hstmt_outer)
Table 138. Parameters for dam_getNextJoinStmt
Parameter
Type
Description
IN
hstmt_outer
DAM_HSTMT
The statement handle of the current statement.
RETURN
hstmt
DAM_HSTMT
The statement handle of the next table in the join.