ruleset

package
v1.1.0-beta.0...-6c0159e Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

DefaultRuleSets indicates the all rule set.

OperandApplyRules is the rules rooted from an apply operand.

View Source
var OperandApplyRulesList = []rule.Rule{
	decorrelateapply.NewXFDeCorrelateSimpleApply(),
}

OperandApplyRulesList OperandApplyRules is the rules rooted from an apply operand, organized as list.

OperandApplyRulesMap OperandApplyRules is the rules rooted from an apply operand, organized as map, key is sub-set type.

Functions

This section is empty.

Types

type ListRules

type ListRules []rule.Rule

ListRules is a list of rules.

func (ListRules) Filter

func (l ListRules) Filter(mask *bitset.BitSet) ListRules

Filter mask out rules which is in mask uint64.

type OperandRules

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

OperandRules wrapper all the rules rooted from one specified operator.

func (*OperandRules) Filter

func (ors *OperandRules) Filter(ge *memo.GroupExpression) ListRules

Filter return the specified operand rule list filter with operator's attribute.

type SetType

type SetType uint

SetType is the type of rule set.

const (
	// DefaultNone indicates this is none rule.
	DefaultNone SetType = iota
	// XFSetDeCorrelateApply indicates a set of sub-rules related to de-correlate an apply.
	XFSetDeCorrelateApply
)

Jump to

Keyboard shortcuts

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