@Deprecated public class MockScannerBase extends ScannerOptions
Modifier and Type | Field and Description |
---|---|
protected Authorizations |
auths
Deprecated.
|
protected MockTable |
table
Deprecated.
|
batchTimeOut, classLoaderContext, fetchedColumns, serverSideIteratorList, serverSideIteratorOptions, timeOut
Modifier and Type | Method and Description |
---|---|
SortedKeyValueIterator<Key,Value> |
createFilter(SortedKeyValueIterator<Key,Value> inner)
Deprecated.
|
Authorizations |
getAuthorizations()
Deprecated.
Returns the authorizations that have been set on the scanner
|
Iterator<Map.Entry<Key,Value>> |
iterator()
Deprecated.
Returns an iterator over an accumulo table.
|
void |
setClassLoaderContext(String context)
Deprecated.
Sets the name of the classloader context on this scanner.
|
addScanIterator, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, close, fetchColumn, fetchColumn, fetchColumnFamily, getBatchTimeout, getClassLoaderContext, getFetchedColumns, getSamplerConfiguration, getTimeout, removeScanIterator, setBatchTimeout, setOptions, setSamplerConfiguration, setTimeout, updateScanIteratorOption
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public void setClassLoaderContext(String context)
ScannerBase
setClassLoaderContext
in interface ScannerBase
setClassLoaderContext
in class ScannerOptions
context
- name of the classloader contextCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.