public static class DeterminePartitionsJob.DeterminePartitionsDimSelectionPartitioner
extends org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text>
implements org.apache.hadoop.conf.Configurable
Constructor and Description |
---|
DeterminePartitionsJob.DeterminePartitionsDimSelectionPartitioner() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
int |
getPartition(org.apache.hadoop.io.BytesWritable bytesWritable,
org.apache.hadoop.io.Text text,
int numPartitions) |
void |
setConf(org.apache.hadoop.conf.Configuration config) |
public DeterminePartitionsJob.DeterminePartitionsDimSelectionPartitioner()
public int getPartition(org.apache.hadoop.io.BytesWritable bytesWritable, org.apache.hadoop.io.Text text, int numPartitions)
getPartition
in class org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text>
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration config)
setConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2011–2015. All rights reserved.