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, runInternalpublic 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>IOExceptionInterruptedExceptionpublic 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>IOExceptionInterruptedExceptionprotected 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>IOExceptionInterruptedExceptionCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.