public interface Scanner extends ScannerBase
Modifier and Type | Method and Description |
---|---|
void |
disableIsolation()
Disables row isolation.
|
void |
enableIsolation()
Enables row isolation.
|
int |
getBatchSize()
Returns the batch size (number of Key/Value pairs) that will be fetched at a time from a tablet server.
|
Range |
getRange()
Returns the range of keys to scan over.
|
long |
getReadaheadThreshold()
The number of batches of Key/Value pairs returned before the
Scanner will begin to prefetch the next batch |
int |
getTimeOut()
Deprecated.
Since 1.5. See
ScannerBase.getTimeout(java.util.concurrent.TimeUnit) |
void |
setBatchSize(int size)
Sets the number of Key/Value pairs that will be fetched at a time from a tablet server.
|
void |
setRange(Range range)
Sets the range of keys to scan over.
|
void |
setReadaheadThreshold(long batches)
Sets the number of batches of Key/Value pairs returned before the
Scanner will begin to prefetch the next batch |
void |
setTimeOut(int timeOut)
Deprecated.
Since 1.5. See
ScannerBase.setTimeout(long, java.util.concurrent.TimeUnit) |
addScanIterator, clearColumns, clearScanIterators, close, fetchColumn, fetchColumnFamily, getTimeout, iterator, removeScanIterator, setTimeout, updateScanIteratorOption
forEach, spliterator
@Deprecated void setTimeOut(int timeOut)
ScannerBase.setTimeout(long, java.util.concurrent.TimeUnit)
timeOut
- in seconds@Deprecated int getTimeOut()
ScannerBase.getTimeout(java.util.concurrent.TimeUnit)
void setRange(Range range)
range
- key range to begin and end scanRange getRange()
void setBatchSize(int size)
size
- the number of Key/Value pairs to fetch per call to Accumuloint getBatchSize()
void enableIsolation()
void disableIsolation()
long getReadaheadThreshold()
Scanner
will begin to prefetch the next batchvoid setReadaheadThreshold(long batches)
Scanner
will begin to prefetch the next batchbatches
- Non-negative number of batchesCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.