org.apache.accumulo.examples.simple.client
Class RandomBatchScanner
java.lang.Object
org.apache.accumulo.examples.simple.client.RandomBatchScanner
public class RandomBatchScanner
- extends Object
Simple example for reading random batches of data from Accumulo. See docs/examples/README.batch for instructions.
Method Summary |
static void |
main(String[] args)
Scans over a specified number of entries to Accumulo using a BatchScanner . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomBatchScanner
public RandomBatchScanner()
main
public static void main(String[] args)
throws AccumuloException,
AccumuloSecurityException,
TableNotFoundException
- Scans over a specified number of entries to Accumulo using a
BatchScanner
. Completes scans twice to compare times for a fresh query with those for
a repeated query which has cached metadata and connections already established.
- Parameters:
args
-
- Throws:
AccumuloException
AccumuloSecurityException
TableNotFoundException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.