pub enum ReadProjection {
Lookup {
path: PathBuf,
},
RollUp {
path: PathBuf,
},
Tree {
path: PathBuf,
depth: Bound,
include_ignored: bool,
page: PageRequest,
},
Flat {
selection: EntrySelection,
shape: RowShape,
page: PageRequest,
},
Aggregate {
selection: EntrySelection,
count_cap: u64,
max_work: u64,
},
Report(ReportRequest),
Continue {
continuation: ContinuationId,
page: PageRequest,
},
Diagnostics,
}Expand description
One fdu-native projection requested under a coherent read boundary.
Variants§
Lookup
Look up one relative path with three-valued, portable-safe absence.
RollUp
Return both maintained aggregate partitions for one directory.
Tree
Return one page of portable descendants, level by level to depth.
Fields
depth: BoundHow many levels below path the page descends.
Limit(1) is this directory’s own children. Rows arrive in breadth-first
level order, so a page cut short by page withholds depth rather than
breadth: the caller can always tell how wide each level it received was.
include_ignored: boolWhether entries in the fixed ignored partition are traversed.
false prunes the excluded directory’s whole subtree, contributing neither
it nor any descendant, rather than filtering its row and descending anyway.
page: PageRequestPage output and work bounds.
Flat
Return one portable-path-ordered page under an fdu-native selection.
Fields
selection: EntrySelectionAdditive portable-entry selection composing the existing query predicates.
page: PageRequestPage output and work bounds.
Aggregate
Count portable entries under one selection, exactly or to an explicit cap.
Fields
selection: EntrySelectionAdditive portable-entry selection composing the existing query predicates.
Report(ReportRequest)
Evaluate the existing pure fdu query/report machinery at this read boundary.
Continue
Resume a tree or flat page from handle-local retained traversal state.
Fields
continuation: ContinuationIdOpaque continuation returned by a prior page.
page: PageRequestBounds for this page; query identity remains in the handle.
Diagnostics
Return fixed-size owner, scope, and retained-issue diagnostics.