| Modifier and Type | Method and Description |
|---|---|
Snapshot |
DB.delete(byte[] key,
WriteOptions options)
Remove the database entry (if any) for "key".
|
Snapshot |
DB.getSnapshot()
Return a handle to the current DB state.
|
Snapshot |
DB.put(byte[] key,
byte[] value,
WriteOptions options)
Set the database entry for "key" to "value".
|
Snapshot |
ReadOptions.snapshot() |
Snapshot |
DB.write(WriteBatch updates,
WriteOptions options)
Apply the specified updates to the database.
|
| Modifier and Type | Method and Description |
|---|---|
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).
|
Copyright © 2011–2020. All rights reserved.