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

dam_getFirstIndexCol

This method gets the first column associated with the optimal index returned by the dam_getOptimalIndexAndConditions method. Use dam_getNextIndexCol to navigate to the next one and dam_describeIndexCol to retrieve data about each of the index columns.
long dam_getFirstIndexCol(long hIndex)
Table 177. Parameters for dam_getFirstIndexCol
Parameter
Type
Description
INPUT
hIndex
long
The index handle as returned by the dam_getOptimalIndexAndConditions method.
RETURN
long
The first column making up the index. Call dam_describeIndexCol to get column details.

See also

*dam_describeIndexCol
*dam_getNextIndexCol
*dam_getOptimalIndexAndConditions