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) GetMeta(key string) (*record.Meta, error)
- func (hm *HashMap) Injected() bool
- func (hm *HashMap) MaintainRecordStates(ctx context.Context, purgeDeletedBefore time.Time, shadowDelete bool) error
- func (hm *HashMap) Put(r record.Record) (record.Record, error)
- func (hm *HashMap) PutMany(shadowDelete bool) (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 ¶
func (hm *HashMap) MaintainRecordStates(ctx context.Context, purgeDeletedBefore time.Time, shadowDelete bool) error
MaintainRecordStates maintains records states in the database.
Click to show internal directories.
Click to hide internal directories.