package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
BuildChildRequired returns the ordering that must be required of its given child in order to satisfy a required ordering.
BuildProvided returns a specific ordering that the operator provides (and which must be maintained on the results during distributed execution).
CanEnforce returns true if the output of the given operator can be sorted in order to satisfy the given required ordering.
CanProvide returns true if the given operator returns rows that can satisfy the given required ordering.
DeriveInterestingOrderings calculates and returns the Relational.Rule.InterestingOrderings property of a relational operator.
DeriveRestrictedInterestingOrderings calculates and returns the entry of the Relational.Rule.RestrictedInterestingOrderings property of a relational operator that corresponds to the given columns.
ScanIsReverse returns true if the scan must be performed in reverse order in order to satisfy the required ordering.
ScanPrivateCanProvide returns true if the scan operator returns rows that satisfy the given required ordering; it also returns whether the scan needs to be in reverse order to match the required ordering.
StreamingGroupingColOrdering returns an ordering on grouping columns that is guaranteed on the input of an aggregation operator.
StreamingSetOpOrdering returns an ordering on the set operation output columns that is guaranteed on both inputs.