rpn

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Op

type Op uint8
const (
	InRange Op = iota
	NotInRange
	InSet
	NotInSet
	NOT // operators of the logical expression.
	AND
	OR
	MATCHPHRASE
	AlwaysTrue
	AlwaysFalse
	UNKNOWN // unsupported type value.
)

Atoms of a Boolean expression.

type RPNExpr

type RPNExpr struct {
	Val []interface{}
}

func ConvertToRPNExpr

func ConvertToRPNExpr(expr influxql.Expr) *RPNExpr

type SKBaseReader added in v1.2.0

type SKBaseReader interface {
	IsExist(blockId int64, elem *SKRPNElement) (bool, error)
}

type SKRPNElement added in v1.2.0

type SKRPNElement struct {
	RPNOp Op
	Key   string
	Value interface{}
	Ty    influxql.DataType
	Op    influxql.Token
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL