Documentation ¶
Index ¶
Constants ¶
View Source
const ( CountKind = "count" SumKind = "sum" FirstKind = "first" LastKind = "last" MinKind = "min" MaxKind = "max" MeanKind = "mean" )
Variables ¶
This section is empty.
Functions ¶
func IsSelector ¶
Types ¶
type BooleanAggregateAccumulator ¶ added in v2.0.5
type BooleanAggregateAccumulator interface { // AccumulateFirst receives an initial array of items to select from. // It selects an item and stores the state. Afterwards, more data can // be supplied with AccumulateMore and the results can be requested at // any time. Without a call to AccumulateFirst the results are not // defined. AccumulateFirst(timestamps []int64, values []bool, tags [][]byte) // AccumulateMore receives additional array elements to select from. AccumulateMore(timestamps []int64, values []bool, tags [][]byte) // Result returns the item selected from the data received so far. Result() (int64, bool, [][]byte) }
type FloatAggregateAccumulator ¶ added in v2.0.5
type FloatAggregateAccumulator interface { // AccumulateFirst receives an initial array of items to select from. // It selects an item and stores the state. Afterwards, more data can // be supplied with AccumulateMore and the results can be requested at // any time. Without a call to AccumulateFirst the results are not // defined. AccumulateFirst(timestamps []int64, values []float64, tags [][]byte) // AccumulateMore receives additional array elements to select from. AccumulateMore(timestamps []int64, values []float64, tags [][]byte) // Result returns the item selected from the data received so far. Result() (int64, float64, [][]byte) }
type GroupCursorError ¶
type GroupCursorError struct {
// contains filtered or unexported fields
}
GroupCursorError is returned when two different cursor types are read for the same table.
func (*GroupCursorError) Error ¶
func (err *GroupCursorError) Error() string
type IntegerAggregateAccumulator ¶ added in v2.0.5
type IntegerAggregateAccumulator interface { // AccumulateFirst receives an initial array of items to select from. // It selects an item and stores the state. Afterwards, more data can // be supplied with AccumulateMore and the results can be requested at // any time. Without a call to AccumulateFirst the results are not // defined. AccumulateFirst(timestamps []int64, values []int64, tags [][]byte) // AccumulateMore receives additional array elements to select from. AccumulateMore(timestamps []int64, values []int64, tags [][]byte) // Result returns the item selected from the data received so far. Result() (int64, int64, [][]byte) }
type StringAggregateAccumulator ¶ added in v2.0.5
type StringAggregateAccumulator interface { // AccumulateFirst receives an initial array of items to select from. // It selects an item and stores the state. Afterwards, more data can // be supplied with AccumulateMore and the results can be requested at // any time. Without a call to AccumulateFirst the results are not // defined. AccumulateFirst(timestamps []int64, values []string, tags [][]byte) // AccumulateMore receives additional array elements to select from. AccumulateMore(timestamps []int64, values []string, tags [][]byte) // Result returns the item selected from the data received so far. Result() (int64, string, [][]byte) }
type UnsignedAggregateAccumulator ¶ added in v2.0.5
type UnsignedAggregateAccumulator interface { // AccumulateFirst receives an initial array of items to select from. // It selects an item and stores the state. Afterwards, more data can // be supplied with AccumulateMore and the results can be requested at // any time. Without a call to AccumulateFirst the results are not // defined. AccumulateFirst(timestamps []int64, values []uint64, tags [][]byte) // AccumulateMore receives additional array elements to select from. AccumulateMore(timestamps []int64, values []uint64, tags [][]byte) // Result returns the item selected from the data received so far. Result() (int64, uint64, [][]byte) }
Click to show internal directories.
Click to hide internal directories.