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

dam_getTableStmt

This method gets the OpenAccess SDK SQL engine statement handle for the tableNum in the join. This is used by the IP to get the statement handle for implementing the join pushdown.
long dam_getTableStmt(
    long hstmt_outer,
    int  iTableNum)
Table 219. Parameters for dam_getTableStmt
Parameter
Type
Description
INPUT
hstmt_outer
long
The statement handle of the current statement.
iTableNum
int
The table number for the table for which to get the conditions. Numbers start at 0.
RETURN
hstmt
long
The statement handle of the TableNum in the join.
If a matching TableNum is not found, 0 is returned.