diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-14 19:03:21 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-14 19:03:21 +0200 |
commit | 5ddc763ab9953eebdaf78af4eb72288d7955b310 (patch) | |
tree | fffaf3d22173feae684b7c02ce86c67cf77c7fec /hadoop/wordcount/pipes/wordcount.h | |
parent | 26c490f404731d053a6205719b6246502c07b449 (diff) |
cleanup
Diffstat (limited to 'hadoop/wordcount/pipes/wordcount.h')
-rw-r--r-- | hadoop/wordcount/pipes/wordcount.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/hadoop/wordcount/pipes/wordcount.h b/hadoop/wordcount/pipes/wordcount.h deleted file mode 100644 index 5b08d49..0000000 --- a/hadoop/wordcount/pipes/wordcount.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef __WORDCOUNT_HH__ -#define __WORDCOUNT_HH__ - - -#include <iostream> -#include <string> - -#include "hadoop/Pipes.hh" -#include "hadoop/TemplateFactory.hh" - -#include <boost/algorithm/string.hpp> -#include <boost/tokenizer.hpp> -#include <boost/lexical_cast.hpp> - -using namespace std; - - -class WordcountMapper : public HadoopPipes::Mapper -{ - public: - WordcountMapper(const HadoopPipes::TaskContext&) {}; - void map(HadoopPipes::MapContext &context); -}; - -class WordcountReducer : public HadoopPipes::Reducer -{ - public: - WordcountReducer(const HadoopPipes::TaskContext&) {}; - void reduce(HadoopPipes::ReduceContext &context); -}; - - -#endif - |