Class PipelineAggregator
org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
- All Implemented Interfaces:
NamedWriteable
,Writeable
- Direct Known Subclasses:
BucketScriptPipelineAggregator
,BucketSelectorPipelineAggregator
,BucketSortPipelineAggregator
,CumulativeSumPipelineAggregator
,DerivativePipelineAggregator
,MovAvgPipelineAggregator
,MovFnPipelineAggregator
,SerialDiffPipelineAggregator
,SiblingPipelineAggregator
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Parse thePipelineAggregationBuilder
from aXContentParser
.static class
Tree ofPipelineAggregator
s to modify a tree of aggregations after their final reduction.Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
ModifierConstructorDescriptionprotected
name, [] bucketsPaths, <,> metadata)
protected
Deprecated.pipeline aggregations added after 7.8.0 shouldn't call this -
Method Summary
Modifier and TypeMethodDescription[]
protected void
doWriteTo(StreamOutput out)
Deprecated.pipeline aggregations added after 7.8.0 don't need to implement thisDeprecated.pipeline aggregations added after 7.8.0 don't need to implement this<,>
metadata()
name()
abstract InternalAggregation
reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
void
writeTo(StreamOutput out)
Deprecated.pipeline aggregations added after 7.8.0 shouldn't call thisMethods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
PipelineAggregator
protected PipelineAggregator( name, [] bucketsPaths, <,> metadata) -
PipelineAggregator
Deprecated.pipeline aggregations added after 7.8.0 shouldn't call thisRead from a stream.- Throws:
-
-
Method Details
-
writeTo
Deprecated.pipeline aggregations added after 7.8.0 shouldn't call thisWrite this into the StreamOutput. -
doWriteTo
Deprecated.pipeline aggregations added after 7.8.0 don't need to implement thisWrite the body of the aggregation to the wire.- Throws:
-
getWriteableName
public getWriteableName()Deprecated.pipeline aggregations added after 7.8.0 don't need to implement thisThe name of the writeable object.- Specified by:
getWriteableName
in interfaceNamedWriteable
-
name
public name() -
bucketsPaths
public [] bucketsPaths() -
metadata
public <,> metadata() -
reduce
public abstract InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
-