org.apache.accumulo.server.util
Class MapFilePerformanceTest

java.lang.Object
  extended by org.apache.accumulo.server.util.MapFilePerformanceTest

public class MapFilePerformanceTest
extends java.lang.Object


Constructor Summary
MapFilePerformanceTest()
           
 
Method Summary
static java.lang.String[] createMapFiles(java.lang.String input, java.lang.String output, int blocksize, int mapFiles)
           
static void main(java.lang.String[] args)
           
static void runTest(java.lang.String testName, java.lang.String[] mapFiles, java.util.ArrayList<Key> queries)
           
static void selectRandomKeys(java.lang.String input, double percentage, java.util.ArrayList<Key> keys)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapFilePerformanceTest

public MapFilePerformanceTest()
Method Detail

createMapFiles

public static java.lang.String[] createMapFiles(java.lang.String input,
                                                java.lang.String output,
                                                int blocksize,
                                                int mapFiles)
                                         throws java.io.IOException
Throws:
java.io.IOException

selectRandomKeys

public static void selectRandomKeys(java.lang.String input,
                                    double percentage,
                                    java.util.ArrayList<Key> keys)
                             throws java.io.IOException
Throws:
java.io.IOException

runTest

public static void runTest(java.lang.String testName,
                           java.lang.String[] mapFiles,
                           java.util.ArrayList<Key> queries)
                    throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException,
                        java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.