public static class CleaningJob.DeleterReducer extends Reducer<ByteWritable,Text,Text,ByteWritable>
Reducer.Context
Constructor and Description |
---|
DeleterReducer() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(Reducer.Context context) |
void |
reduce(ByteWritable key,
java.lang.Iterable<Text> values,
Reducer.Context context) |
void |
setup(Reducer.Context context) |
public void setup(Reducer.Context context)
setup
in class Reducer<ByteWritable,Text,Text,ByteWritable>
public void cleanup(Reducer.Context context) throws java.io.IOException
cleanup
in class Reducer<ByteWritable,Text,Text,ByteWritable>
java.io.IOException
public void reduce(ByteWritable key, java.lang.Iterable<Text> values, Reducer.Context context) throws java.io.IOException
reduce
in class Reducer<ByteWritable,Text,Text,ByteWritable>
java.io.IOException
Copyright © 2018 The Apache Software Foundation