Class JsonQuery

  • All Implemented Interfaces:
    Serializable, org.apache.flink.table.functions.FunctionDefinition

    public class JsonQuery
    extends org.apache.flink.table.functions.ScalarFunction
    For a given JSON object, executes a JSON path query against the object and returns the result as string.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonQuery()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String eval​(com.datasqrl.json.FlinkJsonType input, String pathSpec)  
      • Methods inherited from class org.apache.flink.table.functions.ScalarFunction

        getKind, getParameterTypes, getResultType, getTypeInference
      • Methods inherited from class org.apache.flink.table.functions.UserDefinedFunction

        close, functionIdentifier, open, toString
      • Methods inherited from interface org.apache.flink.table.functions.FunctionDefinition

        getRequirements, isDeterministic
    • Constructor Detail

      • JsonQuery

        public JsonQuery()
    • Method Detail

      • eval

        public String eval​(com.datasqrl.json.FlinkJsonType input,
                           String pathSpec)