public interface FunctionContext
FunctionTyper associated with the function
to provide information necessary for performing
type checks.| Modifier and Type | Method and Description |
|---|---|
Object |
getArgument(int i)
Gets the specified argument.
|
int |
getArgumentCount()
Gets the number of arguments passed to the function.
|
ScalarTokenType |
getArgumentType(int i)
Gets the datatype of the specified argument.
|
String |
getLabel()
Gets the name of the function being evaluated.
|
String getLabel()
int getArgumentCount()
ScalarTokenType getArgumentType(int i)
In the context passed to FunctionTyper.computeUpperBound(FunctionContext),
the returned type is the upper bound on the argument's type.
In the context passed to FunctionTyper.computeResultType(FunctionContext),
the returned type is the actual type of the argument.
i - the index of the argument for which to get the typeScalarValuedFunction, null is returned.Object getArgument(int i)
i - the index of the argument to getCopyright © 2021 Actian Corporation. All rights reserved.