Class UnnestRowsFunction.CollectionUnnestTableFunction
java.lang.Object
org.apache.flink.table.functions.UserDefinedFunction
org.apache.flink.table.functions.TableFunction<T>
org.apache.flink.table.runtime.functions.table.BuiltInTableFunction<Object>
org.apache.flink.table.runtime.functions.table.UnnestRowsFunction.CollectionUnnestTableFunction
- All Implemented Interfaces:
Serializable,org.apache.flink.table.functions.FunctionDefinition
- Enclosing class:
- UnnestRowsFunction
public static final class UnnestRowsFunction.CollectionUnnestTableFunction
extends BuiltInTableFunction<Object>
Table function that unwraps the elements of a collection (array or multiset).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionUnnestTableFunction(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context, org.apache.flink.table.types.logical.LogicalType outputType, org.apache.flink.table.data.ArrayData.ElementGetter elementGetter) -
Method Summary
Methods inherited from class org.apache.flink.table.runtime.functions.table.BuiltInTableFunction
getArgumentDataTypes, getRequirements, getTypeInference, isDeterministicMethods inherited from class org.apache.flink.table.functions.TableFunction
collect, finish, getKind, getParameterTypes, getResultType, setCollectorMethods inherited from class org.apache.flink.table.functions.UserDefinedFunction
close, functionIdentifier, open, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.flink.table.functions.FunctionDefinition
supportsConstantFolding
-
Constructor Details
-
CollectionUnnestTableFunction
public CollectionUnnestTableFunction(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context, org.apache.flink.table.types.logical.LogicalType outputType, org.apache.flink.table.data.ArrayData.ElementGetter elementGetter)
-
-
Method Details
-
eval
public void eval(org.apache.flink.table.data.ArrayData arrayData) -
eval
public void eval(org.apache.flink.table.data.MapData mapData) -
getOutputDataType
public org.apache.flink.table.types.DataType getOutputDataType()- Overrides:
getOutputDataTypein classBuiltInTableFunction<Object>
-