Documentation ¶
Index ¶
- func NewMergedIterator(iters []interfaces.StorageIterator, isDelete func([]byte) bool) interfaces.StorageIterator
- type MemDB
- type MergedIterator
- func (mi *MergedIterator) Error() error
- func (mi *MergedIterator) Key() []byte
- func (mi *MergedIterator) Last() bool
- func (mi *MergedIterator) Next() bool
- func (mi *MergedIterator) Prev() bool
- func (mi *MergedIterator) Release()
- func (mi *MergedIterator) Seek(seeKey []byte) bool
- func (mi *MergedIterator) Value() []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMergedIterator ¶
func NewMergedIterator(iters []interfaces.StorageIterator, isDelete func([]byte) bool) interfaces.StorageIterator
Types ¶
type MergedIterator ¶
type MergedIterator struct {
// contains filtered or unexported fields
}
func (*MergedIterator) Error ¶
func (mi *MergedIterator) Error() error
func (*MergedIterator) Key ¶
func (mi *MergedIterator) Key() []byte
func (*MergedIterator) Last ¶
func (mi *MergedIterator) Last() bool
func (*MergedIterator) Next ¶
func (mi *MergedIterator) Next() bool
func (*MergedIterator) Prev ¶
func (mi *MergedIterator) Prev() bool
func (*MergedIterator) Release ¶
func (mi *MergedIterator) Release()
func (*MergedIterator) Value ¶
func (mi *MergedIterator) Value() []byte
Directories ¶
Path | Synopsis |
---|---|
Package leveldb provides implementation of LevelDB key/value database.
|
Package leveldb provides implementation of LevelDB key/value database. |
cache
Package cache provides interface and implementation of a cache algorithms.
|
Package cache provides interface and implementation of a cache algorithms. |
comparer
Package comparer provides interface and implementation for ordering sets of data.
|
Package comparer provides interface and implementation for ordering sets of data. |
errors
Package errors provides common error types used throughout leveldb.
|
Package errors provides common error types used throughout leveldb. |
filter
Package filter provides interface and implementation of probabilistic data structure.
|
Package filter provides interface and implementation of probabilistic data structure. |
iterator
Package iterator provides interface and implementation to traverse over contents of a database.
|
Package iterator provides interface and implementation to traverse over contents of a database. |
journal
Package journal reads and writes sequences of journals.
|
Package journal reads and writes sequences of journals. |
memdb
Package memdb provides in-memory key/value database implementation.
|
Package memdb provides in-memory key/value database implementation. |
opt
Package opt provides sets of options used by LevelDB.
|
Package opt provides sets of options used by LevelDB. |
storage
Package storage provides storage abstraction for LevelDB.
|
Package storage provides storage abstraction for LevelDB. |
table
Package table allows read and write sorted key/value.
|
Package table allows read and write sorted key/value. |
util
Package util provides utilities used throughout leveldb.
|
Package util provides utilities used throughout leveldb. |
Click to show internal directories.
Click to hide internal directories.