pub struct PathAggregateOperator {
pub path: PathExpr,
pub agg: AggregationKind,
pub source: Option<Arc<dyn Operator>>,
}Expand description
Aggregate a numeric path across nested arrays per-document. The
payload’s score becomes the aggregate value; _path_aggregate and
_path_aggregate_path carry the value and the dotted path for
downstream consumers.
Fields§
§path: PathExpr§agg: AggregationKind§source: Option<Arc<dyn Operator>>Implementations§
Trait Implementations§
Source§impl Operator for PathAggregateOperator
impl Operator for PathAggregateOperator
fn execute(&self, ctx: &ExecutionContext) -> OperatorResult
fn cost_estimate(&self, stats: &IndexStats) -> f64
Auto Trait Implementations§
impl !RefUnwindSafe for PathAggregateOperator
impl !UnwindSafe for PathAggregateOperator
impl Freeze for PathAggregateOperator
impl Send for PathAggregateOperator
impl Sync for PathAggregateOperator
impl Unpin for PathAggregateOperator
impl UnsafeUnpin for PathAggregateOperator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more