Skip to main content

aggregate_in_view

Function aggregate_in_view 

Source
pub fn aggregate_in_view(
    lmpg: &Lmpg,
    req: &AggregateRequest,
    snap: QuerySnapshot,
) -> Result<(Vec<GroupBucket>, u64), QueryError>
Expand description

Aggregate execution over a caller-owned pinned read view. Embedded engines use this to keep every phase of a request on one snapshot and to apply the same deadline/budget context as the transport path.

ยงErrors

Propagates storage, predicate, cancellation and aggregate resource errors.