Package io.trino.operator.scalar
Class JsonToMapCast
java.lang.Object
io.trino.metadata.SqlScalarFunction
io.trino.operator.scalar.JsonToMapCast
- All Implemented Interfaces:
SqlFunction
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected SpecializedSqlScalarFunctionspecialize(BoundSignature boundSignature) static SqlMaptoMap(MapType mapType, JsonUtil.BlockBuilderAppender mapAppender, ConnectorSession connectorSession, io.airlift.slice.Slice json) 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, getFunctionDependencies
-
Field Details
-
JSON_TO_MAP
-
-
Method Details
-
specialize
- Overrides:
specializein classSqlScalarFunction
-
toMap
public static SqlMap toMap(MapType mapType, JsonUtil.BlockBuilderAppender mapAppender, ConnectorSession connectorSession, io.airlift.slice.Slice json)
-