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:
-
Constructor Summary
ConstructorsConstructorDescriptionRangeBoundaryBuilder(org.apache.flink.api.common.typeutils.TypeComparatorFactory<T> comparator, int parallelism) -
Method Summary
Modifier and TypeMethodDescriptionvoidmapPartition(Iterable<T> values, org.apache.flink.util.Collector<Object[][]> out) Methods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContext
-
Constructor Details
-
RangeBoundaryBuilder
public RangeBoundaryBuilder(org.apache.flink.api.common.typeutils.TypeComparatorFactory<T> comparator, int parallelism)
-
-
Method Details
-
mapPartition
-