public interface BatchScanner extends ScannerBase
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Cleans up and finalizes the scanner | 
| void | setRanges(Collection<Range> ranges)Allows scanning over multiple ranges efficiently. | 
| void | setTimeout(long timeout,
          TimeUnit timeUnit)Sets a timeout threshold for a server to respond. | 
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, getTimeout, iterator, removeScanIterator, updateScanIteratorOptionvoid setRanges(Collection<Range> ranges)
ranges - specifies the non-overlapping ranges to queryvoid close()
close in interface ScannerBasevoid setTimeout(long timeout,
              TimeUnit timeUnit)
TimedOutException when all needed servers timeout. Setting the timeout to zero or Long.MAX_VALUE and TimeUnit.MILLISECONDS
 means no timeout.
 If not set, there is not timeout. The BatchScanner will retry forever.
setTimeout in interface ScannerBasetimeUnit - determines how timeout is interpretedCopyright © 2011-2016 The Apache Software Foundation. All Rights Reserved.