Class KeyGroupRangePartitioner

  • All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.api.common.functions.Partitioner<Integer>

    @Internal
    @Deprecated
    public class KeyGroupRangePartitioner
    extends Object
    implements org.apache.flink.api.common.functions.Partitioner<Integer>
    Deprecated.
    A partitioner that selects the target channel based on the key group index.
    See Also:
    Serialized Form
    • Constructor Detail

      • KeyGroupRangePartitioner

        public KeyGroupRangePartitioner​(int maxParallelism)
        Deprecated.
    • Method Detail

      • partition

        public int partition​(Integer key,
                             int numPartitions)
        Deprecated.
        Specified by:
        partition in interface org.apache.flink.api.common.functions.Partitioner<Integer>