org.apache.hadoop.examples.terasort
Class GenSort
java.lang.Object
org.apache.hadoop.examples.terasort.GenSort
public class GenSort
- extends Object
A single process data generator for the terasort data. Based on gensort.c
version 1.1 (3 Mar 2009) from Chris Nyberg .
Method Summary |
static void |
main(String[] args)
|
static void |
outputRecords(OutputStream out,
boolean useAscii,
org.apache.hadoop.examples.terasort.Unsigned16 firstRecordNumber,
org.apache.hadoop.examples.terasort.Unsigned16 recordsToGenerate,
org.apache.hadoop.examples.terasort.Unsigned16 checksum)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenSort
public GenSort()
outputRecords
public static void outputRecords(OutputStream out,
boolean useAscii,
org.apache.hadoop.examples.terasort.Unsigned16 firstRecordNumber,
org.apache.hadoop.examples.terasort.Unsigned16 recordsToGenerate,
org.apache.hadoop.examples.terasort.Unsigned16 checksum)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2009 The Apache Software Foundation