T - Type of the Tuplepublic class FieldsPartitioner<T> extends StreamPartitioner<T>
StreamPartitioner.PartitioningStrategy| Constructor and Description |
|---|
FieldsPartitioner(org.apache.flink.api.java.functions.KeySelector<T,?> keySelector) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
selectChannels(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record,
int numberOfOutputChannels) |
copy, getStrategypublic FieldsPartitioner(org.apache.flink.api.java.functions.KeySelector<T,?> keySelector)
public int[] selectChannels(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record, int numberOfOutputChannels)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.