org.apache.accumulo.core.client.impl
public class TabletServerBatchReader extends ScannerOptions implements BatchScanner
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
log |
fetchedColumns, serverSideIteratorList, serverSideIteratorOptions, timeOut
Constructor and Description |
---|
TabletServerBatchReader(Instance instance,
Credentials credentials,
String table,
Authorizations authorizations,
int numQueryThreads) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes any underlying connections on the scanner
|
protected void |
finalize()
Warning: do not rely upon finalize to close this class.
|
Iterator<Map.Entry<Key,Value>> |
iterator()
Returns an iterator over an accumulo table.
|
void |
setRanges(Collection<Range> ranges)
Allows scanning over multiple ranges efficiently.
|
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumn, fetchColumnFamily, getFetchedColumns, getTimeout, removeScanIterator, setOptions, setTimeout, updateScanIteratorOption
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setTimeout
addScanIterator, clearColumns, clearScanIterators, fetchColumn, fetchColumnFamily, getTimeout, removeScanIterator, updateScanIteratorOption
public TabletServerBatchReader(Instance instance, Credentials credentials, String table, Authorizations authorizations, int numQueryThreads)
public void close()
ScannerBase
close
in interface BatchScanner
close
in interface ScannerBase
close
in class ScannerOptions
protected void finalize()
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
iterator
in interface Iterable<Map.Entry<Key,Value>>
iterator
in interface ScannerBase
iterator
in class ScannerOptions
Copyright © 2011–2015 The Apache Software Foundation. All rights reserved.