Package io.trino.operator.scalar
Class MapConstructor
java.lang.Object
io.trino.metadata.SqlScalarFunction
io.trino.operator.scalar.MapConstructor
- All Implemented Interfaces:
SqlFunction
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SqlMapcreateMap(MapType mapType, MethodHandle keyIndeterminate, MapConstructor.State state, ConnectorSession session, Block keyBlock, Block valueBlock) specialize(BoundSignature boundSignature, FunctionDependencies functionDependencies) Methods inherited from class io.trino.metadata.SqlScalarFunction
getFunctionMetadata, specializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.metadata.SqlFunction
getFunctionDependencies
-
Field Details
-
MAP_CONSTRUCTOR
-
-
Constructor Details
-
MapConstructor
public MapConstructor()
-
-
Method Details
-
getFunctionDependencies
-
specialize
public SpecializedSqlScalarFunction specialize(BoundSignature boundSignature, FunctionDependencies functionDependencies) - Overrides:
specializein classSqlScalarFunction
-
createMap
public static SqlMap createMap(MapType mapType, MethodHandle keyIndeterminate, MapConstructor.State state, ConnectorSession session, Block keyBlock, Block valueBlock)
-