Documentation ¶
Overview ¶
Package query implements a parser for the Ekanite query language. It borrows heavily from the InfluxDB 0.9 release series query parser.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryExpr ¶
BinaryExpr represents a binary expression.
func (*BinaryExpr) String ¶
func (b *BinaryExpr) String() string
type Expr ¶
type Expr interface {
// contains filtered or unexported methods
}
Expr represents an expression.
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
Lexer represents a lexer.
type ParenExpr ¶
type ParenExpr struct {
Expr Expr
}
ParenExpr represents a parenthesized expression.
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser represents a command parser
type Statement ¶
type Statement struct {
Expressions []*FieldExpr
}
Statement is an encapsulation of a set of term queries. AND is implicit.
Click to show internal directories.
Click to hide internal directories.