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