public static class TripleIndexes.FirstTwoIndexesPartitioner extends Object implements org.apache.hadoop.mapred.Partitioner<TripleIndexes,TaggedMatrixValue>
| Constructor and Description |
|---|
FirstTwoIndexesPartitioner() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.hadoop.mapred.JobConf arg0) |
int |
getPartition(TripleIndexes key,
TaggedMatrixValue value,
int numPartitions) |
public int getPartition(TripleIndexes key, TaggedMatrixValue value, int numPartitions)
getPartition in interface org.apache.hadoop.mapred.Partitioner<TripleIndexes,TaggedMatrixValue>public void configure(org.apache.hadoop.mapred.JobConf arg0)
configure in interface org.apache.hadoop.mapred.JobConfigurableCopyright © 2017 The Apache Software Foundation. All rights reserved.