Documentation ¶
Index ¶
- type DB
- func (db *DB) All(opts *options.ReadOptions) iterator.Iterator
- func (db *DB) Close() error
- func (db *DB) CompactRange(start, limit []byte) error
- func (db *DB) Delete(key []byte, opts *options.WriteOptions) error
- func (db *DB) Find(start []byte, opts *options.ReadOptions) iterator.Iterator
- func (db *DB) Get(key []byte, opts *options.ReadOptions) ([]byte, error)
- func (db *DB) NewSnapshot() *Snapshot
- func (db *DB) Prefix(prefix []byte, opts *options.ReadOptions) iterator.Iterator
- func (db *DB) Put(key, value []byte, opts *options.WriteOptions) error
- func (db *DB) Range(start, limit []byte, opts *options.ReadOptions) iterator.Iterator
- func (db *DB) Write(b batch.Batch, opts *options.WriteOptions) error
- type Snapshot
- func (ss *Snapshot) All(opts *options.ReadOptions) iterator.Iterator
- func (ss *Snapshot) Find(start []byte, opts *options.ReadOptions) iterator.Iterator
- func (ss *Snapshot) Get(key []byte, opts *options.ReadOptions) ([]byte, error)
- func (ss *Snapshot) Prefix(prefix []byte, opts *options.ReadOptions) iterator.Iterator
- func (ss *Snapshot) Range(start, limit []byte, opts *options.ReadOptions) iterator.Iterator
- func (ss *Snapshot) Release()
- func (ss *Snapshot) Retain()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) CompactRange ¶
func (*DB) NewSnapshot ¶
Click to show internal directories.
Click to hide internal directories.