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

dam_getValueTypeOfExp

This method gets the value type of the argument passed into a scalar function implemented by the IP. This method is used when the output type of the scalar function is determined based on an argument type.
Use the methods dam_getFirstValExp and dam_getNextValExp to step through the argument list.
int dam_getValueTypeOfExp(
    long pMemTree,
    long hValExpList,
    long hValExp)
Table 226. Parameters for dam_ValueTypeOfExp
Parameter
Type
Description
INPUT
pMemTree
long
The memory tree to use for temporary storage.
hValExpList
long
The list of arguments as passed into the scalar function.
hValExp
long
The argument for which you want to retrieve the data.
RETURN
int
The data type of the value expression. See Table 33.

See also

*dam_getFirstValExp
*dam_getNextValExp