public class MockScannerBase extends ScannerOptions implements ScannerBase
Modifier and Type | Field and Description |
---|---|
protected Authorizations |
auths |
protected MockTable |
table |
fetchedColumns, serverSideIteratorList, serverSideIteratorOptions, timeOut
Modifier and Type | Method and Description |
---|---|
SortedKeyValueIterator<Key,Value> |
createFilter(SortedKeyValueIterator<Key,Value> inner) |
Authorizations |
getAuthorizations()
Returns the authorizations that have been set on the scanner
|
Iterator<Map.Entry<Key,Value>> |
iterator()
Returns an iterator over an accumulo table.
|
addScanIterator, clearColumns, clearScanIterators, close, fetchColumn, fetchColumn, fetchColumnFamily, getFetchedColumns, getTimeout, removeScanIterator, setOptions, setTimeout, updateScanIteratorOption
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addScanIterator, clearColumns, clearScanIterators, close, fetchColumn, fetchColumn, fetchColumnFamily, getTimeout, removeScanIterator, setTimeout, updateScanIteratorOption
forEach, spliterator
protected final MockTable table
protected final Authorizations auths
public SortedKeyValueIterator<Key,Value> createFilter(SortedKeyValueIterator<Key,Value> inner) throws IOException
IOException
public Iterator<Map.Entry<Key,Value>> iterator()
ScannerBase
Keys returned by the iterator are not guaranteed to be in sorted order.
iterator
in interface Iterable<Map.Entry<Key,Value>>
iterator
in interface ScannerBase
iterator
in class ScannerOptions
public Authorizations getAuthorizations()
ScannerBase
getAuthorizations
in interface ScannerBase
getAuthorizations
in class ScannerOptions
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.