Package org.apache.flink.streaming.runtime.partitioner
package org.apache.flink.streaming.runtime.partitioner
-
ClassDescriptionPartitioner that selects all the output channels.Interface for
StreamPartitionerwhich have to be configured with the maximum parallelism of the stream transformation.Partitioner that selects the channel with a user defined partitioner function on a key.If there are multiple consecutive and the same hash shuffles, SQL planner will change them except the first one to use forward partitioner, so that these operators can be chained to reduce unnecessary shuffles.When the parallelism of both upstream and downstream isExecutionConfig.PARALLELISM_DEFAULTand the edge's partitioner is not specified (partitioner==null), the edge's partitioner will be set to FORWARD by default(SeeStreamGraph.createActualEdge(java.lang.Integer, java.lang.Integer, int, org.apache.flink.streaming.runtime.partitioner.StreamPartitioner<?>, org.apache.flink.util.OutputTag, org.apache.flink.streaming.api.transformations.StreamExchangeMode, org.apache.flink.runtime.jobgraph.IntermediateDataSetID)method for details).Partitioner that forwards elements only to the locally running downstream operation.Partitioner that sends all elements to the downstream operator with subtask ID=0.Partitioner selects the target channel based on the key group index.Partitioner that distributes the data equally by cycling through the output channels.Partitioner that distributes the data equally by cycling through the output channels.Partitioner that distributes the data equally by selecting one output channel randomly.A specialChannelSelectorfor use in streaming programs.