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
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SiblingPipelineAggregator(java.lang.String name, java.lang.String[] bucketsPaths, java.util.Map<java.lang.String,java.lang.Object> metaData)
protected
SiblingPipelineAggregator(StreamInput in)
Read from a stream.
-
Method Summary
Modifier and Type Method Description abstract InternalAggregation
doReduce(Aggregations aggregations, InternalAggregation.ReduceContext context)
InternalAggregation
reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
-
Methods inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
bucketsPaths, doWriteTo, metaData, name, writeTo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableName
-
-
-
-
Constructor Detail
-
SiblingPipelineAggregator
protected SiblingPipelineAggregator(java.lang.String name, java.lang.String[] bucketsPaths, java.util.Map<java.lang.String,java.lang.Object> metaData)
-
SiblingPipelineAggregator
protected SiblingPipelineAggregator(StreamInput in) throws java.io.IOException
Read from a stream.- Throws:
java.io.IOException
-
-
Method Detail
-
reduce
public InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
- Specified by:
reduce
in classPipelineAggregator
-
doReduce
public abstract InternalAggregation doReduce(Aggregations aggregations, InternalAggregation.ReduceContext context)
-
-