Class JsonArray

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

    public class JsonArray
    extends org.apache.flink.table.functions.ScalarFunction
    Creates a JSON array from the list of JSON objects and scalar values.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonArray()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.datasqrl.json.FlinkJsonType eval​(Object... objects)  
      org.apache.flink.table.types.inference.TypeInference getTypeInference​(org.apache.flink.table.catalog.DataTypeFactory typeFactory)  
      • Methods inherited from class org.apache.flink.table.functions.ScalarFunction

        getKind, getParameterTypes, getResultType
      • 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

      • JsonArray

        public JsonArray()
    • Method Detail

      • eval

        public com.datasqrl.json.FlinkJsonType eval​(Object... objects)
      • getTypeInference

        public org.apache.flink.table.types.inference.TypeInference getTypeInference​(org.apache.flink.table.catalog.DataTypeFactory typeFactory)
        Specified by:
        getTypeInference in interface org.apache.flink.table.functions.FunctionDefinition
        Overrides:
        getTypeInference in class org.apache.flink.table.functions.ScalarFunction