public abstract class SlotDirectMapper extends MapperWithRuntimeResource<Object,org.apache.hadoop.io.Writable,SortableSlot,WritableSlot>
Modifier and Type | Field and Description |
---|---|
static String |
NAME_GET_OUTPUT_NAME
The method name of
getOutputName() . |
Constructor and Description |
---|
SlotDirectMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) |
abstract String |
getOutputName()
Returns the output name.
|
protected void |
map(Object key,
org.apache.hadoop.io.Writable value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
run, runInternal
public static final String NAME_GET_OUTPUT_NAME
getOutputName()
.protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Mapper<Object,org.apache.hadoop.io.Writable,SortableSlot,WritableSlot>
IOException
InterruptedException
public abstract String getOutputName()
protected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
cleanup
in class org.apache.hadoop.mapreduce.Mapper<Object,org.apache.hadoop.io.Writable,SortableSlot,WritableSlot>
IOException
InterruptedException
protected void map(Object key, org.apache.hadoop.io.Writable value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<Object,org.apache.hadoop.io.Writable,SortableSlot,WritableSlot>
IOException
InterruptedException
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.