rule

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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.Literal

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