|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Scanner
Scans a table over a given range. "Clients can iterate over multiple column families, and there are several mechanisms for limiting the rows, columns, and timestamps traversed by a scan. For example, we could restrict [a] scan ... to only produce anchors whose columns match [a] regular expression ..., or to only produce anchors whose timestamps fall within ten days of the current time."
Method Summary | |
---|---|
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()
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 |
setTimeOut(int timeOut)
Deprecated. Since 1.5. See ScannerBase.setTimeout(long, java.util.concurrent.TimeUnit) |
Methods inherited from interface org.apache.accumulo.core.client.ScannerBase |
---|
addScanIterator, clearColumns, clearScanIterators, close, fetchColumn, fetchColumnFamily, getTimeout, iterator, removeScanIterator, setTimeout, updateScanIteratorOption |
Method Detail |
---|
@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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |