Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArithmeticPostAggregation ¶
type ArithmeticPostAggregation struct { PostAggregationType PostAggregationType `json:"type"` Name string `json:"name,omitempty"` Function string `json:"fn"` Fields []PostAggregator `json:"fields"` Ordering string `json:"ordering,omitempty"` }
func (ArithmeticPostAggregation) Type ¶
func (a ArithmeticPostAggregation) Type() string
type ConstantPostAggregation ¶
type ConstantPostAggregation struct { PostAggregationType PostAggregationType `json:"type"` Name string `json:"name"` Value string `json:"value"` }
func (ConstantPostAggregation) Type ¶
func (c ConstantPostAggregation) Type() string
type FieldAccessPostAggregation ¶
type FieldAccessPostAggregation struct { PostAggregationType PostAggregationType `json:"type"` Name string `json:"name,omitempty"` FieldName string `json:"fieldName"` }
FieldAccessPostAggregation can be hyperUniqueCardinality, fieldAccess, finalizingFieldAccess
func (FieldAccessPostAggregation) Type ¶
func (f FieldAccessPostAggregation) Type() string
type GreatestPostAggregation ¶
type GreatestPostAggregation struct { PostAggregationType PostAggregationType `json:"type"` Name string `json:"name"` Fields []PostAggregator `json:"fields"` }
DoubleGreatest, LongGreatest
func (GreatestPostAggregation) Type ¶
func (g GreatestPostAggregation) Type() string
type JavascriptPostAggregation ¶
type JavascriptPostAggregation struct { PostAggregationType PostAggregationType `json:"type"` Name string `json:"name,omitempty"` FieldNames []string `json:"fieldNames"` Function string `json:"function"` }
func (JavascriptPostAggregation) Type ¶
func (j JavascriptPostAggregation) Type() string
type LeastPostAggregation ¶
type LeastPostAggregation struct { PostAggregationType PostAggregationType `json:"type"` Name string `json:"name"` Fields []PostAggregator `json:"fields"` }
DoubleLeast, LongLeast
func (LeastPostAggregation) Type ¶
func (l LeastPostAggregation) Type() string
type PostAggregationType ¶
type PostAggregationType int
const ( Arithmetic PostAggregationType = iota FieldAccess FinalizingFieldAccess Constant DoubleGreatest LongGreatest DoubleLeast LongLeast Javascript HyperUniqueCardinality )
func (PostAggregationType) MarshalJSON ¶
func (p PostAggregationType) MarshalJSON() ([]byte, error)
func (PostAggregationType) Name ¶
func (p PostAggregationType) Name() string
func (PostAggregationType) Ordinal ¶
func (p PostAggregationType) Ordinal() int
func (PostAggregationType) Values ¶
func (p PostAggregationType) Values() *[]string
type PostAggregator ¶
type PostAggregator interface {
Type() string
}
Click to show internal directories.
Click to hide internal directories.