Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ICommitter ¶
type ICommitter interface {
Commit(context.Context, *openkv.WriteBatch) error
}
type IKV ¶
type IKV interface { // get Get(key []byte) ([]byte, error) GetSlice(key []byte) (openkvDriver.ISlice, error) // just single w put/del Put(key []byte, value []byte) error Delete(key []byte) error // iter NewIterator() *openkv.Iterator // new WriteBatch used to batch w put/del NewWriteBatch() *openkv.WriteBatch // range iter RangeIterator(min []byte, max []byte, rangeType driver.RangeType) *openkv.RangeLimitIterator RevRangeIterator(min []byte, max []byte, rangeType driver.RangeType) *openkv.RangeLimitIterator RangeLimitIterator(min []byte, max []byte, rangeType driver.RangeType, offset int, count int) *openkv.RangeLimitIterator RevRangeLimitIterator(min []byte, max []byte, rangeType driver.RangeType, offset int, count int) *openkv.RangeLimitIterator // compact to gc Compact() error Close() error }
Click to show internal directories.
Click to hide internal directories.