Class RangeBoundaryBuilder<T>
- java.lang.Object
-
- org.apache.flink.api.common.functions.AbstractRichFunction
-
- org.apache.flink.api.common.functions.RichMapPartitionFunction<T,Object[][]>
-
- org.apache.flink.runtime.operators.udf.RangeBoundaryBuilder<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
Serializable
,org.apache.flink.api.common.functions.Function
,org.apache.flink.api.common.functions.MapPartitionFunction<T,Object[][]>
,org.apache.flink.api.common.functions.RichFunction
public class RangeBoundaryBuilder<T> extends org.apache.flink.api.common.functions.RichMapPartitionFunction<T,Object[][]>
Build RangeBoundaries with input records. First, sort the input records, and then select the boundaries with same interval.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RangeBoundaryBuilder(org.apache.flink.api.common.typeutils.TypeComparatorFactory<T> comparator, int parallelism)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mapPartition(Iterable<T> values, org.apache.flink.util.Collector<Object[][]> out)
-