Package lumis.portal.bigdata.query
Interface IMultiBucketAggregationResult<T extends Serializable>
-
- Type Parameters:
T
- The bucket key type.
- All Superinterfaces:
IAggregationResult
- All Known Subinterfaces:
IDateHistogramAggregationResult
,IDateRangeAggregationResult
,IGeoDistanceAggregationResult
,IHistogramAggregationResult
,ITermsAggregationResult
@StableMinor(version="14.0", sinceVersion="9.0") public interface IMultiBucketAggregationResult<T extends Serializable> extends IAggregationResult
Aggregation result
that aggregates the documents within multiplebuckets
, accordingly to the chosen aggregation type.- Since:
- 9.0.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IMultiBucketAggregationResult.IBucket<T>
Represents a result bucket.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMultiBucketAggregationResult.IBucket<T>
getBucket(T bucketKey)
Returns the bucket with the given identifier ornull
if there's no such bucket.Map<T,IMultiBucketAggregationResult.IBucket<T>>
getBuckets()
Returns an unmodifiable map of the existent buckets.-
Methods inherited from interface lumis.portal.bigdata.query.IAggregationResult
getId
-
-
-
-
Method Detail
-
getBuckets
Map<T,IMultiBucketAggregationResult.IBucket<T>> getBuckets()
Returns an unmodifiable map of the existent buckets.- Returns:
- an unmodifiable map of the existent buckets.
- Since:
- 9.0.0
-
getBucket
IMultiBucketAggregationResult.IBucket<T> getBucket(T bucketKey)
Returns the bucket with the given identifier ornull
if there's no such bucket.- Parameters:
bucketKey
- the bucket identifier.- Returns:
- the bucket with the given identifier or
null
if there's no such bucket. - Since:
- 9.0.0
-
-