dam_getValueOfExp
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method gets the value of the argument passed into a scalar function implemented by the IP. Use the methods dam_getFirstValExp and dam_getNextValExp to step through the argument list.
Object dam_getValueOfExp(
long pMemTree,
long hValExpList,
long hValExp,
int iXoType,
xo_int piStatus)
Parameters for dam_getValueOfExp
| 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. |
| iXoType | int | The data type in which to get the value. It can be any data type that can be a conversion target of the argument's data type as defined in the scalar function definition. |
| OUTPUT | ||
| piStatus | xo_int | The status of the method call: DAM_SUCCESS - all data retrieved. DAM_SUCCESS_WITH_RESULT_PENDING - more data is available and should be retrieved by calling this method again. This will occur for a large LONGVARBINARY, LONGVARCHAR , and WLONGVARCHAR data. DAM_FAILURE - error in getting the data; most likely the data cannot be converted to the specified XO_Type. |
| RETURN | ||
| Object | The value of the argument. The Java type of the data will correspond to the iXoType value. See Table How the methods for Java return a value as an object. A NULL Object is returned if the underlying value is NULL data. | |