|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.accumulo.core.client.impl.ScannerOptions
org.apache.accumulo.server.util.OfflineMetadataScanner
public class OfflineMetadataScanner
| Field Summary |
|---|
| Fields inherited from class org.apache.accumulo.core.client.impl.ScannerOptions |
|---|
fetchedColumns, serverSideIteratorList, serverSideIteratorOptions |
| Constructor Summary | |
|---|---|
OfflineMetadataScanner()
|
|
| 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()
Returns the setting for how long a scanner will automatically retry when a failure occurs. |
Iterator<Map.Entry<Key,Value>> |
iterator()
Returns an iterator over an accumulo table. |
static void |
main(String[] args)
|
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 |
setScanIterators(int priority,
String iteratorClass,
String iteratorName)
|
void |
setTimeOut(int timeOut)
This setting determines how long a scanner will automatically retry when a failure occurs. |
| Methods inherited from class org.apache.accumulo.core.client.impl.ScannerOptions |
|---|
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getFetchedColumns, removeScanIterator, setColumnFamilyRegex, setColumnQualifierRegex, setOptions, setRowRegex, setScanIteratorOption, setupRegex, setValueRegex, updateScanIteratorOption |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.accumulo.core.client.ScannerBase |
|---|
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, removeScanIterator, setColumnFamilyRegex, setColumnQualifierRegex, setRowRegex, setScanIteratorOption, setupRegex, setValueRegex, updateScanIteratorOption |
| Constructor Detail |
|---|
public OfflineMetadataScanner()
throws IOException
IOException| Method Detail |
|---|
public int getBatchSize()
Scanner
getBatchSize in interface Scannerpublic Range getRange()
Scanner
getRange in interface Scannerpublic int getTimeOut()
Scanner
getTimeOut in interface Scannerpublic Iterator<Map.Entry<Key,Value>> iterator()
ScannerBase
iterator in interface Iterable<Map.Entry<Key,Value>>iterator in interface ScannerBaseiterator in class ScannerOptionspublic void setBatchSize(int size)
Scanner
setBatchSize in interface Scannersize - the number of Key/Value pairs to fetch per call to Accumulopublic void setRange(Range range)
Scanner
setRange in interface Scannerrange - key range to begin and end scanpublic void setTimeOut(int timeOut)
Scanner
setTimeOut in interface ScannertimeOut - in seconds
public void setScanIterators(int priority,
String iteratorClass,
String iteratorName)
setScanIterators in interface ScannerBasesetScanIterators in class ScannerOptionspublic void enableIsolation()
Scanner
enableIsolation in interface Scannerpublic void disableIsolation()
Scanner
disableIsolation in interface Scanner
public static void main(String[] args)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||