Package io.prestosql.operator.scalar
Class MapElementAtFunction
- java.lang.Object
-
- io.prestosql.metadata.SqlScalarFunction
-
- io.prestosql.operator.scalar.MapElementAtFunction
-
- All Implemented Interfaces:
SqlFunction
public class MapElementAtFunction extends SqlScalarFunction
-
-
Field Summary
Fields Modifier and Type Field Description static MapElementAtFunction
MAP_ELEMENT_AT
-
Constructor Summary
Constructors Modifier Constructor Description protected
MapElementAtFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Object
elementAt(MethodHandle keyEqualsMethod, Type keyType, Type valueType, Block map, boolean key)
static Object
elementAt(MethodHandle keyEqualsMethod, Type keyType, Type valueType, Block map, double key)
static Object
elementAt(MethodHandle keyEqualsMethod, Type keyType, Type valueType, Block map, long key)
static Object
elementAt(MethodHandle keyEqualsMethod, Type keyType, Type valueType, Block map, Object key)
FunctionDependencyDeclaration
getFunctionDependencies()
ScalarFunctionImplementation
specialize(FunctionBinding functionBinding, FunctionDependencies functionDependencies)
-
Methods inherited from class io.prestosql.metadata.SqlScalarFunction
getFunctionMetadata, specialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.prestosql.metadata.SqlFunction
getFunctionDependencies
-
-
-
-
Field Detail
-
MAP_ELEMENT_AT
public static final MapElementAtFunction MAP_ELEMENT_AT
-
-
Method Detail
-
getFunctionDependencies
public FunctionDependencyDeclaration getFunctionDependencies()
-
specialize
public ScalarFunctionImplementation specialize(FunctionBinding functionBinding, FunctionDependencies functionDependencies)
- Overrides:
specialize
in classSqlScalarFunction
-
elementAt
public static Object elementAt(MethodHandle keyEqualsMethod, Type keyType, Type valueType, Block map, boolean key)
-
elementAt
public static Object elementAt(MethodHandle keyEqualsMethod, Type keyType, Type valueType, Block map, long key)
-
elementAt
public static Object elementAt(MethodHandle keyEqualsMethod, Type keyType, Type valueType, Block map, double key)
-
-