Documentation
¶
Overview ¶
Package executor defines the specifications accessing underlying data repositories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionContext ¶
type ExecutionContext interface {
Shards(entity tsdb.Entity) ([]tsdb.Shard, error)
Shard(id common.ShardID) (tsdb.Shard, error)
ParseTagFamily(family string, item tsdb.Item) (*modelv1.TagFamily, error)
}
ExecutionContext allows retrieving data from tsdb.
type MeasureExecutable ¶
type MeasureExecutable interface {
Execute(MeasureExecutionContext) (MIterator, error)
}
MeasureExecutable allows querying in the measure schema.
type MeasureExecutionContext ¶
type MeasureExecutionContext interface {
ExecutionContext
ParseField(name string, item tsdb.Item) (*measurev1.DataPoint_Field, error)
}
MeasureExecutionContext allows retrieving data through the measure module.
type StreamExecutable ¶
type StreamExecutable interface {
Execute(StreamExecutionContext) ([]*streamv1.Element, error)
}
StreamExecutable allows querying in the stream schema.
type StreamExecutionContext ¶
type StreamExecutionContext interface {
ExecutionContext
ParseElementID(item tsdb.Item) (string, error)
}
StreamExecutionContext allows retrieving data through the stream module.
Click to show internal directories.
Click to hide internal directories.