edu.umd.cloud9.example.simple
Class DemoPackTuples1

java.lang.Object
  extended by edu.umd.cloud9.example.simple.DemoPackTuples1

public class DemoPackTuples1
extends Object

Demo that packs the sample collection into a SequenceFile as Tuple objects. The records are stored in a local SequenceFile; this file can then be transfered over to HDFS to serve as the input to DemoWordCountTuple1.

Each record is a tuple; the first field of the tuple is a String with the field name "text", which consists of the raw text of the record.

See Also:
DemoPackTuples2, DemoPackJSON

Method Summary
static void main(String[] args)
          Runs the demo.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws IOException
Runs the demo.

Throws:
IOException