Class UnnestRowsFunction
java.lang.Object
org.apache.flink.table.runtime.functions.BuiltInSpecializedFunction
org.apache.flink.table.runtime.functions.table.UnnestRowsFunction
- All Implemented Interfaces:
org.apache.flink.table.functions.FunctionDefinition,org.apache.flink.table.functions.SpecializedFunction
Flattens ARRAY, MAP, and MULTISET using a table function. It does this by another level of
specialization using a subclass of
UnnestRowsFunction.UnnestTableFunctionBase.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTable function that unwraps the elements of a collection (array or multiset).static final classTable function that unwraps the elements of a map.Nested classes/interfaces inherited from interface org.apache.flink.table.functions.SpecializedFunction
org.apache.flink.table.functions.SpecializedFunction.ExpressionEvaluator, org.apache.flink.table.functions.SpecializedFunction.ExpressionEvaluatorFactory, org.apache.flink.table.functions.SpecializedFunction.SpecializedContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.flink.table.types.logical.LogicalTypegetUnnestedType(org.apache.flink.table.types.logical.LogicalType logicalType) org.apache.flink.table.functions.UserDefinedFunctionspecialize(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context) Methods inherited from class org.apache.flink.table.runtime.functions.BuiltInSpecializedFunction
getKind, getRequirements, getTypeInference, isDeterministicMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.functions.FunctionDefinition
supportsConstantFolding
-
Constructor Details
-
UnnestRowsFunction
public UnnestRowsFunction()
-
-
Method Details
-
specialize
public org.apache.flink.table.functions.UserDefinedFunction specialize(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context) -
getUnnestedType
public static org.apache.flink.table.types.logical.LogicalType getUnnestedType(org.apache.flink.table.types.logical.LogicalType logicalType)
-