Package org.apache.flink.python.legacy
Class IdPartitioner
java.lang.Object
org.apache.flink.python.legacy.IdPartitioner
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.functions.Function,org.apache.flink.api.common.functions.Partitioner<Integer>
@Internal
public class IdPartitioner
extends Object
implements org.apache.flink.api.common.functions.Partitioner<Integer>
Partitioner that partitions by id.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IdPartitioner
public IdPartitioner()
-
-
Method Details
-
partition
- Specified by:
partitionin interfaceorg.apache.flink.api.common.functions.Partitioner<Integer>
-