public class MultiFileWordCount extends Configured implements Tool
Modifier and Type | Class and Description |
---|---|
static class |
MultiFileWordCount.CombineFileLineRecordReader
RecordReader is responsible from extracting records from a chunk
of the CombineFileSplit.
|
static class |
MultiFileWordCount.MapClass
This Mapper is similar to the one in
WordCount.MapClass . |
static class |
MultiFileWordCount.MyInputFormat
To use
CombineFileInputFormat , one should extend it, to return a
(custom) RecordReader . |
static class |
MultiFileWordCount.WordOffset
This record keeps <filename,offset> pairs.
|
Constructor and Description |
---|
MultiFileWordCount() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
int |
run(String[] args)
Execute the command with the given arguments.
|
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
Copyright © 2013 Apache Software Foundation. All rights reserved.