T - Type of the elements in the Stream being rebalanced@Internal public class RebalancePartitioner<T> extends StreamPartitioner<T>
numberOfChannels| 构造器和说明 |
|---|
RebalancePartitioner() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 org.apache.flink.runtime.io.network.api.writer.ChannelSelector<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>>>setup 在类中 StreamPartitioner<T>public int selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)
public StreamPartitioner<T> copy()
copy 在类中 StreamPartitioner<T>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.