@Deprecated public class MockBatchScanner extends MockScannerBase implements BatchScanner
auths, table
Constructor and Description |
---|
MockBatchScanner(MockTable mockTable,
Authorizations authorizations)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
Closes any underlying connections on the scanner.
|
Iterator<Map.Entry<Key,Value>> |
iterator()
Deprecated.
Returns an iterator over an accumulo table.
|
void |
setRanges(Collection<Range> ranges)
Deprecated.
Allows scanning over multiple ranges efficiently.
|
createFilter, getAuthorizations, setClassLoaderContext
addScanIterator, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, 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
setTimeout
addScanIterator, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getAuthorizations, getBatchTimeout, getClassLoaderContext, getSamplerConfiguration, getTimeout, removeScanIterator, setBatchTimeout, setClassLoaderContext, setSamplerConfiguration, updateScanIteratorOption
forEach, spliterator
public MockBatchScanner(MockTable mockTable, Authorizations authorizations)
public void setRanges(Collection<Range> ranges)
BatchScanner
setRanges
in interface BatchScanner
ranges
- specifies the non-overlapping ranges to querypublic 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 MockScannerBase
public void close()
ScannerBase
close
in interface AutoCloseable
close
in interface BatchScanner
close
in interface ScannerBase
close
in class org.apache.accumulo.core.client.impl.ScannerOptions
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.