Package io.prestosql.sql
Class InterpretedFunctionInvoker
- java.lang.Object
-
- io.prestosql.sql.InterpretedFunctionInvoker
-
public class InterpretedFunctionInvoker extends Object
-
-
Constructor Summary
Constructors Constructor Description InterpretedFunctionInvoker(Metadata metadata)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Object
invoke(FunctionMetadata functionMetadata, FunctionInvoker invoker, ConnectorSession session, List<Object> arguments)
Object
invoke(ResolvedFunction function, ConnectorSession session, Object... arguments)
Object
invoke(ResolvedFunction function, ConnectorSession session, List<Object> arguments)
Arguments must be the native container type for the corresponding SQL types.
-
-
-
Constructor Detail
-
InterpretedFunctionInvoker
public InterpretedFunctionInvoker(Metadata metadata)
-
-
Method Detail
-
invoke
public Object invoke(ResolvedFunction function, ConnectorSession session, Object... arguments)
-
invoke
public Object invoke(ResolvedFunction function, ConnectorSession session, List<Object> arguments)
Arguments must be the native container type for the corresponding SQL types.Returns a value in the native container type corresponding to the declared SQL return type
-
invoke
public static Object invoke(FunctionMetadata functionMetadata, FunctionInvoker invoker, ConnectorSession session, List<Object> arguments)
-
-