public class SubscriptFunction extends Scalar<java.lang.Object,java.lang.Object[]> implements DynamicFunctionResolver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
SubscriptFunction(FunctionInfo info) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(Input[] args) |
FunctionImplementation<Function> |
getForTypes(java.util.List<DataType> dataTypes)
returns the function implementation for the given types.
|
FunctionInfo |
info() |
Symbol |
normalizeSymbol(Function symbol) |
static void |
register(ScalarFunctionModule module) |
anyNonLiterals, compile, containsNullLiteral, evaluateIfLiterals, hasNullInputs
public static final java.lang.String NAME
public SubscriptFunction(FunctionInfo info)
public static void register(ScalarFunctionModule module)
public FunctionInfo info()
info
in interface FunctionImplementation<Function>
public Symbol normalizeSymbol(Function symbol)
normalizeSymbol
in interface FunctionImplementation<Function>
public java.lang.Object evaluate(Input[] args)
public FunctionImplementation<Function> getForTypes(java.util.List<DataType> dataTypes) throws java.lang.IllegalArgumentException
DynamicFunctionResolver
getForTypes
in interface DynamicFunctionResolver
java.lang.IllegalArgumentException
- thrown if there is no function that can handle the given types.