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.
|
int |
getTimeOut()
Returns the setting for how long a scanner will automatically retry when a failure occurs.
|
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 |
setTimeOut(int timeOut)
This setting determines how long a scanner will automatically retry when a failure occurs.
|
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, iterator, removeScanIterator, setColumnFamilyRegex, setColumnQualifierRegex, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex, setValueRegex, updateScanIteratorOption
void setTimeOut(int timeOut)
timeOut
- in secondsint getTimeOut()
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()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.