K
- Type of the keyT
- Type of the data@Internal public class CustomPartitionerWrapper<K,T> extends StreamPartitioner<T>
numberOfChannels
Constructor and Description |
---|
CustomPartitionerWrapper(org.apache.flink.api.common.functions.Partitioner<K> partitioner,
org.apache.flink.api.java.functions.KeySelector<T,K> keySelector) |
Modifier and Type | Method and Description |
---|---|
StreamPartitioner<T> |
copy() |
int |
selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record) |
String |
toString() |
isBroadcast, setup
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.