public class FunctionDescriptorFactory
extends java.lang.Object
Constructor and Description |
---|
FunctionDescriptorFactory() |
Modifier and Type | Method and Description |
---|---|
static IFunctionDescriptor |
createFunctionDescriptor(java.lang.String name,
java.lang.String[] argNames,
java.lang.String[] argVarNames,
int returnType,
java.lang.String[] returnColumnNames,
java.lang.String description)
Create a new IFunctionDescriptor.
|
public static IFunctionDescriptor createFunctionDescriptor(java.lang.String name, java.lang.String[] argNames, java.lang.String[] argVarNames, int returnType, java.lang.String[] returnColumnNames, java.lang.String description)
name
- Name of function.argNames
- Array of argument names to function.argVarNames
- Array of variable names to hold values of arguments to function.
There must be a one-to-one correspondence between argNames and argVarNames. Functions
can have up to 10 arguments. The type of each argument is encoded into it's variable name.
Possible names:
returnType
- Return type of function. Possible values:
returnColumnNames
- For functions which return tables; the names of the
columns in the returned table.description
- Description of function.Submit a bug or feature
Copyright (c) 2013-2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.