Package org.apache.flink.api.common.functions
-
Interface Summary Interface Description BroadcastVariableInitializer<T,O> A broadcast variable initializer can be used to transform a broadcast variable into another format during initialization.CoGroupFunction<IN1,IN2,O> The interface for CoGroup functions.CombineFunction<IN,OUT> Generic interface used for combine functions ("combiners").CrossFunction<IN1,IN2,OUT> Interface for Cross functions.FilterFunction<T> A filter function is a predicate applied individually to each record.FlatJoinFunction<IN1,IN2,OUT> Interface for Join functions.FlatMapFunction<T,O> Base interface for flatMap functions.GroupCombineFunction<IN,OUT> Generic interface used for combine functions ("combiners").GroupReduceFunction<T,O> The interface for group reduce functions.IterationRuntimeContext A specialization of theRuntimeContextavailable in iterative computations of the DataSet API.JoinFunction<IN1,IN2,OUT> Interface for Join functions.MapFunction<T,O> Base interface for Map functions.MapPartitionFunction<T,O> Interface for "mapPartition" functions.OpenContext TheOpenContextinterface provides necessary information required by theRichFunctionwhen it is opened.Partitioner<K> Function to implement a custom partition assignment for keys.RichFunction An base interface for all rich user-defined functions.RuntimeContext A RuntimeContext contains information about the context in which functions are executed.SerializerFactory A factory forTypeSerializerimplementations. -
Class Summary Class Description AbstractRichFunction An abstract stub implementation for rich user-defined functions.DefaultOpenContext The default implementation ofOpenContext.RichAggregateFunction<IN,ACC,OUT> Rich variant of theAggregateFunction.RichCoGroupFunction<IN1,IN2,OUT> Rich variant of theCoGroupFunction.RichCrossFunction<IN1,IN2,OUT> Rich variant of theCrossFunction.RichFilterFunction<T> Rich variant of theFilterFunction.RichFlatJoinFunction<IN1,IN2,OUT> Rich variant of theFlatJoinFunction.RichFlatMapFunction<IN,OUT> Rich variant of theFlatMapFunction.RichGroupCombineFunction<IN,OUT> Rich variant of theGroupCombineFunction.RichGroupReduceFunction<IN,OUT> Rich variant of theGroupReduceFunction.RichJoinFunction<IN1,IN2,OUT> Rich variant of theJoinFunction.RichMapFunction<IN,OUT> Rich variant of theMapFunction.RichMapPartitionFunction<I,O> Rich variant of theMapPartitionFunction.RichReduceFunction<T> Rich variant of theReduceFunction. -
Exception Summary Exception Description InvalidTypesException A special case of theInvalidProgramException, indicating that the types used in an operation are invalid or inconsistent.