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

Method push

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

Appends an element to the back of the `LexOrdering`.

(&mut self, sort_expr: PhysicalSortExpr)

Source from the content-addressed store, hash-verified

384
385 /// Appends an element to the back of the `LexOrdering`.
386 pub fn push(&mut self, sort_expr: PhysicalSortExpr) {
387 if self.set.insert(Arc::clone(&sort_expr.expr)) {
388 self.exprs.push(sort_expr);
389 }
390 }
391
392 /// Add all elements from `iter` to the `LexOrdering`.
393 pub fn extend(&mut self, sort_exprs: impl IntoIterator<Item = PhysicalSortExpr>) {

Callers 11

scatter_bytesFunction · 0.45
insert_if_new_innerMethod · 0.45
insertMethod · 0.45
insert_if_new_innerMethod · 0.45
into_stateMethod · 0.45
append_inline_viewMethod · 0.45
append_valueMethod · 0.45
insertMethod · 0.45
newMethod · 0.45
extendMethod · 0.45
add_alternativeMethod · 0.45

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected