Documentation
¶
Index ¶
- Constants
- func NewAttrStore(path string) pilosa.AttrStore
- type AttrCache
- type AttrStore
- func (s *AttrStore) Attrs(id uint64) (m map[string]interface{}, err error)
- func (s *AttrStore) BlockData(i uint64) (map[uint64]map[string]interface{}, error)
- func (s *AttrStore) Blocks() ([]pilosa.AttrBlock, error)
- func (s *AttrStore) Close() error
- func (s *AttrStore) Open() error
- func (s *AttrStore) Path() string
- func (s *AttrStore) SetAttrs(id uint64, m map[string]interface{}) error
- func (s *AttrStore) SetBulkAttrs(m map[uint64]map[string]interface{}) error
Constants ¶
View Source
const AttrBlockSize = 100
AttrBlockSize is the size of attribute blocks for anti-entropy.
Variables ¶
This section is empty.
Functions ¶
func NewAttrStore ¶
NewAttrStore returns a new instance of AttrStore.
Types ¶
type AttrCache ¶
type AttrCache struct {
// contains filtered or unexported fields
}
AttrCache represents a cache for attributes.
func NewAttrCache ¶
func NewAttrCache() *AttrCache
NewAttrCache returns a new instance of AttrCache.
type AttrStore ¶
type AttrStore struct {
// contains filtered or unexported fields
}
AttrStore represents a storage layer for attributes.
Click to show internal directories.
Click to hide internal directories.