[−][src]Enum rs_es::operations::search::aggregations::AggregationResult
The result of one specific aggregation
The data returned varies depending on aggregation type
Variants
Metrics(MetricsAggregationResult)
Results of metrics aggregations
Bucket(BucketAggregationResult)
Result of a bucket aggregation
Methods
impl AggregationResult
[src]
pub fn as_global(&self) -> Result<&GlobalResult, EsError>
[src]
pub fn as_filter(&self) -> Result<&FilterResult, EsError>
[src]
pub fn as_filters(&self) -> Result<&FiltersResult, EsError>
[src]
pub fn as_missing(&self) -> Result<&MissingResult, EsError>
[src]
pub fn as_nested(&self) -> Result<&NestedResult, EsError>
[src]
pub fn as_reverse_nested(&self) -> Result<&ReverseNestedResult, EsError>
[src]
pub fn as_children(&self) -> Result<&ChildrenResult, EsError>
[src]
pub fn as_terms(&self) -> Result<&TermsResult, EsError>
[src]
pub fn as_range(&self) -> Result<&RangeResult, EsError>
[src]
pub fn as_date_range(&self) -> Result<&DateRangeResult, EsError>
[src]
pub fn as_histogram(&self) -> Result<&HistogramResult, EsError>
[src]
pub fn as_date_histogram(&self) -> Result<&DateHistogramResult, EsError>
[src]
pub fn as_geo_distance(&self) -> Result<&GeoDistanceResult, EsError>
[src]
pub fn as_geohash_grid(&self) -> Result<&GeohashGridResult, EsError>
[src]
impl AggregationResult
[src]
pub fn as_min(&self) -> Result<&MinResult, EsError>
[src]
pub fn as_max(&self) -> Result<&MaxResult, EsError>
[src]
pub fn as_sum(&self) -> Result<&SumResult, EsError>
[src]
pub fn as_avg(&self) -> Result<&AvgResult, EsError>
[src]
pub fn as_stats(&self) -> Result<&StatsResult, EsError>
[src]
pub fn as_extended_stats(&self) -> Result<&ExtendedStatsResult, EsError>
[src]
pub fn as_value_count(&self) -> Result<&ValueCountResult, EsError>
[src]
pub fn as_percentiles(&self) -> Result<&PercentilesResult, EsError>
[src]
pub fn as_percentile_ranks(&self) -> Result<&PercentileRanksResult, EsError>
[src]
pub fn as_cardinality(&self) -> Result<&CardinalityResult, EsError>
[src]
pub fn as_geo_bounds(&self) -> Result<&GeoBoundsResult, EsError>
[src]
pub fn as_scripted_metric(&self) -> Result<&ScriptedMetricResult, EsError>
[src]
Trait Implementations
Auto Trait Implementations
impl Send for AggregationResult
impl Sync for AggregationResult
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Erased for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
U: TryFrom<T>,