evaluator

package
v0.0.0-...-31263be Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Evaluator

type Evaluator struct {
}

Evaluator is used for evaluating PromQL expression locally

func (*Evaluator) EvalYieldsFloatExpr

func (receiver *Evaluator) EvalYieldsFloatExpr(expr parser.Expr) *influxql.NumberLiteral

EvalYieldsFloatExpr evaluates PromQL expression and returns an InfluxQL NumberLiteral

Jump to

Keyboard shortcuts

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