Uses of Interface
org.apache.flink.api.common.functions.Function
-
-
Uses of Function in org.apache.flink.api.common.functions
Subinterfaces of Function in org.apache.flink.api.common.functions Modifier and Type Interface Description interfaceAggregateFunction<IN,ACC,OUT>TheAggregateFunctionis a flexible aggregation function, characterized by the following features: The aggregates may use different types for input values, intermediate aggregates, and result type, to support a wide range of aggregation types.interfaceCoGroupFunction<IN1,IN2,O>The interface for CoGroup functions.interfaceCombineFunction<IN,OUT>Generic interface used for combine functions ("combiners").interfaceCrossFunction<IN1,IN2,OUT>Interface for Cross functions.interfaceFilterFunction<T>A filter function is a predicate applied individually to each record.interfaceFlatJoinFunction<IN1,IN2,OUT>Interface for Join functions.interfaceFlatMapFunction<T,O>Base interface for flatMap functions.interfaceGroupCombineFunction<IN,OUT>Generic interface used for combine functions ("combiners").interfaceGroupReduceFunction<T,O>The interface for group reduce functions.interfaceJoinFunction<IN1,IN2,OUT>Interface for Join functions.interfaceMapFunction<T,O>Base interface for Map functions.interfaceMapPartitionFunction<T,O>Interface for "mapPartition" functions.interfacePartitioner<K>Function to implement a custom partition assignment for keys.interfaceReduceFunction<T>Base interface for Reduce functions.interfaceRichFunctionAn base interface for all rich user-defined functions.Classes in org.apache.flink.api.common.functions that implement Function Modifier and Type Class Description classAbstractRichFunctionAn abstract stub implementation for rich user-defined functions.classRichAggregateFunction<IN,ACC,OUT>Rich variant of theAggregateFunction.classRichCoGroupFunction<IN1,IN2,OUT>Rich variant of theCoGroupFunction.classRichCrossFunction<IN1,IN2,OUT>Rich variant of theCrossFunction.classRichFilterFunction<T>Rich variant of theFilterFunction.classRichFlatJoinFunction<IN1,IN2,OUT>Rich variant of theFlatJoinFunction.classRichFlatMapFunction<IN,OUT>Rich variant of theFlatMapFunction.classRichGroupCombineFunction<IN,OUT>Rich variant of theGroupCombineFunction.classRichGroupReduceFunction<IN,OUT>Rich variant of theGroupReduceFunction.classRichJoinFunction<IN1,IN2,OUT>Rich variant of theJoinFunction.classRichMapFunction<IN,OUT>Rich variant of theMapFunction.classRichMapPartitionFunction<I,O>Rich variant of theMapPartitionFunction.classRichReduceFunction<T>Rich variant of theReduceFunction. -
Uses of Function in org.apache.flink.api.common.functions.util
Classes in org.apache.flink.api.common.functions.util that implement Function Modifier and Type Class Description classNoOpFunctionAnAbstractRichFunctionthat does nothing.Methods in org.apache.flink.api.common.functions.util with parameters of type Function Modifier and Type Method Description static voidFunctionUtils. closeFunction(Function function)static RuntimeContextFunctionUtils. getFunctionRuntimeContext(Function function, RuntimeContext defaultContext)static voidFunctionUtils. openFunction(Function function, OpenContext openContext)static voidFunctionUtils. setFunctionRuntimeContext(Function function, RuntimeContext context) -
Uses of Function in org.apache.flink.api.common.operators
Classes in org.apache.flink.api.common.operators with type parameters of type Function Modifier and Type Class Description classAbstractUdfOperator<OUT,FT extends Function>Abstract superclass for all contracts that represent actual operators.classDualInputOperator<IN1,IN2,OUT,FT extends Function>Abstract operator superclass for all operators that have two inputs, like "Join", "CoGroup", or "Cross".classSingleInputOperator<IN,OUT,FT extends Function>Abstract superclass for all operators that have one input like "map" or "reduce". -
Uses of Function in org.apache.flink.api.common.operators.base
Classes in org.apache.flink.api.common.operators.base that implement Function Modifier and Type Class Description static classBulkIterationBase.TerminationCriterionMapper<X>Special Mapper that is added before a termination criterion and is only a container for an special aggregator -
Uses of Function in org.apache.flink.api.java.functions
Subinterfaces of Function in org.apache.flink.api.java.functions Modifier and Type Interface Description interfaceKeySelector<IN,KEY>TheKeySelectorallows to use deterministic objects for operations such as reduce, reduceGroup, join, coGroup, etc.Classes in org.apache.flink.api.java.functions that implement Function Modifier and Type Class Description classNullByteKeySelector<T>Used as a dummyKeySelectorto allow using keyed operators for non-keyed use cases. -
Uses of Function in org.apache.flink.api.java.typeutils
Methods in org.apache.flink.api.java.typeutils with parameters of type Function Modifier and Type Method Description static TypeExtractionUtils.LambdaExecutableTypeExtractionUtils. checkAndExtractLambda(Function function)Checks if the given function has been implemented using a Java 8 lambda.static <IN1,IN2,OUT>
TypeInformation<OUT>TypeExtractor. getBinaryOperatorReturnType(Function function, Class<?> baseClass, int input1TypeArgumentIndex, int input2TypeArgumentIndex, int outputTypeArgumentIndex, int[] lambdaOutputTypeArgumentIndices, TypeInformation<IN1> in1Type, TypeInformation<IN2> in2Type, String functionName, boolean allowMissing)Returns the binary operator's return type.static <IN,OUT>
TypeInformation<OUT>TypeExtractor. getUnaryOperatorReturnType(Function function, Class<?> baseClass, int inputTypeArgumentIndex, int outputTypeArgumentIndex, int[] lambdaOutputTypeArgumentIndices, TypeInformation<IN> inType, String functionName, boolean allowMissing)Returns the unary operator's return type.
-