pub struct FacetOperator {
pub field: String,
pub source: Option<Arc<dyn Operator>>,
}Expand description
Facet_f: count distinct values of a field over a source posting list
(or the entire document store). The result is a posting list whose
payload.fields carry _facet_field, _facet_value, _facet_count,
matching the serialized UQA encoding.
Fields§
§field: String§source: Option<Arc<dyn Operator>>Implementations§
Trait Implementations§
Source§impl Operator for FacetOperator
impl Operator for FacetOperator
fn execute(&self, ctx: &ExecutionContext) -> OperatorResult
fn cost_estimate(&self, stats: &IndexStats) -> f64
Auto Trait Implementations§
impl !RefUnwindSafe for FacetOperator
impl !UnwindSafe for FacetOperator
impl Freeze for FacetOperator
impl Send for FacetOperator
impl Sync for FacetOperator
impl Unpin for FacetOperator
impl UnsafeUnpin for FacetOperator
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