Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Tokens Specific to INFLUXDB TokenShortDesc lex.TokenType = 1000 TokenLongDesc lex.TokenType = 1001 TokenKind lex.TokenType = 1002 )
View Source
var InfluxQlDialect *lex.Dialect = &lex.Dialect{ Statements: []*lex.Clause{ {Token: lex.TokenSelect, Clauses: selectQl}, }, }
Functions ¶
func LexColumnsInflux ¶
Handle influx columns
SELECT valuect(item) AS stuff SHORTDESC "stuff" KIND INT
Examples:
(colx = y OR colb = b) cola = 'a5'p cola != "a5", colb = "a6" REPLACE(cola,"stuff") != "hello" FirstName = REPLACE(LOWER(name," ")) cola IN (1,2,3) cola LIKE "abc" eq(name,"bob") AND age > 5
Types ¶
type Ast ¶
type Ast struct { Comments string `json:",omitempty"` // Any comments Select *SelectStmt }
Click to show internal directories.
Click to hide internal directories.