|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.client.impl.ScannerOptions org.apache.accumulo.core.client.impl.TabletServerBatchReader
public class TabletServerBatchReader
Constructor Summary | |
---|---|
TabletServerBatchReader(Instance instance,
AuthInfo credentials,
java.lang.String table,
Authorizations authorizations,
int numQueryThreads)
|
Method Summary | |
---|---|
void |
close()
Cleans up and finalizes the scanner |
java.util.Iterator<java.util.Map.Entry<Key,Value>> |
iterator()
Returns an iterator over an accumulo table. |
void |
setRanges(java.util.Collection<Range> ranges)
Allows scanning over multiple ranges efficiently. |
Methods inherited from class org.apache.accumulo.core.client.impl.ScannerOptions |
---|
clearColumns, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getFetchedColumns, setColumnFamilyRegex, setColumnQualifierRegex, setOptions, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex, setValueRegex |
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 |
---|
clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, setColumnFamilyRegex, setColumnQualifierRegex, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex, setValueRegex |
Constructor Detail |
---|
public TabletServerBatchReader(Instance instance, AuthInfo credentials, java.lang.String table, Authorizations authorizations, int numQueryThreads)
Method Detail |
---|
public void close()
BatchScanner
close
in interface BatchScanner
public void setRanges(java.util.Collection<Range> ranges)
BatchScanner
setRanges
in interface BatchScanner
ranges
- specifies the non-overlapping ranges to querypublic java.util.Iterator<java.util.Map.Entry<Key,Value>> iterator()
BatchScanner
iterator
in interface java.lang.Iterable<java.util.Map.Entry<Key,Value>>
iterator
in interface BatchScanner
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |