pub struct BucketSelectorAggregation { /* private fields */ }
Expand description
A parent pipeline aggregation which allows the user to specify a script to run for each bucket on the set of values returned by another aggregation.
Implementations§
Source§impl BucketSelectorAggregation
impl BucketSelectorAggregation
Sourcepub fn gap_policy(self, gap_policy: GapPolicy) -> Self
pub fn gap_policy(self, gap_policy: GapPolicy) -> Self
Sets the gap policy for the bucket selector aggregation.
The gap policy determines how documents with missing values are treated. The default policy is to skip gaps.
Sourcepub fn format<T>(self, format: T) -> Selfwhere
T: ToString,
pub fn format<T>(self, format: T) -> Selfwhere
T: ToString,
Sets the format for the bucket selector aggregation.
The format parameter can be used to specify the format of the output values.
Trait Implementations§
Source§impl Clone for BucketSelectorAggregation
impl Clone for BucketSelectorAggregation
Source§fn clone(&self) -> BucketSelectorAggregation
fn clone(&self) -> BucketSelectorAggregation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BucketSelectorAggregation
impl Debug for BucketSelectorAggregation
Source§impl From<BucketSelectorAggregation> for Aggregation
impl From<BucketSelectorAggregation> for Aggregation
Source§fn from(q: BucketSelectorAggregation) -> Self
fn from(q: BucketSelectorAggregation) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for BucketSelectorAggregation
Auto Trait Implementations§
impl Freeze for BucketSelectorAggregation
impl RefUnwindSafe for BucketSelectorAggregation
impl Send for BucketSelectorAggregation
impl Sync for BucketSelectorAggregation
impl Unpin for BucketSelectorAggregation
impl UnwindSafe for BucketSelectorAggregation
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