rule

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConstantValue added in v0.7.0

func GetConstantValue(vec *vector.Vector, transAll bool, row uint64) *plan.Const

func IsConstant added in v0.7.0

func IsConstant(e *plan.Expr, varAndParamIsConst bool) bool

Types

type ConstantFold

type ConstantFold struct {
	// contains filtered or unexported fields
}

func NewConstantFold added in v0.6.0

func NewConstantFold(isPrepared bool) *ConstantFold

func (*ConstantFold) Apply

func (r *ConstantFold) Apply(n *plan.Node, _ *plan.Query, proc *process.Process)

func (*ConstantFold) GetBatch added in v0.6.0

func (r *ConstantFold) GetBatch() *batch.Batch

func (*ConstantFold) Match

func (r *ConstantFold) Match(n *plan.Node) bool

Match always true

type PredicatePushdown

type PredicatePushdown struct {
}

func NewPredicatePushdown

func NewPredicatePushdown() *PredicatePushdown

func (*PredicatePushdown) Apply

func (r *PredicatePushdown) Apply(n *plan.Node, qry *plan.Query)

func (*PredicatePushdown) Match

func (r *PredicatePushdown) Match(n *plan.Node) bool

Jump to

Keyboard shortcuts

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