Class MockScannerBase
java.lang.Object
org.apache.accumulo.core.client.impl.ScannerOptions
org.apache.accumulo.core.client.mock.MockScannerBase
- All Implemented Interfaces:
AutoCloseable
,Iterable<Map.Entry<Key,
,Value>> ScannerBase
- Direct Known Subclasses:
MockBatchScanner
,MockScanner
@Deprecated
public class MockScannerBase
extends org.apache.accumulo.core.client.impl.ScannerOptions
Deprecated.
since 1.8.0; use MiniAccumuloCluster or a standard mock framework instead.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Authorizations
Deprecated.protected final MockTable
Deprecated.Fields inherited from class org.apache.accumulo.core.client.impl.ScannerOptions
batchTimeout, classLoaderContext, fetchedColumns, retryTimeout, serverSideIteratorList, serverSideIteratorOptions
-
Method Summary
Modifier and TypeMethodDescriptioncreateFilter
(org.apache.accumulo.core.iterators.SortedKeyValueIterator<Key, Value> inner) Deprecated.Deprecated.Returns the authorizations that have been set on the scanneriterator()
Deprecated.Returns an iterator over an accumulo table.void
setClassLoaderContext
(String context) Deprecated.Sets the name of the classloader context on this scanner.Methods inherited from class org.apache.accumulo.core.client.impl.ScannerOptions
addScanIterator, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, close, fetchColumn, fetchColumn, fetchColumnFamily, getBatchTimeout, getClassLoaderContext, getFetchedColumns, getSamplerConfiguration, getTimeout, removeScanIterator, setBatchTimeout, setOptions, setSamplerConfiguration, setTimeout, updateScanIteratorOption
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
table
Deprecated. -
auths
Deprecated.
-
-
Method Details
-
createFilter
public org.apache.accumulo.core.iterators.SortedKeyValueIterator<Key,Value> createFilter(org.apache.accumulo.core.iterators.SortedKeyValueIterator<Key, Value> inner) throws IOExceptionDeprecated.- Throws:
IOException
-
iterator
Deprecated.Description copied from interface:ScannerBase
Returns an iterator over an accumulo table. This iterator uses the options that are currently set for its lifetime, so setting options will have no effect on existing iterators.Keys returned by the iterator are not guaranteed to be in sorted order.
-
getAuthorizations
Deprecated.Description copied from interface:ScannerBase
Returns the authorizations that have been set on the scanner- Specified by:
getAuthorizations
in interfaceScannerBase
- Overrides:
getAuthorizations
in classorg.apache.accumulo.core.client.impl.ScannerOptions
- Returns:
- The authorizations set on the scanner instance
-
setClassLoaderContext
Deprecated.Description copied from interface:ScannerBase
Sets the name of the classloader context on this scanner. See the administration chapter of the user manual for details on how to configure and use classloader contexts.- Specified by:
setClassLoaderContext
in interfaceScannerBase
- Overrides:
setClassLoaderContext
in classorg.apache.accumulo.core.client.impl.ScannerOptions
- Parameters:
context
- name of the classloader context
-