Documentation ¶
Index ¶
- type ClusterConsensus
- type Field
- type Store
- func (self *Store) DropDatabase(database string) ([]*Field, error)
- func (self *Store) DropSeries(database, series string) ([]*Field, error)
- func (self *Store) GetFieldsForDatabase(database string) []*Field
- func (self *Store) GetFieldsForSeries(database, series string) []*Field
- func (self *Store) GetOrSetFieldIds(database string, series []*protocol.Series) error
- func (self *Store) GetSeriesForDatabase(database string) []string
- func (self *Store) GetSeriesForDatabaseAndRegex(database string, regex *regexp.Regexp) []string
- func (self *Store) ReplaceFieldNamesWithFieldIds(database string, series []*protocol.Series) error
- func (self *Store) SetClusterConsensus(c ClusterConsensus)
- func (self *Store) ToJson() ([]byte, error)
- func (self *Store) UpdateFromSnapshot(other *Store)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterConsensus ¶
type Store ¶
type Store struct { // Map of databases > series > fields StringsToIds map[string]map[string]map[string]uint64 // Map of ids to the field names. Don't need to know which database or series // they track to since we have that information elsewhere LastIdUsed uint64 // contains filtered or unexported fields }
func NewStoreFromJson ¶
func (*Store) GetFieldsForDatabase ¶
func (*Store) GetFieldsForSeries ¶
func (*Store) GetOrSetFieldIds ¶
func (*Store) GetSeriesForDatabase ¶
func (*Store) GetSeriesForDatabaseAndRegex ¶
func (*Store) ReplaceFieldNamesWithFieldIds ¶
func (*Store) SetClusterConsensus ¶
func (self *Store) SetClusterConsensus(c ClusterConsensus)
func (*Store) UpdateFromSnapshot ¶
Click to show internal directories.
Click to hide internal directories.