T - Type of the elements in the Stream being rebalanced@Internal public class RebalancePartitioner<T> extends StreamPartitioner<T>
numberOfChannels| Constructor and Description |
|---|
RebalancePartitioner() |
| Modifier and Type | Method and Description |
|---|---|
StreamPartitioner<T> |
copy() |
int |
selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record) |
void |
setup(int numberOfChannels) |
String |
toString() |
isBroadcastpublic void setup(int numberOfChannels)
setup in interface org.apache.flink.runtime.io.network.api.writer.ChannelSelector<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>>>setup in class StreamPartitioner<T>public int selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)
public StreamPartitioner<T> copy()
copy in class StreamPartitioner<T>Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.