Data Integration
- Data Integration
- All Products
(dataType)invokeJExpression( String expression, Object[] paramMetadataArray);
Argument
| Data Type
| Input/Output
| Description
|
---|---|---|---|
dataType
| -
| Output
| Data type that you want to cast the return value to. By default, the return data type is an object.
You can cast the return value to an integer, double, string, or byte[] data type.
|
expression
| String
| Input
| String that represents the expression to invoke.
You must use the letter "x" and number the parameters consecutively. For example, if the invoked expression requires three parameters, name the parameters x1, x2, and x3.
|
paramMetadataArray
| Object[]
| Input
| Array of objects that contains the input parameters for the invoked expression.
|
(String)invokeJExpression("concat(x1,x2)", new Object [] { "John ", "Smith" });
John Smith
new Object [] { "TO_DATE("01/22/98", "MM/DD/YY")" }