public static interface SpecializedFunction.ExpressionEvaluator extends Serializable
UserDefinedFunction for evaluating
previously defined expression during runtime.| 限定符和类型 | 方法和说明 |
|---|---|
default void |
close()
Closes the runtime implementation for expression evaluation.
|
MethodHandle |
open(FunctionContext context)
Creates and initializes runtime implementation for expression evaluation.
|
MethodHandle open(FunctionContext context)
MethodHandle should be stored in a transient variable and can be invoked via
MethodHandle.invokeExact(Object...) using the conversion classes previously
defined via the passed DataTypes.
This method should be called in UserDefinedFunction.open(FunctionContext).
default void close()
This method should be called in UserDefinedFunction.close().
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.