Documentation ¶
Overview ¶
Package aerospike provides an aerospike implementation for GeneratorStore
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneratorStore ¶
GeneratorStore A Struct that wraps an Aerospike Client and implements the GeneratorStore interface provided by HFID. This implementation utilizes a single set with a bin for the generator's properties and another bin for the generator's associated HLL
func (GeneratorStore) InsertOrGet ¶
func (gs GeneratorStore) InsertOrGet(_ context.Context, g hfid.Generator) (hfid.Generator, int64, error)
InsertOrGet Implemented using a single Operate command that creates the generator if it doesn't exist and reads the generator properties and the HyperLogLog count estimate.
Click to show internal directories.
Click to hide internal directories.