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