org.apache.hadoop.benchmarks.mapred
Class GenData

java.lang.Object
  extended by org.apache.hadoop.benchmarks.mapred.GenData

public class GenData
extends Object


Field Summary
static int ASCENDING
           
static int DESCENDING
           
static int RANDOM
           
 
Constructor Summary
GenData()
           
 
Method Summary
static void generateText(long numLines, File file, int sortType)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RANDOM

public static final int RANDOM
See Also:
Constant Field Values

ASCENDING

public static final int ASCENDING
See Also:
Constant Field Values

DESCENDING

public static final int DESCENDING
See Also:
Constant Field Values
Constructor Detail

GenData

public GenData()
Method Detail

generateText

public static void generateText(long numLines,
                                File file,
                                int sortType)
                         throws IOException
Throws:
IOException

main

public static void main(String[] args)


Copyright © 2006 The Apache Software Foundation