Package io.trino.operator.scalar
Class MapToMapCast
java.lang.Object
io.trino.metadata.SqlScalarFunction
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 SqlMapmapCast(MethodHandle keyProcessFunction, MethodHandle valueProcessFunction, MapType toType, BlockTypeOperators.BlockPositionIsDistinctFrom keyDistinctOperator, BlockTypeOperators.BlockPositionHashCode keyHashCode, ConnectorSession session, SqlMap 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 SpecializedSqlScalarFunction 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 SqlMap mapCast(MethodHandle keyProcessFunction, MethodHandle valueProcessFunction, MapType toType, BlockTypeOperators.BlockPositionIsDistinctFrom keyDistinctOperator, BlockTypeOperators.BlockPositionHashCode keyHashCode, ConnectorSession session, SqlMap fromMap)
-