Documentation ¶
Index ¶
- func NewBBolt(name, location string) (storage.Interface, error)
- type BBolt
- func (b *BBolt) Delete(key string) error
- func (b *BBolt) Get(key string) (record.Record, error)
- func (b *BBolt) Injected() bool
- func (b *BBolt) Maintain(_ context.Context) error
- func (b *BBolt) MaintainRecordStates(ctx context.Context, purgeDeletedBefore time.Time) error
- func (b *BBolt) MaintainThorough(_ context.Context) error
- func (b *BBolt) Put(r record.Record) (record.Record, error)
- func (b *BBolt) PutMany() (chan<- record.Record, <-chan error)
- func (b *BBolt) Query(q *query.Query, local, internal bool) (*iterator.Iterator, error)
- func (b *BBolt) ReadOnly() bool
- func (b *BBolt) Shutdown() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BBolt ¶
type BBolt struct {
// contains filtered or unexported fields
}
BBolt database made pluggable for portbase.
func (*BBolt) MaintainRecordStates ¶ added in v0.5.2
MaintainRecordStates maintains records states in the database.
func (*BBolt) MaintainThorough ¶
MaintainThorough runs a thorough maintenance operation on the database.
Click to show internal directories.
Click to hide internal directories.