public class MockBatchScanner extends MockScannerBase implements BatchScanner
auths, table| Constructor and Description |
|---|
MockBatchScanner(MockTable mockTable,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Cleans up and finalizes the scanner
|
Iterator<Map.Entry<Key,Value>> |
iterator()
Returns an iterator over an accumulo table.
|
void |
setRanges(Collection<Range> ranges)
Allows scanning over multiple ranges efficiently.
|
createFilteraddScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getFetchedColumns, removeScanIterator, setColumnFamilyRegex, setColumnQualifierRegex, setOptions, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex, setValueRegex, updateScanIteratorOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, removeScanIterator, setColumnFamilyRegex, setColumnQualifierRegex, setRowRegex, setScanIteratorOption, setScanIterators, setupRegex, setValueRegex, updateScanIteratorOptionpublic MockBatchScanner(MockTable mockTable, Authorizations authorizations)
public void setRanges(Collection<Range> ranges)
BatchScannersetRanges in interface BatchScannerranges - specifies the non-overlapping ranges to querypublic Iterator<Map.Entry<Key,Value>> iterator()
ScannerBaseiterator in interface Iterable<Map.Entry<Key,Value>>iterator in interface ScannerBaseiterator in class MockScannerBasepublic void close()
BatchScannerclose in interface BatchScannerCopyright © 2016 The Apache Software Foundation. All Rights Reserved.