Package io.trino.operator.scalar.json
Class JsonQueryFunction
java.lang.Object
io.trino.metadata.SqlScalarFunction
io.trino.operator.scalar.json.JsonQueryFunction
- All Implemented Interfaces:
SqlFunction
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJsonQueryFunction(FunctionManager functionManager, Metadata metadata, TypeManager typeManager) -
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.JsonNodejsonQuery(FunctionManager functionManager, Metadata metadata, TypeManager typeManager, Type parametersRowType, JsonPathInvocationContext invocationContext, ConnectorSession session, com.fasterxml.jackson.databind.JsonNode inputExpression, IrJsonPath jsonPath, SqlRow parametersRow, long wrapperBehavior, long emptyBehavior, long errorBehavior) protected SpecializedSqlScalarFunctionspecialize(BoundSignature boundSignature) 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_QUERY_FUNCTION_NAME
- See Also:
-
-
Constructor Details
-
JsonQueryFunction
public JsonQueryFunction(FunctionManager functionManager, Metadata metadata, TypeManager typeManager)
-
-
Method Details
-
specialize
- Overrides:
specializein classSqlScalarFunction
-
jsonQuery
public static com.fasterxml.jackson.databind.JsonNode jsonQuery(FunctionManager functionManager, Metadata metadata, TypeManager typeManager, Type parametersRowType, JsonPathInvocationContext invocationContext, ConnectorSession session, com.fasterxml.jackson.databind.JsonNode inputExpression, IrJsonPath jsonPath, SqlRow parametersRow, long wrapperBehavior, long emptyBehavior, long errorBehavior)
-