org.apache.accumulo.core.client.impl
Class ThriftScanner

java.lang.Object
  extended by org.apache.accumulo.core.client.impl.ThriftScanner

public class ThriftScanner
extends Object


Nested Class Summary
static class ThriftScanner.ScanState
           
static class ThriftScanner.ScanTimedOutException
           
 
Field Summary
static Map<TabletType,Set<String>> serversWaitedForWrites
           
 
Constructor Summary
ThriftScanner()
           
 
Method Summary
static boolean getBatchFromServer(Instance instance, Credentials credentials, Range range, KeyExtent extent, String server, SortedMap<Key,Value> results, SortedSet<Column> fetchedColumns, List<IterInfo> serverSideIteratorList, Map<String,Map<String,String>> serverSideIteratorOptions, int size, Authorizations authorizations, boolean retry, AccumuloConfiguration conf)
           
static List<KeyValue> scan(Instance instance, Credentials 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
 

Field Detail

serversWaitedForWrites

public static final Map<TabletType,Set<String>> serversWaitedForWrites
Constructor Detail

ThriftScanner

public ThriftScanner()
Method Detail

getBatchFromServer

public static boolean getBatchFromServer(Instance instance,
                                         Credentials credentials,
                                         Range range,
                                         KeyExtent extent,
                                         String server,
                                         SortedMap<Key,Value> results,
                                         SortedSet<Column> fetchedColumns,
                                         List<IterInfo> serverSideIteratorList,
                                         Map<String,Map<String,String>> serverSideIteratorOptions,
                                         int size,
                                         Authorizations authorizations,
                                         boolean retry,
                                         AccumuloConfiguration conf)
                                  throws AccumuloException,
                                         AccumuloSecurityException,
                                         NotServingTabletException
Throws:
AccumuloException
AccumuloSecurityException
NotServingTabletException

scan

public static List<KeyValue> scan(Instance instance,
                                  Credentials credentials,
                                  ThriftScanner.ScanState scanState,
                                  int timeOut,
                                  AccumuloConfiguration conf)
                           throws ThriftScanner.ScanTimedOutException,
                                  AccumuloException,
                                  AccumuloSecurityException,
                                  TableNotFoundException
Throws:
ThriftScanner.ScanTimedOutException
AccumuloException
AccumuloSecurityException
TableNotFoundException


Copyright © 2015 Apache Accumulo Project. All rights reserved.