@Deprecated public class MockScanner extends MockScannerBase implements Scanner
auths, table
Modifier and Type | Method and Description |
---|---|
void |
disableIsolation()
Deprecated.
Disables row isolation.
|
void |
enableIsolation()
Deprecated.
Enables row isolation.
|
int |
getBatchSize()
Deprecated.
Returns the batch size (number of Key/Value pairs) that will be fetched at a time from a tablet server.
|
Range |
getRange()
Deprecated.
Returns the range of keys to scan over.
|
long |
getReadaheadThreshold()
Deprecated.
The number of batches of Key/Value pairs returned before the
Scanner will begin to prefetch the next batch |
int |
getTimeOut()
Deprecated.
|
Iterator<Map.Entry<Key,Value>> |
iterator()
Deprecated.
Returns an iterator over an accumulo table.
|
void |
setBatchSize(int size)
Deprecated.
Sets the number of Key/Value pairs that will be fetched at a time from a tablet server.
|
void |
setRange(Range range)
Deprecated.
Sets the range of keys to scan over.
|
void |
setReadaheadThreshold(long batches)
Deprecated.
Sets the number of batches of Key/Value pairs returned before the
Scanner will begin to prefetch the next batch |
void |
setTimeOut(int timeOut)
Deprecated.
|
createFilter, getAuthorizations, setClassLoaderContext
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
addScanIterator, clearClassLoaderContext, clearColumns, clearSamplerConfiguration, clearScanIterators, close, fetchColumn, fetchColumn, fetchColumnFamily, getAuthorizations, getBatchTimeout, getClassLoaderContext, getSamplerConfiguration, getTimeout, removeScanIterator, setBatchTimeout, setClassLoaderContext, setSamplerConfiguration, setTimeout, updateScanIteratorOption
@Deprecated public void setTimeOut(int timeOut)
Scanner
setTimeOut
in interface Scanner
timeOut
- in seconds@Deprecated public int getTimeOut()
Scanner
getTimeOut
in interface Scanner
public void setRange(Range range)
Scanner
public Range getRange()
Scanner
public void setBatchSize(int size)
Scanner
setBatchSize
in interface Scanner
size
- the number of Key/Value pairs to fetch per call to Accumulopublic int getBatchSize()
Scanner
getBatchSize
in interface Scanner
public void enableIsolation()
Scanner
enableIsolation
in interface Scanner
public void disableIsolation()
Scanner
disableIsolation
in interface Scanner
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 MockScannerBase
public long getReadaheadThreshold()
Scanner
Scanner
will begin to prefetch the next batchgetReadaheadThreshold
in interface Scanner
public void setReadaheadThreshold(long batches)
Scanner
Scanner
will begin to prefetch the next batchsetReadaheadThreshold
in interface Scanner
batches
- Non-negative number of batchesCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.