edu.umd.cloud9.io
Class ReadSequenceFile
java.lang.Object
edu.umd.cloud9.io.ReadSequenceFile
public class ReadSequenceFile
- extends Object
Program that reads either a SequenceFile or a directory containing
SequenceFiles. A maximum number of key-value pairs to read must be specified;
in the of a directory, the value specifies the number of key-value pairs to
read per file.
args: [path] [max-num-of-records] (local)
Note: specify "local" as the optional third argument for reading from local
disk.
main
public static void main(String[] args)
throws IOException
- Throws:
IOException