org.apache.accumulo.examples.simple.client
Class SequentialBatchWriter

java.lang.Object
  extended by org.apache.accumulo.examples.simple.client.SequentialBatchWriter

public class SequentialBatchWriter
extends Object

Simple example for writing random data in sequential order to Accumulo. See docs/examples/README.batch for instructions.


Constructor Summary
SequentialBatchWriter()
           
 
Method Summary
static void main(String[] args)
          Writes a specified number of entries to Accumulo using a BatchWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequentialBatchWriter

public SequentialBatchWriter()
Method Detail

main

public static void main(String[] args)
                 throws AccumuloException,
                        AccumuloSecurityException,
                        TableNotFoundException,
                        MutationsRejectedException
Writes a specified number of entries to Accumulo using a BatchWriter. The rows of the entries will be sequential starting at a specified number. The column families will be "foo" and column qualifiers will be "1". The values will be random byte arrays of a specified size.

Throws:
AccumuloException
AccumuloSecurityException
TableNotFoundException
MutationsRejectedException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.