| Modifier and Type | Method and Description |
|---|---|
WriteOptions |
WriteOptions.snapshot(boolean snapshot) |
WriteOptions |
WriteOptions.sync(boolean sync) |
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
DB.delete(byte[] key,
WriteOptions options)
Remove the database entry (if any) for "key".
|
Snapshot |
DB.put(byte[] key,
byte[] value,
WriteOptions options)
Set the database entry for "key" to "value".
|
Snapshot |
DB.write(WriteBatch updates,
WriteOptions options)
Apply the specified updates to the database.
|
Copyright © 2011–2020. All rights reserved.