public class MockScannerBase extends org.apache.accumulo.core.client.impl.ScannerOptions implements ScannerBase
| Modifier and Type | Field and Description |
|---|---|
protected Authorizations |
auths |
protected MockTable |
table |
| Modifier and Type | Method and Description |
|---|---|
org.apache.accumulo.core.iterators.SortedKeyValueIterator<Key,Value> |
createFilter(org.apache.accumulo.core.iterators.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, updateScanIteratorOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddScanIterator, clearColumns, clearScanIterators, close, fetchColumn, fetchColumn, fetchColumnFamily, getTimeout, removeScanIterator, setTimeout, updateScanIteratorOptionforEach, spliteratorprotected final MockTable table
protected final Authorizations auths
public org.apache.accumulo.core.iterators.SortedKeyValueIterator<Key,Value> createFilter(org.apache.accumulo.core.iterators.SortedKeyValueIterator<Key,Value> inner) throws IOException
IOExceptionpublic Iterator<Map.Entry<Key,Value>> iterator()
ScannerBaseKeys returned by the iterator are not guaranteed to be in sorted order.
public Authorizations getAuthorizations()
ScannerBasegetAuthorizations in interface ScannerBasegetAuthorizations in class org.apache.accumulo.core.client.impl.ScannerOptionsCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.