edu.umd.cloud9.example.simple
Class DemoPackTuples2
java.lang.Object
edu.umd.cloud9.example.simple.DemoPackTuples2
public class DemoPackTuples2
- extends Object
Demo that packs the sample collection into a SequenceFile of Pig Tuples. The key in each
record is a LongWritable indicating the record count (sequential numbering). The value in
each record is a Pig Tuple: the first is an integer containing the number of tokens, followed by
each token in a separate field. Designed to work with DemoWordCountTuple2.
- Author:
- Jimmy Lin
|
Method Summary |
static void |
main(String[] args)
Runs the demo. |
main
public static void main(String[] args)
throws IOException
- Runs the demo.
- Throws:
IOException