Documentation ¶
Index ¶
- type PebbleBatch
- func (batch *PebbleBatch) Close()
- func (batch *PebbleBatch) Commit() error
- func (batch *PebbleBatch) Del(key []byte) error
- func (batch *PebbleBatch) Get(key []byte) ([]byte, error)
- func (batch *PebbleBatch) Iterate(opt *engine.PrefixIteratorOption, handle func([]byte, []byte) error) error
- func (batch *PebbleBatch) Reset()
- func (batch *PebbleBatch) Set(key []byte, value []byte) error
- type PebbleStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PebbleBatch ¶
type PebbleBatch struct {
// contains filtered or unexported fields
}
func (*PebbleBatch) Close ¶
func (batch *PebbleBatch) Close()
func (*PebbleBatch) Commit ¶
func (batch *PebbleBatch) Commit() error
func (*PebbleBatch) Del ¶
func (batch *PebbleBatch) Del(key []byte) error
func (*PebbleBatch) Iterate ¶
func (batch *PebbleBatch) Iterate(opt *engine.PrefixIteratorOption, handle func([]byte, []byte) error) error
func (*PebbleBatch) Reset ¶
func (batch *PebbleBatch) Reset()
type PebbleStore ¶
type PebbleStore struct {
// contains filtered or unexported fields
}
func NewPebbleStore ¶
func NewPebbleStore() *PebbleStore
func (*PebbleStore) Close ¶
func (store *PebbleStore) Close() error
func (*PebbleStore) NewBatch ¶
func (store *PebbleStore) NewBatch() engine.Batch
Click to show internal directories.
Click to hide internal directories.