Package com.datasqrl.json
Class JsonArray
- java.lang.Object
-
- org.apache.flink.table.functions.UserDefinedFunction
-
- org.apache.flink.table.functions.ScalarFunction
-
- com.datasqrl.json.JsonArray
-
- All Implemented Interfaces:
Serializable,org.apache.flink.table.functions.FunctionDefinition
public class JsonArray extends org.apache.flink.table.functions.ScalarFunctionCreates 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.FlinkJsonTypeeval(Object... objects)org.apache.flink.table.types.inference.TypeInferencegetTypeInference(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
-
-
-
-
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:
getTypeInferencein interfaceorg.apache.flink.table.functions.FunctionDefinition- Overrides:
getTypeInferencein classorg.apache.flink.table.functions.ScalarFunction
-
-