Documentation ¶
Index ¶
- func LiteralJSON(lit string, litType string) ([]byte, error)
- func MarshalJSON(v interface{}) ([]byte, error)
- type BinaryExpr
- type BooleanLiteral
- type Call
- type Condition
- type Dimension
- type Dimensions
- type Distinct
- type DurationLiteral
- type Field
- type Fields
- type Fill
- type IntegerLiteral
- type Limits
- type ListLiteral
- type Measurement
- type NumberLiteral
- type ParenExpr
- type RegexLiteral
- type SelectStatement
- type SortField
- type SortFields
- type Source
- type Sources
- type StringLiteral
- type TimeLiteral
- type VarRef
- type Wildcard
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalJSON ¶
Types ¶
type BinaryExpr ¶
type BinaryExpr struct {
*influxql.BinaryExpr
}
func (*BinaryExpr) MarshalJSON ¶
func (b *BinaryExpr) MarshalJSON() ([]byte, error)
type BooleanLiteral ¶
type BooleanLiteral struct {
*influxql.BooleanLiteral
}
func (*BooleanLiteral) MarshalJSON ¶
func (b *BooleanLiteral) MarshalJSON() ([]byte, error)
type Call ¶
func (*Call) MarshalJSON ¶
type Condition ¶
func (*Condition) MarshalJSON ¶
type Dimension ¶
func (*Dimension) MarshalJSON ¶
type Dimensions ¶
type Dimensions struct { influxql.Dimensions FillOption influxql.FillOption FillValue interface{} }
func (*Dimensions) MarshalJSON ¶
func (d *Dimensions) MarshalJSON() ([]byte, error)
type Distinct ¶
func (*Distinct) MarshalJSON ¶
type DurationLiteral ¶
type DurationLiteral struct {
*influxql.DurationLiteral
}
func (*DurationLiteral) MarshalJSON ¶
func (d *DurationLiteral) MarshalJSON() ([]byte, error)
type Field ¶
func (*Field) MarshalJSON ¶
type Fields ¶
func (*Fields) MarshalJSON ¶
type Fill ¶
type Fill struct { Option influxql.FillOption Value interface{} }
func (*Fill) MarshalJSON ¶
type IntegerLiteral ¶
type IntegerLiteral struct {
*influxql.IntegerLiteral
}
func (*IntegerLiteral) MarshalJSON ¶
func (i *IntegerLiteral) MarshalJSON() ([]byte, error)
type ListLiteral ¶
type ListLiteral struct {
*influxql.ListLiteral
}
TODO: I don't think list is right
func (*ListLiteral) MarshalJSON ¶
func (l *ListLiteral) MarshalJSON() ([]byte, error)
type Measurement ¶
type NumberLiteral ¶
type NumberLiteral struct {
*influxql.NumberLiteral
}
func (*NumberLiteral) MarshalJSON ¶
func (n *NumberLiteral) MarshalJSON() ([]byte, error)
type ParenExpr ¶
func (*ParenExpr) MarshalJSON ¶
type RegexLiteral ¶
type RegexLiteral struct {
*influxql.RegexLiteral
}
func (*RegexLiteral) MarshalJSON ¶
func (r *RegexLiteral) MarshalJSON() ([]byte, error)
type SelectStatement ¶
type SelectStatement struct {
*influxql.SelectStatement
}
func ParseSelect ¶
func ParseSelect(q string) (*SelectStatement, error)
func (*SelectStatement) MarshalJSON ¶
func (s *SelectStatement) MarshalJSON() ([]byte, error)
type SortField ¶
func (*SortField) MarshalJSON ¶
type SortFields ¶
type SortFields struct {
influxql.SortFields
}
func (*SortFields) MarshalJSON ¶
func (f *SortFields) MarshalJSON() ([]byte, error)
type Source ¶
func (*Source) MarshalJSON ¶
type Sources ¶
func (*Sources) MarshalJSON ¶
TODO: Handle subqueries
type StringLiteral ¶
type StringLiteral struct {
*influxql.StringLiteral
}
func (*StringLiteral) MarshalJSON ¶
func (s *StringLiteral) MarshalJSON() ([]byte, error)
type TimeLiteral ¶
type TimeLiteral struct {
*influxql.TimeLiteral
}
func (*TimeLiteral) MarshalJSON ¶
func (t *TimeLiteral) MarshalJSON() ([]byte, error)
type VarRef ¶
func (*VarRef) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.