T
- Type of the elements in the Stream being broadcast@Internal public class BroadcastPartitioner<T> extends StreamPartitioner<T>
numberOfChannels
构造器和说明 |
---|
BroadcastPartitioner() |
限定符和类型 | 方法和说明 |
---|---|
StreamPartitioner<T> |
copy() |
boolean |
isBroadcast() |
int |
selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)
Note: Broadcast mode could be handled directly for all the output channels
in record writer, so it is no need to select channels via this method.
|
String |
toString() |
setup
public int selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)
public boolean isBroadcast()
isBroadcast
在接口中 org.apache.flink.runtime.io.network.api.writer.ChannelSelector<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>>>
isBroadcast
在类中 StreamPartitioner<T>
public StreamPartitioner<T> copy()
copy
在类中 StreamPartitioner<T>
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.