Class MapFromArraysFunction

java.lang.Object
org.apache.flink.table.functions.UserDefinedFunction
org.apache.flink.table.functions.ScalarFunction
org.apache.flink.table.runtime.functions.scalar.BuiltInScalarFunction
org.apache.flink.table.runtime.functions.scalar.MapFromArraysFunction
All Implemented Interfaces:
Serializable, org.apache.flink.table.functions.FunctionDefinition

@Internal public class MapFromArraysFunction extends BuiltInScalarFunction
Implementation of BuiltInFunctionDefinitions.MAP_FROM_ARRAYS.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    MapFromArraysFunction(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.table.data.MapData
    eval(org.apache.flink.table.data.ArrayData keysArray, org.apache.flink.table.data.ArrayData valuesArray)
     

    Methods inherited from class org.apache.flink.table.runtime.functions.scalar.BuiltInScalarFunction

    getArgumentDataTypes, getOutputDataType, getRequirements, getTypeInference, isDeterministic

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.flink.table.functions.FunctionDefinition

    supportsConstantFolding
  • Constructor Details

    • MapFromArraysFunction

      public MapFromArraysFunction(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context)
  • Method Details

    • eval

      @Nullable public org.apache.flink.table.data.MapData eval(@Nullable org.apache.flink.table.data.ArrayData keysArray, @Nullable org.apache.flink.table.data.ArrayData valuesArray)