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(AuthInfo credentials, org.apache.hadoop.io.Text startRow, KeyExtent extent, String server, SortedMap<Key,Value> results, SortedSet<Column> fetchedColumns, boolean skipStartKey, int size, Authorizations authorizations, boolean retry, AccumuloConfiguration conf)
           
static 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
 

Field Detail

serversWaitedForWrites

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

ThriftScanner

public ThriftScanner()
Method Detail

getBatchFromServer

public static boolean getBatchFromServer(AuthInfo credentials,
                                         org.apache.hadoop.io.Text startRow,
                                         KeyExtent extent,
                                         String server,
                                         SortedMap<Key,Value> results,
                                         SortedSet<Column> fetchedColumns,
                                         boolean skipStartKey,
                                         int size,
                                         Authorizations authorizations,
                                         boolean retry,
                                         AccumuloConfiguration conf)
                                  throws AccumuloException,
                                         AccumuloSecurityException,
                                         NotServingTabletException
Throws:
AccumuloException
AccumuloSecurityException
NotServingTabletException

scan

public static 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.