public final class FunctionInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
deterministic
If this function always returns the same value for the same parameters.
|
java.lang.String |
name
The name of the function.
|
int |
returnDataType
The data type of the return value.
|
int |
type
The function type.
|
| Constructor and Description |
|---|
FunctionInfo(FunctionInfo source,
java.lang.String name)
Creates a copy of built-in function information with a different name.
|
FunctionInfo(java.lang.String name,
int type,
int parameterCount,
int returnDataType,
boolean nullIfParameterIsNull,
boolean deterministic,
boolean requireParentheses,
boolean specialArguments)
Creates new instance of built-in function information.
|
public final java.lang.String name
public final int type
public final int returnDataType
public final boolean deterministic
public FunctionInfo(java.lang.String name,
int type,
int parameterCount,
int returnDataType,
boolean nullIfParameterIsNull,
boolean deterministic,
boolean requireParentheses,
boolean specialArguments)
name - the name of the functiontype - the function typeparameterCount - the number of parametersreturnDataType - the data type of the return valuenullIfParameterIsNull - if the result of the function is NULL if any of the parameters
is NULLdeterministic - if this function always returns the same value for the same
parametersrequireParentheses - should the no-arg function require parenthesesspecialArguments - if arguments cannot be evaluated in normal way with
Expression.getValue(org.h2.engine.Session).public FunctionInfo(FunctionInfo source, java.lang.String name)
source - the source informationname - the new name