org.apache.accumulo.core.client.impl
Class ThriftScanner
java.lang.Object
org.apache.accumulo.core.client.impl.ThriftScanner
public class ThriftScanner
- extends java.lang.Object
Method Summary |
static boolean |
getBatchFromServer(AuthInfo credentials,
org.apache.hadoop.io.Text startRow,
KeyExtent extent,
java.lang.String server,
java.util.SortedMap<Key,Value> results,
java.util.SortedSet<Column> fetchedColumns,
boolean skipStartKey,
int size,
Authorizations authorizations,
boolean retry,
AccumuloConfiguration conf)
|
static java.util.List<KeyValue> |
scan(Instance instance,
AuthInfo credentials,
ThriftScanner.ScanState scanState,
int timeOut,
AccumuloConfiguration conf)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serversWaitedForWrites
public static java.util.Map<TabletType,java.util.Set<java.lang.String>> serversWaitedForWrites
ThriftScanner
public ThriftScanner()
getBatchFromServer
public static boolean getBatchFromServer(AuthInfo credentials,
org.apache.hadoop.io.Text startRow,
KeyExtent extent,
java.lang.String server,
java.util.SortedMap<Key,Value> results,
java.util.SortedSet<Column> fetchedColumns,
boolean skipStartKey,
int size,
Authorizations authorizations,
boolean retry,
AccumuloConfiguration conf)
throws AccumuloException,
AccumuloSecurityException,
NotServingTabletException
- Throws:
AccumuloException
AccumuloSecurityException
NotServingTabletException
scan
public static java.util.List<KeyValue> scan(Instance instance,
AuthInfo credentials,
ThriftScanner.ScanState scanState,
int timeOut,
AccumuloConfiguration conf)
throws ThriftScanner.ScanTimedOutException,
AccumuloException,
AccumuloSecurityException,
TableNotFoundException
- Throws:
ThriftScanner.ScanTimedOutException
AccumuloException
AccumuloSecurityException
TableNotFoundException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.