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, 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 org.apache.accumulo.core.iterators.SortedKeyValueIterator<Key,Value> createFilter(org.apache.accumulo.core.iterators.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.
public Authorizations getAuthorizations()
ScannerBase
getAuthorizations
in interface ScannerBase
getAuthorizations
in class org.apache.accumulo.core.client.impl.ScannerOptions
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.