Method | Description | |
---|---|---|
Clear ( ) : void |
Clear all updates buffered in this batch.
|
|
Delete ( byte key ) : |
If the database contains a mapping for "key", erase it. Else do nothing.
|
|
Delete ( string key ) : |
If the database contains a mapping for "key", erase it. Else do nothing.
|
|
Iterate ( object state, Action put, Action deleted ) : void |
Support for iterating over a batch.
|
|
Put ( byte key, byte value ) : |
Store the mapping "key->value" in the database.
|
|
Put ( string key, string value ) : |
Store the mapping "key->value" in the database.
|
|
WriteBatch ( ) : System |
Method | Description | |
---|---|---|
FreeUnManagedObjects ( ) : void |
public Iterate ( object state, Action put, Action deleted ) : void | ||
state | object | |
put | Action | |
deleted | Action | |
return | void |
public Put ( byte key, byte value ) : |
||
key | byte | |
value | byte | |
return |
public Put ( string key, string value ) : |
||
key | string | |
value | string | |
return |