Appends an element to the back of the `LexOrdering`.
(&mut self, sort_expr: PhysicalSortExpr)
| 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>) { |
no test coverage detected