Documentation
¶
Index ¶
- type AggregatorPipe
- type BottomPipe
- type CountPipe
- type CumulativeSumPipe
- type DerivativePipe
- type DifferencePipe
- type DistinctPipe
- type DoubleEMAPipe
- type DropPipe
- type Duration
- type ElapsedPipe
- type Estimate
- type ExponentialMovingAveragePipe
- type FillPipe
- type FilterPipe
- type FirstPipe
- type GroupPipe
- type IncreasePipe
- type IntegralPipe
- type KaufmansAMAPipe
- type KaufmansERPipe
- type KeepPipe
- type LastPipe
- type LimitPipe
- type MaxPipe
- type MeanPipe
- type MedianPipe
- type MinPipe
- type ModePipe
- type MovingAveragePipe
- type QuantilePipe
- type RelativeStrengthIndexPipe
- type SkewPipe
- type SortPipe
- type SpreadPipe
- type StateCountPipe
- type StateDurationPipe
- type StateTrackingPipe
- type StddevMode
- type StddevPipe
- type SumPipe
- type TailPipe
- type TimeMovingAveragePipe
- type TimeShiftPipe
- type TimeWeightedAvgPipe
- type ToBoolPipe
- type ToFloatPipe
- type ToIntPipe
- type ToStringPipe
- type ToTimePipe
- type ToUIntPipe
- type TopPipe
- type TransformFn
- type TransformInput
- type TransformPipe
- type TripleEMAPipe
- type TripleExponentialDerivativePipe
- type TruncateTimeColumnPipe
- type UniquePipe
- type WindowPipe
- type YieldPipe
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregatorPipe ¶
type AggregatorPipe struct {
/*
Duration of windows.
Calendar months and years
every supports all valid duration units, including calendar months (1mo) and years (1y).
Aggregate by week
When aggregating by week (1w), weeks are determined using the Unix epoch (1970-01-01T00:00:00Z UTC). The Unix epoch was on a Thursday, so all calculated weeks begin on Thursday.
*/
Every Duration
/*
period
Duration of the window. Period is the length of each interval. The period can be negative, indicating the start and stop boundaries are reversed. Defaults to every value.
*/
Period *Duration
/*
column
The column on which to operate. Defaults to "_value".
*/
Column *string
TimeSrc *string
TimeDst *string
CreateEmpty *bool
Offset *Duration
Fn TransformFn
}
func (*AggregatorPipe) Pipe ¶
func (a *AggregatorPipe) Pipe() (string, error)
type BottomPipe ¶
func (*BottomPipe) Pipe ¶
func (a *BottomPipe) Pipe() (string, error)
type CumulativeSumPipe ¶
type CumulativeSumPipe struct {
Columns []string
}
func (*CumulativeSumPipe) Pipe ¶
func (a *CumulativeSumPipe) Pipe() (string, error)
type DerivativePipe ¶
func (*DerivativePipe) Pipe ¶
func (a *DerivativePipe) Pipe() (string, error)
type DifferencePipe ¶
func (*DifferencePipe) Pipe ¶
func (a *DifferencePipe) Pipe() (string, error)
type DistinctPipe ¶
type DistinctPipe struct {
Column *string
}
func (*DistinctPipe) Pipe ¶
func (a *DistinctPipe) Pipe() (string, error)
type DoubleEMAPipe ¶
type DoubleEMAPipe struct {
N int
}
func (*DoubleEMAPipe) Pipe ¶
func (a *DoubleEMAPipe) Pipe() (string, error)
type ElapsedPipe ¶
func (*ElapsedPipe) Pipe ¶
func (a *ElapsedPipe) Pipe() (string, error)
type ExponentialMovingAveragePipe ¶
type ExponentialMovingAveragePipe struct {
N int
}
func (*ExponentialMovingAveragePipe) Pipe ¶
func (a *ExponentialMovingAveragePipe) Pipe() (string, error)
type FilterPipe ¶
type FilterPipe struct {
Fn string
}
func (*FilterPipe) Pipe ¶
func (a *FilterPipe) Pipe() (string, error)
type IncreasePipe ¶
type IncreasePipe struct {
Columns []string
}
func (*IncreasePipe) Pipe ¶
func (a *IncreasePipe) Pipe() (string, error)
type IntegralPipe ¶
func (*IntegralPipe) Pipe ¶
func (a *IntegralPipe) Pipe() (string, error)
type KaufmansAMAPipe ¶
func (*KaufmansAMAPipe) Pipe ¶
func (a *KaufmansAMAPipe) Pipe() (string, error)
type KaufmansERPipe ¶
type KaufmansERPipe struct {
N int
}
func (*KaufmansERPipe) Pipe ¶
func (a *KaufmansERPipe) Pipe() (string, error)
type MedianPipe ¶
func (*MedianPipe) Pipe ¶
func (a *MedianPipe) Pipe() (string, error)
type MovingAveragePipe ¶
type MovingAveragePipe struct {
N int
}
func (*MovingAveragePipe) Pipe ¶
func (a *MovingAveragePipe) Pipe() (string, error)
type QuantilePipe ¶
func (*QuantilePipe) Pipe ¶
func (a *QuantilePipe) Pipe() (string, error)
type RelativeStrengthIndexPipe ¶
func (*RelativeStrengthIndexPipe) Pipe ¶
func (a *RelativeStrengthIndexPipe) Pipe() (string, error)
type SpreadPipe ¶
type SpreadPipe struct {
Column *string
}
func (*SpreadPipe) Pipe ¶
func (a *SpreadPipe) Pipe() (string, error)
type StateCountPipe ¶
func (*StateCountPipe) Pipe ¶
func (a *StateCountPipe) Pipe() (string, error)
type StateDurationPipe ¶
func (*StateDurationPipe) Pipe ¶
func (a *StateDurationPipe) Pipe() (string, error)
type StateTrackingPipe ¶
type StateTrackingPipe struct {
CountColumn *string
DurationColumn *string
Fn string
DurationUnit *Duration
}
func (*StateTrackingPipe) Pipe ¶
func (a *StateTrackingPipe) Pipe() (string, error)
type StddevMode ¶
type StddevMode string // "population" or "sample"
const ( StddevModePopulation StddevMode = "population" StddevModeSample StddevMode = "sample" )
type StddevPipe ¶
type StddevPipe struct {
Column *string
Mode *StddevMode
}
func (*StddevPipe) Pipe ¶
func (a *StddevPipe) Pipe() (string, error)
type TimeMovingAveragePipe ¶
func (*TimeMovingAveragePipe) Pipe ¶
func (a *TimeMovingAveragePipe) Pipe() (string, error)
type TimeShiftPipe ¶
func (*TimeShiftPipe) Pipe ¶
func (a *TimeShiftPipe) Pipe() (string, error)
type TimeWeightedAvgPipe ¶
type TimeWeightedAvgPipe struct {
Unit Duration
}
func (*TimeWeightedAvgPipe) Pipe ¶
func (a *TimeWeightedAvgPipe) Pipe() (string, error)
type ToBoolPipe ¶
type ToBoolPipe struct{}
func (*ToBoolPipe) Pipe ¶
func (a *ToBoolPipe) Pipe() (string, error)
type ToFloatPipe ¶
type ToFloatPipe struct{}
func (*ToFloatPipe) Pipe ¶
func (a *ToFloatPipe) Pipe() (string, error)
type ToStringPipe ¶
type ToStringPipe struct{}
func (*ToStringPipe) Pipe ¶
func (a *ToStringPipe) Pipe() (string, error)
type ToTimePipe ¶
type ToTimePipe struct{}
func (*ToTimePipe) Pipe ¶
func (a *ToTimePipe) Pipe() (string, error)
type ToUIntPipe ¶
type ToUIntPipe struct{}
func (*ToUIntPipe) Pipe ¶
func (a *ToUIntPipe) Pipe() (string, error)
type TransformFn ¶
type TransformFn string
const ( // Mean Mean TransformFn = "mean" // Min Min TransformFn = "min" // Max Max TransformFn = "max" // Sum Sum TransformFn = "sum" // Count Count TransformFn = "count" // Stddev Stddev TransformFn = "stddev" // Median Median TransformFn = "median" // First First TransformFn = "first" // Last Last TransformFn = "last" // Integral Integral TransformFn = "integral" // Mode Mode TransformFn = "mode" // Skew Skew TransformFn = "skew" // Spread Spread TransformFn = "spread" // Distinct Distinct TransformFn = "distinct" // Unique Unique TransformFn = "unique" )
type TransformInput ¶
func (*TransformInput) Transform ¶
func (t *TransformInput) Transform() (TransformPipe, error)
type TransformPipe ¶
type TripleEMAPipe ¶
type TripleEMAPipe struct {
N int
}
func (*TripleEMAPipe) Pipe ¶
func (a *TripleEMAPipe) Pipe() (string, error)
type TripleExponentialDerivativePipe ¶
type TripleExponentialDerivativePipe struct {
N int
}
func (*TripleExponentialDerivativePipe) Pipe ¶
func (a *TripleExponentialDerivativePipe) Pipe() (string, error)
type TruncateTimeColumnPipe ¶
type TruncateTimeColumnPipe struct {
Unit Duration
}
func (*TruncateTimeColumnPipe) Pipe ¶
func (a *TruncateTimeColumnPipe) Pipe() (string, error)
type UniquePipe ¶
type UniquePipe struct {
Column *string
}
func (*UniquePipe) Pipe ¶
func (a *UniquePipe) Pipe() (string, error)
Click to show internal directories.
Click to hide internal directories.