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

Method apply_limit

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

Apply limit to the plan

(mut self, count: usize, offset: Option<usize>)

Source from the content-addressed store, hash-verified

633
634 /// Apply limit to the plan
635 pub fn apply_limit(mut self, count: usize, offset: Option<usize>) -> Self {
636 self.root = LogicalNode::Limit {
637 count,
638 offset,
639 input: Box::new(self.root),
640 };
641 self
642 }
643
644 /// Apply union operation
645 pub fn apply_union(self, right: LogicalPlan, all: bool) -> Self {

Callers 4

create_logical_planMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected