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
@Internal public class UnnestRowsFunction extends BuiltInSpecializedFunction
Flattens ARRAY, MAP, and MULTISET using a table function. It does this by another level of specialization using a subclass ofUnnestRowsFunction.UnnestTableFunctionBase.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnnestRowsFunction.CollectionUnnestTableFunctionTable function that unwraps the elements of a collection (array or multiset).static classUnnestRowsFunction.MapUnnestTableFunctionTable 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 Constructor Description UnnestRowsFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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, isDeterministic
-
-
-
-
Method Detail
-
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)
-
-