pub struct PathProjectOperator {
pub paths: Vec<PathExpr>,
pub source: Arc<dyn Operator>,
}Expand description
Project documents to the named paths: each path’s resolved value
lands in the output entry’s payload.fields keyed on its dotted
representation. Documents that fail to resolve a path keep the
missing key absent.
Fields§
§paths: Vec<PathExpr>§source: Arc<dyn Operator>Implementations§
Trait Implementations§
Source§impl Operator for PathProjectOperator
impl Operator for PathProjectOperator
fn execute(&self, ctx: &ExecutionContext) -> OperatorResult
fn cost_estimate(&self, stats: &IndexStats) -> f64
Auto Trait Implementations§
impl !RefUnwindSafe for PathProjectOperator
impl !UnwindSafe for PathProjectOperator
impl Freeze for PathProjectOperator
impl Send for PathProjectOperator
impl Sync for PathProjectOperator
impl Unpin for PathProjectOperator
impl UnsafeUnpin for PathProjectOperator
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