@PublicEvolving public static interface SpecializedFunction.ExpressionEvaluator extends Serializable
UserDefinedFunction
for evaluating
previously defined expression during runtime.Modifier and Type | Method and Description |
---|---|
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 DataType
s.
This method should be called in UserDefinedFunction.open(FunctionContext)
.
default void close()
This method should be called in UserDefinedFunction.close()
.
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.