Module sort_expr

Module sort_expr 

Source
Expand description

Sort expressions

Structs§

LexOrdering
This object represents a lexicographical ordering and contains a vector of PhysicalSortExpr objects.
LexRequirement
This object represents a lexicographical ordering requirement and contains a vector of PhysicalSortRequirement objects.
PhysicalSortExpr
Represents Sort operation for a column in a RecordBatch
PhysicalSortRequirement
Represents sort requirement associated with a plan

Enums§

OrderingRequirements
Represents a plan’s input ordering requirements. Vector elements represent alternative ordering requirements in the order of preference. The list of alternatives can be either hard or soft, depending on whether the operator can work without an input ordering.

Functions§

format_physical_sort_requirement_list
Writes a list of PhysicalSortRequirements to a std::fmt::Formatter.
options_compatible
Returns whether the given two SortOptions are compatible. Here, compatibility means that they are either exactly equal, or they differ only in whether NULL values come in first/last, which is immaterial because the column in question is not nullable (specified by the nullable parameter).