Documentation
¶
Index ¶
- type DBIterator
- type Engine
- type Item
- type OctopusDB
- func (o *OctopusDB) Close() error
- func (o *OctopusDB) Del(key []byte) error
- func (o *OctopusDB) Get(key []byte) (*utils2.Entry, error)
- func (o *OctopusDB) Info() *stat
- func (o *OctopusDB) InitVlog()
- func (o *OctopusDB) NewIterator(opt *utils2.Options) utils2.Iterator
- func (o *OctopusDB) RunValueLogGC(discardRatio float64) error
- func (o *OctopusDB) Set(data *utils2.Entry) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBIterator ¶
type DBIterator struct {
// contains filtered or unexported fields
}
func (*DBIterator) Close ¶
func (iter *DBIterator) Close() error
func (*DBIterator) Item ¶
func (iter *DBIterator) Item() utils2.Item
func (*DBIterator) Next ¶
func (iter *DBIterator) Next()
func (*DBIterator) Rewind ¶
func (iter *DBIterator) Rewind()
func (*DBIterator) Seek ¶
func (iter *DBIterator) Seek(key []byte)
func (*DBIterator) Valid ¶
func (iter *DBIterator) Valid() bool
type OctopusDB ¶
func (*OctopusDB) NewIterator ¶
func (*OctopusDB) RunValueLogGC ¶
RunValueLogGC triggers a value log garbage collection.
Click to show internal directories.
Click to hide internal directories.