Module org.elasticsearch.server
Class DelayedBucketReducer<B extends MultiBucketsAggregation.Bucket>
java.lang.Object
org.elasticsearch.search.aggregations.bucket.DelayedBucketReducer<B>
Class for reducing a list of
DelayedBucketReducer
to a single InternalAggregations
and the number of documents in a delayable fashion.
This class can be reused by calling reset(B)
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds aDelayedBucketReducer
for reduction.returns the reducedInternalAggregations
.long
returns the number of docsgetProto()
returns the bucket prototype.void
Reset the content of this reducer.
-
Constructor Details
-
DelayedBucketReducer
-
-
Method Details
-
accept
Adds aDelayedBucketReducer
for reduction. -
getProto
returns the bucket prototype. -
reset
Reset the content of this reducer. -
getAggregations
returns the reducedInternalAggregations
. -
getDocCount
public long getDocCount()returns the number of docs
-