public static class NNMapReduce.PassthruPartitioner<T> extends Object implements Partitioner<T>
Partitioner.PartitionData, Partitioner.PartitionDataCallback
Constructor and Description |
---|
PassthruPartitioner() |
Modifier and Type | Method and Description |
---|---|
List<Partitioner.PartitionData> |
getCubeIdentifiers(T entry) |
Collection<ParameterEnum<?>> |
getParameters() |
void |
initialize(org.apache.hadoop.mapreduce.JobContext context,
Class<?> scope) |
void |
partition(T entry,
Partitioner.PartitionDataCallback callback) |
void |
setup(PropertyManagement runTimeProperties,
Class<?> scope,
org.apache.hadoop.conf.Configuration configuration) |
public void initialize(org.apache.hadoop.mapreduce.JobContext context, Class<?> scope) throws IOException
initialize
in interface Partitioner<T>
IOException
public List<Partitioner.PartitionData> getCubeIdentifiers(T entry)
getCubeIdentifiers
in interface Partitioner<T>
public void partition(T entry, Partitioner.PartitionDataCallback callback) throws Exception
partition
in interface Partitioner<T>
Exception
public Collection<ParameterEnum<?>> getParameters()
getParameters
in interface Partitioner<T>
public void setup(PropertyManagement runTimeProperties, Class<?> scope, org.apache.hadoop.conf.Configuration configuration)
setup
in interface Partitioner<T>
Copyright © 2013–2020. All rights reserved.