Documentation ¶
Index ¶
- Constants
- func NewAST() *condAST
- func NewExprStack() *exprStack
- type BinaryExprAST
- type CompItem
- type CondValue
- type Condition
- func (cond *Condition) And(comparator string, value interface{}, columns ...string) *Condition
- func (cond *Condition) AndCond(otherCond *Condition) *Condition
- func (cond *Condition) Or(comparator string, value interface{}, columns ...string) *Condition
- func (cond *Condition) OrCond(otherCond *Condition) *Condition
- func (cond *Condition) Prepare() ExprAST
- func (cond *Condition) String() string
- type ExprAST
- type ValueExprAST
Constants ¶
View Source
const ( ConditionTypeSeries = iota ConditionTypeDataFrame )
View Source
const ( ComparatorGT = ">" ComparatorLT = "<" ComparatorGTE = ">=" ComparatorEq = "=" ComparatorLTE = "<=" ComparatorIn = "in" ComparatorIsNan = "is_nan" )
Variables ¶
This section is empty.
Functions ¶
func NewExprStack ¶
func NewExprStack() *exprStack
Types ¶
type BinaryExprAST ¶
type CondValue ¶
func (*CondValue) CompareBool ¶
func (*CondValue) CompareFloat64 ¶
func (*CondValue) CompareInt ¶
type Condition ¶
type Condition struct {
// contains filtered or unexported fields
}
func NewCondition ¶
type ValueExprAST ¶
type ValueExprAST struct {
Value *CondValue
}
Click to show internal directories.
Click to hide internal directories.