public abstract class SiblingPipelineAggregator extends PipelineAggregator
PipelineAggregator.Parser
Modifier | Constructor and Description |
---|---|
protected |
SiblingPipelineAggregator() |
protected |
SiblingPipelineAggregator(java.lang.String name,
java.lang.String[] bucketsPaths,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
Modifier and Type | Method and Description |
---|---|
abstract InternalAggregation |
doReduce(Aggregations aggregations,
InternalAggregation.ReduceContext context) |
InternalAggregation |
reduce(InternalAggregation aggregation,
InternalAggregation.ReduceContext reduceContext) |
bucketsPaths, doReadFrom, doWriteTo, metaData, name, readFrom, type, writeTo
protected SiblingPipelineAggregator()
protected SiblingPipelineAggregator(java.lang.String name, java.lang.String[] bucketsPaths, java.util.Map<java.lang.String,java.lang.Object> metaData)
public InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
reduce
in class PipelineAggregator
public abstract InternalAggregation doReduce(Aggregations aggregations, InternalAggregation.ReduceContext context)