Package io.trino.operator.scalar
Class MapToMapCast
java.lang.Object
io.trino.metadata.SqlScalarFunction
io.trino.metadata.SqlOperator
io.trino.operator.scalar.MapToMapCast
- All Implemented Interfaces:
SqlFunction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockcheckBlockIsNotNull(Block value) static booleancheckBooleanIsNotNull(Boolean value) static doublecheckDoubleIsNotNull(Double value) static longcheckLongIsNotNull(Long value) static io.airlift.slice.SlicecheckSliceIsNotNull(io.airlift.slice.Slice value) static BlockmapCast(MethodHandle keyProcessFunction, MethodHandle valueProcessFunction, Type targetType, BlockTypeOperators.BlockPositionEqual keyEqual, BlockTypeOperators.BlockPositionHashCode keyHashCode, ConnectorSession session, Block fromMap) 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
-
Constructor Details
-
MapToMapCast
-
-
Method Details
-
getFunctionDependencies
-
specialize
public ScalarFunctionImplementation specialize(BoundSignature boundSignature, FunctionDependencies functionDependencies) - Overrides:
specializein classSqlScalarFunction
-
checkLongIsNotNull
-
checkDoubleIsNotNull
-
checkBooleanIsNotNull
-
checkSliceIsNotNull
public static io.airlift.slice.Slice checkSliceIsNotNull(io.airlift.slice.Slice value) -
checkBlockIsNotNull
-
mapCast
public static Block mapCast(MethodHandle keyProcessFunction, MethodHandle valueProcessFunction, Type targetType, BlockTypeOperators.BlockPositionEqual keyEqual, BlockTypeOperators.BlockPositionHashCode keyHashCode, ConnectorSession session, Block fromMap)
-