K - Type of the keyT - Type of the data@Internal public class CustomPartitionerWrapper<K,T> extends StreamPartitioner<T>
numberOfChannels| 构造器和说明 |
|---|
CustomPartitionerWrapper(org.apache.flink.api.common.functions.Partitioner<K> partitioner,
org.apache.flink.api.java.functions.KeySelector<T,K> keySelector) |
| 限定符和类型 | 方法和说明 |
|---|---|
StreamPartitioner<T> |
copy() |
boolean |
equals(Object o) |
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.
|
int |
hashCode() |
boolean |
isPointwise() |
int |
selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record) |
String |
toString() |
getUpstreamSubtaskStateMapper, isBroadcast, setuppublic int selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)
public org.apache.flink.runtime.io.network.api.writer.SubtaskStateMapper getDownstreamSubtaskStateMapper()
StreamPartitionerpublic StreamPartitioner<T> copy()
copy 在类中 StreamPartitioner<T>public boolean equals(Object o)
equals 在类中 StreamPartitioner<T>public int hashCode()
hashCode 在类中 StreamPartitioner<T>public boolean isPointwise()
isPointwise 在类中 StreamPartitioner<T>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.