diff options
Diffstat (limited to 'scald-mvp/src/main/scala/example/WordCount.scala')
-rw-r--r-- | scald-mvp/src/main/scala/example/WordCount.scala | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/scald-mvp/src/main/scala/example/WordCount.scala b/scald-mvp/src/main/scala/example/WordCount.scala deleted file mode 100644 index 0de6ae0..0000000 --- a/scald-mvp/src/main/scala/example/WordCount.scala +++ /dev/null @@ -1,12 +0,0 @@ - -package example - -import com.twitter.scalding._ - -class WordCount(args : Args) extends Job(args) { - TypedPipe.from(TextLine(args("input"))) - .flatMap { line => line.split("""\s+""") } - .groupBy { word => word } - .size - .write(TypedTsv(args("output"))) -} |