MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / apply_sort

Method apply_sort

graphlite/src/plan/operators/logical.rs:626–632  ·  view source on GitHub ↗

Apply sorting to the plan

(mut self, expressions: Vec<SortExpression>)

Source from the content-addressed store, hash-verified

624
625 /// Apply sorting to the plan
626 pub fn apply_sort(mut self, expressions: Vec<SortExpression>) -> Self {
627 self.root = LogicalNode::Sort {
628 expressions,
629 input: Box::new(self.root),
630 };
631 self
632 }
633
634 /// Apply limit to the plan
635 pub fn apply_limit(mut self, count: usize, offset: Option<usize>) -> Self {

Callers 4

create_logical_planMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected