| Modifier and Type | Method and Description |
|---|---|
ReadOptions |
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.
|
ReadOptions |
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).
|
ReadOptions |
ReadOptions.verifyChecksums(boolean verifyChecksums)
If true, all data read from underlying storage will be
verified against corresponding checksums.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
DB.get(byte[] key,
ReadOptions options)
If the database contains an entry for "key" return its corresponding
value.
|
DBIterator |
DB.iterator(ReadOptions options)
Return a iterator over the contents of the database.
|
Copyright © 2011–2020. All rights reserved.