public static class IntegrationTestBulkLoad.NaturalKeyPartitioner extends org.apache.hadoop.mapreduce.Partitioner<IntegrationTestBulkLoad.LinkKey,IntegrationTestBulkLoad.LinkChain>
Constructor and Description |
---|
NaturalKeyPartitioner() |
Modifier and Type | Method and Description |
---|---|
int |
getPartition(IntegrationTestBulkLoad.LinkKey linkKey,
IntegrationTestBulkLoad.LinkChain linkChain,
int numPartitions) |
public NaturalKeyPartitioner()
public int getPartition(IntegrationTestBulkLoad.LinkKey linkKey, IntegrationTestBulkLoad.LinkChain linkChain, int numPartitions)
getPartition
in class org.apache.hadoop.mapreduce.Partitioner<IntegrationTestBulkLoad.LinkKey,IntegrationTestBulkLoad.LinkChain>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.