Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AndHavingSpec ¶
type AndHavingSpec struct {
HavingType HavingType `json:"type"`
HavingSpecs []Having `json:"havingSpecs"`
}
type DimSelectorHavingSpec ¶
type DimSelectorHavingSpec struct {
HavingType HavingType `json:"type"`
Dimension string `json:"dimension"`
Value int64 `json:"value"`
}
type FilterHavingSpec ¶
type FilterHavingSpec struct {
HavingType HavingType `json:"type"`
Filter filter.Filter `json:"filter"`
}
type HavingType ¶
type HavingType int
const ( Filter HavingType = iota EqualTo GreaterThan LessThan DimSelector And Or Not )
func (HavingType) MarshalJSON ¶
func (h HavingType) MarshalJSON() ([]byte, error)
func (HavingType) Name ¶
func (h HavingType) Name() string
func (HavingType) Ordinal ¶
func (h HavingType) Ordinal() int
func (HavingType) Values ¶
func (h HavingType) Values() *[]string
type NotHavingSpec ¶
type NotHavingSpec struct {
HavingType HavingType `json:"type"`
HavingSpec Having `json:"havingSpec"`
}
type NumericHavingSpec ¶
type NumericHavingSpec struct {
HavingType HavingType `json:"type"`
Aggregation string `json:"aggregation"`
Value int64 `json:"value"`
}
equalTo, lessThan, greaterThan
type OrHavingSpec ¶
type OrHavingSpec struct {
HavingType HavingType `json:"type"`
HavingSpecs []Having `json:"havingSpecs"`
}
Click to show internal directories.
Click to hide internal directories.