Class PipelineAggregator
java.lang.Object
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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceParse thePipelineAggregationBuilderfrom aXContentParser.static classTree ofPipelineAggregators 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
ConstructorsModifierConstructorDescriptionprotectedprotectedDeprecated.pipeline aggregations added after 7.8.0 shouldn't call this -
Method Summary
Modifier and TypeMethodDescriptionString[]protected voiddoWriteTo(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 thismetadata()name()abstract InternalAggregationreduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)voidwriteTo(StreamOutput out)Deprecated.pipeline aggregations added after 7.8.0 shouldn't call this
-
Constructor Details
-
PipelineAggregator
-
PipelineAggregator
Deprecated.pipeline aggregations added after 7.8.0 shouldn't call thisRead from a stream.- Throws:
IOException
-
-
Method Details
-
writeTo
Deprecated.pipeline aggregations added after 7.8.0 shouldn't call thisWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
doWriteTo
Deprecated.pipeline aggregations added after 7.8.0 don't need to implement thisWrite the body of the aggregation to the wire.- Throws:
IOException
-
getWriteableName
Deprecated.pipeline aggregations added after 7.8.0 don't need to implement thisThe name of the writeable object.- Specified by:
getWriteableNamein interfaceNamedWriteable
-
name
-
bucketsPaths
-
metadata
-
reduce
public abstract InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
-