Documentation
¶
Overview ¶
Package stream implements a time-series-based storage which is consists of a sequence of element. Each element drops in a arbitrary interval. They are immutable, can not be updated or overwritten.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stream ¶
type Stream interface {
io.Closer
Shards(entity tsdb.Entity) ([]tsdb.Shard, error)
Shard(id common.ShardID) (tsdb.Shard, error)
ParseTagFamily(family string, item tsdb.Item) (*modelv1.TagFamily, error)
ParseElementID(item tsdb.Item) (string, error)
GetSchema() *databasev1.Stream
GetIndexRules() []*databasev1.IndexRule
}
Stream allows inspecting elements' details.
Click to show internal directories.
Click to hide internal directories.