public static class CartesianProduct.CustomPartitioner extends Object implements Partitioner
| Constructor and Description |
|---|
CustomPartitioner() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPartition(Object key,
Object value,
int numPartitions) |
public int getPartition(Object key, Object value, int numPartitions)
getPartition in interface PartitionerCopyright © 2022 Apache Software Foundation. All rights reserved.