|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Scanner
Walk a table over a given range. provides scanner functionality "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()
|
void |
enableIsolation()
|
int |
getBatchSize()
|
Range |
getRange()
|
int |
getTimeOut()
|
java.util.Iterator<java.util.Map.Entry<Key,Value>> |
iterator()
Returns an iterator over an accumulo table. |
void |
setBatchSize(int size)
|
void |
setRange(Range range)
|
void |
setTimeOut(int timeOut)
When failure occurs, the scanner automatically retries. |
Methods inherited from interface org.apache.accumulo.core.client.ScannerBase |
---|
clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, setColumnFamilyRegex, setColumnQualifierRegex, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex, setValueRegex |
Method Detail |
---|
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 Keys/Value pairs to fetch per call to Accumuloint getBatchSize()
void enableIsolation()
void disableIsolation()
java.util.Iterator<java.util.Map.Entry<Key,Value>> iterator()
iterator
in interface java.lang.Iterable<java.util.Map.Entry<Key,Value>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |