Class SiblingPipelineAggregator
java.lang.Object
org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
org.elasticsearch.search.aggregations.pipeline.SiblingPipelineAggregator
- All Implemented Interfaces:
NamedWriteable,Writeable
- Direct Known Subclasses:
BucketMetricsPipelineAggregator
public abstract class SiblingPipelineAggregator extends PipelineAggregator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
PipelineAggregator.Parser, PipelineAggregator.PipelineTreeNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors Modifier Constructor Description protectedSiblingPipelineAggregator(java.lang.String name, java.lang.String[] bucketsPaths, java.util.Map<java.lang.String,java.lang.Object> metadata) -
Method Summary
Modifier and Type Method Description abstract InternalAggregationdoReduce(Aggregations aggregations, InternalAggregation.ReduceContext context)InternalAggregationreduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)Methods inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
bucketsPaths, doWriteTo, getWriteableName, metadata, name, writeTo
-
Constructor Details
-
SiblingPipelineAggregator
protected SiblingPipelineAggregator(java.lang.String name, java.lang.String[] bucketsPaths, java.util.Map<java.lang.String,java.lang.Object> metadata)
-
-
Method Details
-
reduce
public InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)- Specified by:
reducein classPipelineAggregator
-
doReduce
public abstract InternalAggregation doReduce(Aggregations aggregations, InternalAggregation.ReduceContext context)
-