public class ReadOptions extends Object
| Constructor and Description |
|---|
ReadOptions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fillCache() |
ReadOptions |
fillCache(boolean fillCache)
Should the data read for this iteration be cached in memory?
Callers may wish to set this field to false for bulk scans.
|
Snapshot |
snapshot() |
ReadOptions |
snapshot(Snapshot snapshot)
If "snapshot" is non-null, read as of the supplied snapshot
(which must belong to the DB that is being read and which must
not have been closed).
|
boolean |
verifyChecksums() |
ReadOptions |
verifyChecksums(boolean verifyChecksums)
If true, all data read from underlying storage will be
verified against corresponding checksums.
|
public Snapshot snapshot()
public ReadOptions snapshot(Snapshot snapshot)
public boolean fillCache()
public ReadOptions fillCache(boolean fillCache)
public boolean verifyChecksums()
public ReadOptions verifyChecksums(boolean verifyChecksums)
Copyright © 2011–2020. All rights reserved.