Package io.prestosql.operator.scalar
Class JsonToRowCast
- java.lang.Object
-
- io.prestosql.metadata.SqlScalarFunction
-
- io.prestosql.metadata.SqlOperator
-
- io.prestosql.operator.scalar.JsonToRowCast
-
- All Implemented Interfaces:
SqlFunction
public class JsonToRowCast extends SqlOperator
-
-
Field Summary
Fields Modifier and Type Field Description static JsonToRowCast
JSON_TO_ROW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScalarFunctionImplementation
specialize(FunctionBinding functionBinding)
static Block
toRow(RowType rowType, JsonUtil.BlockBuilderAppender rowAppender, ConnectorSession connectorSession, io.airlift.slice.Slice json)
-
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, getFunctionDependencies
-
-
-
-
Field Detail
-
JSON_TO_ROW
public static final JsonToRowCast JSON_TO_ROW
-
-
Method Detail
-
specialize
protected ScalarFunctionImplementation specialize(FunctionBinding functionBinding)
- Overrides:
specialize
in classSqlScalarFunction
-
toRow
public static Block toRow(RowType rowType, JsonUtil.BlockBuilderAppender rowAppender, ConnectorSession connectorSession, io.airlift.slice.Slice json)
-
-