package
0.0.0-20240718195911-cdbd6dfed36b
Repository: https://github.com/thanos-io/promql-engine.git
Documentation: pkg.go.dev
# Functions
IsConstantExpr reports if the expression evaluates to a constant.
IsConstantScalarExpr reports if the expression evaluates to a scalar.
No description provided by the author
New creates a new logical plan from logical node.
No description provided by the author
NewFromBytes creates a new logical plan from a byte slice created with Marshal.
No description provided by the author
No description provided by the author
No description provided by the author
UnsafeUnwrapString is like UnwrapString but should only be used in cases where the parser guarantees success by already only allowing strings wrapped in parentheses.
UnwrapFloat recursively unwraps a parser.Expr until it reaches an NumberLiteral.
UnwrapParens recursively unwraps a parser.ParenExpr.
UnwrapString recursively unwraps a parser.Expr until it reaches an StringLiteral.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Aggregation represents a PromQL aggregation.
No description provided by the author
CheckDuplicateLabels is a logical node that checks for duplicate labels in the same timestamp.
Deduplicate is a logical plan which deduplicates samples from multiple RemoteExecutions.
No description provided by the author
DistributeAvgOptimizer rewrites an AVG aggregation into a SUM/COUNT aggregation so that it can be executed in a distributed manner.
DistributedExecutionOptimizer produces a logical plan suitable for distributed Query execution.
FunctionCall represents a PromQL function.
No description provided by the author
MatrixSelector is matrix selector with additional configuration set by optimizers.
MergeSelectsOptimizer optimizes a binary expression where one select is a superset of the other select.
No description provided by the author
NumberLiteral is a logical node representing a literal number.
No description provided by the author
PassthroughOptimizer optimizes queries which can be simply passed through to a RemoteEngine.
No description provided by the author
Projection has information on which series labels should be selected from storage.
PropagateMatchersOptimizer implements matcher propagation between two vector selectors in a binary expression.
RemoteExecution is a logical plan that describes a remote execution of a Query against the given PromQL Engine.
SelectorBatchSize configures the batch size of selector based on aggregates present in the plan.
SortMatchers sorts all matchers in a selector so that all subsequent optimizers, both in the logical and physical plan, can rely on this property.
StepInvariantExpr is a logical node that expresses that the child expression returns the same value at every step in the evaluation.
StringLiteral is a logical node representing a literal string.
No description provided by the author
No description provided by the author
VectorSelector is vector selector with additional configuration set by optimizers.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UserDefinedExpr is an extension point which allows users to define their execution operators.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author