@Internal public abstract class StreamPartitioner<T> extends Object implements org.apache.flink.runtime.io.network.api.writer.ChannelSelector<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>>>, Serializable
ChannelSelector
for use in streaming programs.限定符和类型 | 字段和说明 |
---|---|
protected int |
numberOfChannels |
构造器和说明 |
---|
StreamPartitioner() |
限定符和类型 | 方法和说明 |
---|---|
abstract StreamPartitioner<T> |
copy() |
boolean |
equals(Object o) |
abstract org.apache.flink.runtime.io.network.api.writer.SubtaskStateMapper |
getDownstreamSubtaskStateMapper()
Defines the behavior of this partitioner, when downstream rescaled during recovery of
in-flight data.
|
org.apache.flink.runtime.io.network.api.writer.SubtaskStateMapper |
getUpstreamSubtaskStateMapper()
Defines the behavior of this partitioner, when upstream rescaled during recovery of in-flight
data.
|
int |
hashCode() |
boolean |
isBroadcast() |
void |
setup(int numberOfChannels) |
public void setup(int numberOfChannels)
setup
在接口中 org.apache.flink.runtime.io.network.api.writer.ChannelSelector<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>>>
public boolean isBroadcast()
isBroadcast
在接口中 org.apache.flink.runtime.io.network.api.writer.ChannelSelector<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>>>
public abstract StreamPartitioner<T> copy()
public org.apache.flink.runtime.io.network.api.writer.SubtaskStateMapper getUpstreamSubtaskStateMapper()
public abstract org.apache.flink.runtime.io.network.api.writer.SubtaskStateMapper getDownstreamSubtaskStateMapper()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.