Class UnnestRowsFunction.MapUnnestTableFunction
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.MapUnnestTableFunction
- All Implemented Interfaces:
Serializable,org.apache.flink.table.functions.FunctionDefinition
- Enclosing class:
- UnnestRowsFunction
public static final class UnnestRowsFunction.MapUnnestTableFunction
extends BuiltInTableFunction<Object>
Table function that unwraps the elements of a map.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMapUnnestTableFunction(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context, org.apache.flink.table.types.logical.LogicalType outputType, org.apache.flink.table.data.ArrayData.ElementGetter keyGetter, org.apache.flink.table.data.ArrayData.ElementGetter valueGetter) -
Method Summary
Modifier and TypeMethodDescriptionvoideval(org.apache.flink.table.data.MapData mapData) org.apache.flink.table.types.DataTypeMethods 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
-
MapUnnestTableFunction
public MapUnnestTableFunction(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context, org.apache.flink.table.types.logical.LogicalType outputType, org.apache.flink.table.data.ArrayData.ElementGetter keyGetter, org.apache.flink.table.data.ArrayData.ElementGetter valueGetter)
-
-
Method Details
-
eval
public void eval(org.apache.flink.table.data.MapData mapData) -
getOutputDataType
public org.apache.flink.table.types.DataType getOutputDataType()- Overrides:
getOutputDataTypein classBuiltInTableFunction<Object>
-