Class BatchKeySelector
java.lang.Object
com.here.platform.data.client.flink.impl.BatchKeySelector
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.functions.Function,org.apache.flink.api.java.functions.KeySelector<com.here.platform.data.client.scaladsl.CommitPartition,Object>
public class BatchKeySelector
extends Object
implements org.apache.flink.api.java.functions.KeySelector<com.here.platform.data.client.scaladsl.CommitPartition,Object>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetKey(com.here.platform.data.client.scaladsl.CommitPartition partition)
-
Constructor Details
-
BatchKeySelector
public BatchKeySelector(int numOfParallelBatches)
-
-
Method Details
-
getKey
public int getKey(com.here.platform.data.client.scaladsl.CommitPartition partition) - Specified by:
getKeyin interfaceorg.apache.flink.api.java.functions.KeySelector<com.here.platform.data.client.scaladsl.CommitPartition,Object>
-