voldemort.store.readonly
Class JsonStoreBuilder

java.lang.Object
  extended by voldemort.store.readonly.JsonStoreBuilder

public class JsonStoreBuilder
extends java.lang.Object

Build a read-only store from given input.


Nested Class Summary
static class JsonStoreBuilder.KeyMd5Comparator
           
 
Constructor Summary
JsonStoreBuilder(JsonReader reader, Cluster cluster, StoreDefinition storeDefinition, RoutingStrategy routingStrategy, java.io.File outputDir, java.io.File tempDir, int internalSortSize, int numThreads, int numChunks, int ioBufferSize, boolean gzipIntermediate)
           
 
Method Summary
 void build(ReadOnlyStorageFormat type)
           
 void buildVersion0()
           
 void buildVersion1()
           
 void buildVersion2()
           
static void main(java.lang.String[] args)
          Main method to run on a input text file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonStoreBuilder

public JsonStoreBuilder(JsonReader reader,
                        Cluster cluster,
                        StoreDefinition storeDefinition,
                        RoutingStrategy routingStrategy,
                        java.io.File outputDir,
                        java.io.File tempDir,
                        int internalSortSize,
                        int numThreads,
                        int numChunks,
                        int ioBufferSize,
                        boolean gzipIntermediate)
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Main method to run on a input text file

Parameters:
args - see USAGE for details
Throws:
java.io.IOException

build

public void build(ReadOnlyStorageFormat type)
           throws java.io.IOException
Throws:
java.io.IOException

buildVersion0

public void buildVersion0()
                   throws java.io.IOException
Throws:
java.io.IOException

buildVersion1

public void buildVersion1()
                   throws java.io.IOException
Throws:
java.io.IOException

buildVersion2

public void buildVersion2()
                   throws java.io.IOException
Throws:
java.io.IOException


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu