Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRuleSets = map[pattern.Operand]*OperandRules{ pattern.OperandApply: OperandApplyRules, }
DefaultRuleSets indicates the all rule set.
View Source
var OperandApplyRules = &OperandRules{OperandApplyRulesMap, OperandApplyRulesList}
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.
View Source
var OperandApplyRulesMap = map[SetType][]rule.Rule{ XFSetDeCorrelateApply: { decorrelateapply.NewXFDeCorrelateSimpleApply(), }, }
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 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.
Click to show internal directories.
Click to hide internal directories.