Package lumis.portal.bigdata.query
Interface IMultiBucketAggregationResult.IBucket<T>
-
- Enclosing interface:
- IMultiBucketAggregationResult<T extends Serializable>
@StableMinor(version="14.0", sinceVersion="9.0") public static interface IMultiBucketAggregationResult.IBucket<T>
Represents a result bucket.- Since:
- 9.0.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getDocumentCount()
Returns the document count within this bucket.
In LumisXP's default big data implementation (that uses Elasticsearch as big data engine), this value may not be accurate.T
getKey()
Returns the id (the key) of the bucket.IAggregationResult
getSubAggregation(String subAggregationId)
Returns the sub aggregation with the given identifier ornull
.List<IAggregationResult>
getSubAggregations()
Returns an unmodifiable list of sub-aggregation results.
-
-
-
Method Detail
-
getKey
T getKey()
Returns the id (the key) of the bucket.- Returns:
- the id (the key) of the bucket.
- Since:
- 9.0.0
-
getDocumentCount
long getDocumentCount()
Returns the document count within this bucket.
In LumisXP's default big data implementation (that uses Elasticsearch as big data engine), this value may not be accurate.- Returns:
- the document count within this bucket.
- Since:
- 9.0.0
-
getSubAggregations
List<IAggregationResult> getSubAggregations()
Returns an unmodifiable list of sub-aggregation results.- Returns:
- an unmodifiable list of sub-aggregation results.
- Since:
- 9.0.0
-
getSubAggregation
IAggregationResult getSubAggregation(String subAggregationId)
Returns the sub aggregation with the given identifier ornull
.- Parameters:
subAggregationId
-- Returns:
- the sub aggregation with the given identifier or
null
. - Since:
- 11.0.0
-
-