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

dam_getColOption

This method is used to retrieve the column options based on Connection properties and Column's Operator Support setting. The IP can use this method to check the aggregate setting of the column, which takes into account the global connection setting as well as the column-specific setting. Connection properties are set up using dam_setOption and column's operator support is specified in the column schema.
int dam_getColOption(
    long   hdbc,
    long   hcol,
    int    iType,
    xo_int piValue)
Table 168. Parameters for dam_getColOption
Parameter
Type
Description
INPUT
hdbc
long
The DAM connection handle.
Pass 0 if connection properties is to be ignored and only the column-specific value is to be returned.
hcol
long
The column handle.
iType
int
Type of information requested:
DAM_COL_OPTION_IGNORE_CASE_IN_STRINGS - column values are to be considered case sensitive.
DAM_COL_OPTION_IGNORE_BLANKS - trailing blanks in the column value are to be ignored.
DAM_COL_OPTION_IGNORE_CASE_IN_LIKE - column values are to be considered case insensitive in LIKE operation.
OUTPUT
piValue
xo_int
The value of the column information.
RETURN
int
Status of the call:
DAM_SUCCESS - retrieved the option value.
DAM_FAILURE - error.

See also

*dam_setOption