|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.client.mock.MockScannerBase org.apache.accumulo.core.client.mock.MockBatchScanner
public class MockBatchScanner
Field Summary |
---|
Fields inherited from class org.apache.accumulo.core.client.mock.MockScannerBase |
---|
auths, table |
Constructor Summary | |
---|---|
MockBatchScanner(MockTable mockTable,
Authorizations authorizations)
|
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.mock.MockScannerBase |
---|
clearColumns, clearScanIterators, createFilter, fetchColumn, fetchColumnFamily, setColumnFamilyRegex, setColumnQualifierRegex, 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 MockBatchScanner(MockTable mockTable, Authorizations authorizations)
Method Detail |
---|
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
public void close()
BatchScanner
close
in interface BatchScanner
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |