package
19.1.0-beta.20190304+incompatible
Repository: https://github.com/darinpp/cockroach.git
Documentation: pkg.go.dev
# Functions
BuildChildPhysicalProps returns the set of physical properties required of the nth child, based upon the properties required of the parent.
BuildChildPhysicalPropsScalar is like BuildChildPhysicalProps, but for when the parent is a scalar expression.
CanProvidePhysicalProps returns true if the given expression can provide the required physical properties.
DeriveInterestingOrderings calculates and returns the Relational.Rule.InterestingOrderings property of a relational operator.
MakeDefaultCoster creates an instance of the default coster.
# Constants
FmtPretty performs a breadth-first topological sort on the memo groups, and shows the root group at the top of the memo.
# Structs
CustomFuncs contains all the custom match and replace functions used by the exploration rules.
Optimizer transforms an input expression tree into the logically equivalent output expression tree with the lowest possible execution cost.
# Interfaces
Coster is used by the optimizer to assign a cost to a candidate expression that can provide a set of required physical properties.
# Type aliases
AppliedRuleFunc defines the callback function for the NotifyOnAppliedRule event supported by the optimizer.
FmtFlags controls how the memo output is formatted.
MatchedRuleFunc defines the callback function for the NotifyOnMatchedRule event supported by the optimizer.
RuleSet efficiently stores an unordered set of RuleNames.