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

java.lang.Object
  extended by org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator
All Implemented Interfaces:
Iterator<Map.Entry<Key,Value>>

public class TabletServerBatchReaderIterator
extends Object
implements Iterator<Map.Entry<Key,Value>>


Nested Class Summary
static interface TabletServerBatchReaderIterator.ResultReceiver
           
 
Constructor Summary
TabletServerBatchReaderIterator(Instance instance, TCredentials credentials, String table, Authorizations authorizations, ArrayList<Range> ranges, int numThreads, ExecutorService queryThreadPool, ScannerOptions scannerOptions, long timeout)
           
 
Method Summary
 boolean hasNext()
           
 Map.Entry<Key,Value> next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabletServerBatchReaderIterator

public TabletServerBatchReaderIterator(Instance instance,
                                       TCredentials credentials,
                                       String table,
                                       Authorizations authorizations,
                                       ArrayList<Range> ranges,
                                       int numThreads,
                                       ExecutorService queryThreadPool,
                                       ScannerOptions scannerOptions,
                                       long timeout)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Map.Entry<Key,Value>>

next

public Map.Entry<Key,Value> next()
Specified by:
next in interface Iterator<Map.Entry<Key,Value>>

remove

public void remove()
Specified by:
remove in interface Iterator<Map.Entry<Key,Value>>


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.