public static class NodeDumper.Sorter.SorterMapper extends Mapper<Text,Node,FloatWritable,Text>
Mapper.Context| Constructor and Description |
|---|
SorterMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(Text key,
Node node,
Mapper.Context context) |
void |
setup(Mapper.Context context)
Configures the mapper, sets the flag for type of content and the topN number
if any.
|
public void setup(Mapper.Context context)
public void map(Text key, Node node, Mapper.Context context) throws IOException, InterruptedException
map in class Mapper<Text,Node,FloatWritable,Text>IOExceptionInterruptedExceptionCopyright © 2021 The Apache Software Foundation