K
- Type of the keyT
- Type of the datapublic class CustomPartitionerWrapper<K,T> extends StreamPartitioner<T>
Constructor and Description |
---|
CustomPartitionerWrapper(Partitioner<K> partitioner,
org.apache.flink.api.java.functions.KeySelector<T,K> keySelector) |
Modifier and Type | Method and Description |
---|---|
StreamPartitioner<T> |
copy() |
int[] |
selectChannels(SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
String |
toString() |
public CustomPartitionerWrapper(Partitioner<K> partitioner, org.apache.flink.api.java.functions.KeySelector<T,K> keySelector)
public int[] selectChannels(SerializationDelegate<StreamRecord<T>> record, int numberOfOutputChannels)
public StreamPartitioner<T> copy()
copy
in class StreamPartitioner<T>
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.