MCPcopy Create free account
hub / github.com/apache/datafusion / reverse

Method reverse

datafusion/physical-expr-common/src/sort_expr.rs:101–105  ·  view source on GitHub ↗

Reverses the sort expression. For instance, `[a ASC NULLS LAST]` turns into `[a DESC NULLS FIRST]`. Such reversals are useful in planning, e.g. when constructing equivalent window expressions.

(&self)

Source from the content-addressed store, hash-verified

99 /// into `[a DESC NULLS FIRST]`. Such reversals are useful in planning, e.g.
100 /// when constructing equivalent window expressions.
101 pub fn reverse(&self) -> Self {
102 let mut result = self.clone();
103 result.options = !result.options;
104 result
105 }
106
107 /// Set the sort sort options to ASC
108 pub fn asc(mut self) -> Self {

Callers 15

reverse_exprMethod · 0.45
evaluate_statisticsMethod · 0.45
propagate_statisticsMethod · 0.45
get_reverse_exprMethod · 0.45
get_reverse_exprMethod · 0.45
get_reverse_exprMethod · 0.45
evaluate_boundsMethod · 0.45
propagate_constraintsMethod · 0.45
drainMethod · 0.45
get_window_modeFunction · 0.45

Calls 1

cloneMethod · 0.45