| Modifier and Type | Method and Description |
|---|---|
WriteBatch |
DB.createWriteBatch() |
WriteBatch |
WriteBatch.delete(byte[] key)
If the database contains a mapping for "key", erase it.
|
WriteBatch |
WriteBatch.put(byte[] key,
byte[] value)
Store the mapping key and value in the database.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DB.write(WriteBatch updates) |
Snapshot |
DB.write(WriteBatch updates,
WriteOptions options)
Apply the specified updates to the database.
|
Copyright © 2011–2020. All rights reserved.