Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AggrOption ¶
type AggrOption struct {
// Should the aggregation be used?
Enabled bool
// Column to store the aggregation at.
Column string
}
AggrOption defines options for a single aggregation.
type AggrOptionFunc ¶
type AggrOptionFunc func(*AggrsOptions)
type AggrsOptions ¶
type AggrsOptions struct {
Sum AggrOption
Count AggrOption
Min AggrOption
Max AggrOption
// contains filtered or unexported fields
}
AggrsOptions ia a collections of aggregations-related options. Determines what aggregations are enabled etc..
type Dataframe ¶
type Dataframe interface {
Schema() Schema
RowsIterator() RowsIterator
}
Dataframe exposes ingested data to be used to turn into tabular format.
func FromSeries ¶
IteratorFromSeries returns iterator that produce dataframe for every series. TODO(bwplotka): Dataframe allows us to do bit more streaming approach. Consider this.
type Record ¶
type Record struct {
Values map[string]interface{}
}
Record is a single instance of values for specific sample.
type Row ¶
type Row []interface{}
Row stores a single line of a table - the order of columns is defined by the Schema.
type RowsIterator ¶
RowsIterator exposes the rows of the dataframe.
Click to show internal directories.
Click to hide internal directories.