Documentation ¶
Index ¶
- type HybridDB
- func (db *HybridDB) Clear(bucket []byte) error
- func (db *HybridDB) Close() error
- func (db *HybridDB) Delete(bucket, key []byte) error
- func (db *HybridDB) DoesKeyExist(bucket, key []byte) (bool, error)
- func (db *HybridDB) Get(bucket, key []byte, destination interfaces.BinaryMarshallable) (interfaces.BinaryMarshallable, error)
- func (db *HybridDB) GetAll(bucket []byte, sample interfaces.BinaryMarshallableAndCopyable) ([]interfaces.BinaryMarshallableAndCopyable, [][]byte, error)
- func (db *HybridDB) ListAllBuckets() ([][]byte, error)
- func (db *HybridDB) ListAllKeys(bucket []byte) ([][]byte, error)
- func (db *HybridDB) Put(bucket, key []byte, data interfaces.BinaryMarshallable) error
- func (db *HybridDB) PutInBatch(records []interfaces.Record) error
- func (db *HybridDB) Trim()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HybridDB ¶
func NewBoltMapHybridDB ¶
func NewLevelMapHybridDB ¶
func (*HybridDB) Get ¶
func (db *HybridDB) Get(bucket, key []byte, destination interfaces.BinaryMarshallable) (interfaces.BinaryMarshallable, error)
func (*HybridDB) GetAll ¶
func (db *HybridDB) GetAll(bucket []byte, sample interfaces.BinaryMarshallableAndCopyable) ([]interfaces.BinaryMarshallableAndCopyable, [][]byte, error)
func (*HybridDB) ListAllBuckets ¶
func (*HybridDB) Put ¶
func (db *HybridDB) Put(bucket, key []byte, data interfaces.BinaryMarshallable) error
func (*HybridDB) PutInBatch ¶
func (db *HybridDB) PutInBatch(records []interfaces.Record) error
Click to show internal directories.
Click to hide internal directories.