Exemple #1
0
 public void Next()
 {
     Native.leveldb_iter_next(Handle);
 }
Exemple #2
0
 public void Seek(string key)
 {
     Native.leveldb_iter_seek(Handle, key);
 }
Exemple #3
0
 public void Previous()
 {
     Native.leveldb_iter_prev(Handle);
 }
Exemple #4
0
 public void SeekToFirst()
 {
     Native.leveldb_iter_seek_to_first(Handle);
 }
Exemple #5
0
 public void SeekToLast()
 {
     Native.leveldb_iter_seek_to_last(Handle);
 }
Exemple #6
0
 public void Clear()
 {
     Native.leveldb_writebatch_clear(Handle);
 }
Exemple #7
0
 public WriteBatch Delete(byte[] key)
 {
     Native.leveldb_writebatch_delete(Handle, key);
     return(this);
 }
Exemple #8
0
 public WriteBatch Put(byte[] key, byte[] value)
 {
     Native.leveldb_writebatch_put(Handle, key, value);
     return(this);
 }
Exemple #9
0
 public WriteBatch Put(string key, string value)
 {
     Native.leveldb_writebatch_put(Handle, key, value);
     return(this);
 }
Exemple #10
0
 public WriteBatch()
 {
     Handle = Native.leveldb_writebatch_create();
 }