Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedIntArrayMapStore ¶ added in v0.0.12
type CachedIntArrayMapStore struct {
// contains filtered or unexported fields
}
func (*CachedIntArrayMapStore) AppendToArray ¶ added in v0.0.12
func (ms *CachedIntArrayMapStore) AppendToArray(arrayKey int64, value int64) error
func (*CachedIntArrayMapStore) FlushFile ¶ added in v0.0.12
func (ms *CachedIntArrayMapStore) FlushFile() error
func (*CachedIntArrayMapStore) GetArray ¶ added in v0.0.12
func (ms *CachedIntArrayMapStore) GetArray(arrayKey int64) ([]int64, error)
func (*CachedIntArrayMapStore) Sync ¶ added in v0.0.12
func (ms *CachedIntArrayMapStore) Sync() error
type ConcreteMapStoreCreator ¶
type ConcreteMapStoreCreator struct {
// contains filtered or unexported fields
}
func (*ConcreteMapStoreCreator) CreateMap ¶
func (c *ConcreteMapStoreCreator) CreateMap() error
func (*ConcreteMapStoreCreator) MapExists ¶
func (c *ConcreteMapStoreCreator) MapExists() bool
func (*ConcreteMapStoreCreator) OpenMap ¶
func (c *ConcreteMapStoreCreator) OpenMap() (IntArrayMapStoreReadWrite, error)
func (*ConcreteMapStoreCreator) OpenMapReadOnly ¶
func (c *ConcreteMapStoreCreator) OpenMapReadOnly() (IntArrayMapStoreReadOnly, error)
type IntArrayArray ¶
type IntArrayArray struct {
// contains filtered or unexported fields
}
func NewIntArrayArray ¶
func NewIntArrayArray(arrayCount int64, elementByteSize int64) IntArrayArray
func (*IntArrayArray) AppendToArray ¶
func (iaa *IntArrayArray) AppendToArray(key int64, val int64)
func (*IntArrayArray) GetArray ¶
func (iaa *IntArrayArray) GetArray(key int64) []int64
func (*IntArrayArray) LoadFile ¶
func (iaa *IntArrayArray) LoadFile(filepath string) error
func (*IntArrayArray) SaveFile ¶
func (iaa *IntArrayArray) SaveFile(filepath string) error
type IntArrayMapStore ¶
type IntArrayMapStore struct {
// contains filtered or unexported fields
}
func (*IntArrayMapStore) AppendToArray ¶
func (ms *IntArrayMapStore) AppendToArray(arrayKey int64, value int64) error
func (*IntArrayMapStore) FlushFile ¶
func (ms *IntArrayMapStore) FlushFile() error
func (*IntArrayMapStore) GetArray ¶
func (ms *IntArrayMapStore) GetArray(arrayKey int64) ([]int64, error)
func (*IntArrayMapStore) Sync ¶
func (ms *IntArrayMapStore) Sync() error
type IntArrayMapStoreCreator ¶
type IntArrayMapStoreCreator interface {
MapExists() bool
CreateMap() error
OpenMap() (IntArrayMapStoreReadWrite, error)
OpenMapReadOnly() (IntArrayMapStoreReadOnly, error)
}
Click to show internal directories.
Click to hide internal directories.