Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type And ¶
type And struct { Base HavingSpecs []builder.HavingSpec `json:"havingSpecs,omitempty"` }
func (*And) SetHavingSpecs ¶
func (a *And) SetHavingSpecs(havingSpecs []builder.HavingSpec) *And
func (*And) UnmarshalJSON ¶
type Base ¶
type Base struct {
Typ builder.ComponentType `json:"type,omitempty"`
}
func (*Base) Type ¶
func (b *Base) Type() builder.ComponentType
type DimSelector ¶
type DimSelector struct { Base Dimension string `json:"dimension,omitempty"` Value string `json:"value,omitempty"` ExtractionFn builder.ExtractionFn `json:"extractionFn,omitempty"` }
func NewDimSelector ¶
func NewDimSelector() *DimSelector
func (*DimSelector) SetDimension ¶
func (d *DimSelector) SetDimension(dimension string) *DimSelector
func (*DimSelector) SetExtractionFn ¶
func (d *DimSelector) SetExtractionFn(extractionFn builder.ExtractionFn) *DimSelector
func (*DimSelector) SetValue ¶
func (d *DimSelector) SetValue(value string) *DimSelector
func (*DimSelector) UnmarshalJSON ¶
func (d *DimSelector) UnmarshalJSON(data []byte) error
type EqualTo ¶
type EqualTo struct { Base Aggregation string `json:"aggregation,omitempty"` Value float64 `json:"value,omitempty"` }
func NewEqualTo ¶
func NewEqualTo() *EqualTo
func (*EqualTo) SetAggregation ¶
type GreaterThan ¶
type GreaterThan struct { Base Aggregation string `json:"aggregation,omitempty"` Value float64 `json:"value,omitempty"` }
func NewGreaterThan ¶
func NewGreaterThan() *GreaterThan
func (*GreaterThan) SetAggregation ¶
func (g *GreaterThan) SetAggregation(aggregation string) *GreaterThan
func (*GreaterThan) SetValue ¶
func (g *GreaterThan) SetValue(value float64) *GreaterThan
type LessThan ¶
type LessThan struct { Base Aggregation string `json:"aggregation,omitempty"` Value float64 `json:"value,omitempty"` }
func NewLessThan ¶
func NewLessThan() *LessThan
func (*LessThan) SetAggregation ¶
type Not ¶
type Not struct { Base HavingSpec builder.HavingSpec `json:"havingSpec,omitempty"` }
func (*Not) SetHavingSpecs ¶
func (n *Not) SetHavingSpecs(havingSpec builder.HavingSpec) *Not
func (*Not) UnmarshalJSON ¶
type Or ¶
type Or struct { Base HavingSpecs []builder.HavingSpec `json:"havingSpecs,omitempty"` }
func (*Or) SetHavingSpecs ¶
func (o *Or) SetHavingSpecs(havingSpecs []builder.HavingSpec) *Or
func (*Or) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.