Class PipelineAggregator
java.lang.Object
org.opensearch.search.aggregations.pipeline.PipelineAggregator
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.NamedWriteable
,org.opensearch.core.common.io.stream.Writeable
- Direct Known Subclasses:
BucketScriptPipelineAggregator
,BucketSelectorPipelineAggregator
,BucketSortPipelineAggregator
,CumulativeSumPipelineAggregator
,DerivativePipelineAggregator
,MovAvgPipelineAggregator
,MovFnPipelineAggregator
,SerialDiffPipelineAggregator
,SiblingPipelineAggregator
@PublicApi(since="1.0.0")
public abstract class PipelineAggregator
extends Object
implements org.opensearch.core.common.io.stream.NamedWriteable
Base aggregator for pipline aggs
- Opensearch.api:
-
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.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
PipelineAggregator
(org.opensearch.core.common.io.stream.StreamInput in) Deprecated.pipeline aggregations added after 7.8.0 shouldn't call this -
Method Summary
Modifier and TypeMethodDescriptionString[]
protected void
doWriteTo
(org.opensearch.core.common.io.stream.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 InternalAggregation
reduce
(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext) final void
writeTo
(org.opensearch.core.common.io.stream.StreamOutput out) Deprecated.pipeline aggregations added after 7.8.0 shouldn't call this
-
Constructor Details
-
PipelineAggregator
-
PipelineAggregator
@Deprecated protected PipelineAggregator(org.opensearch.core.common.io.stream.StreamInput in) throws IOException Deprecated.pipeline aggregations added after 7.8.0 shouldn't call thisRead from a stream.- Throws:
IOException
-
-
Method Details
-
writeTo
@Deprecated public final void writeTo(org.opensearch.core.common.io.stream.StreamOutput out) throws IOException Deprecated.pipeline aggregations added after 7.8.0 shouldn't call this- Specified by:
writeTo
in interfaceorg.opensearch.core.common.io.stream.Writeable
- Throws:
IOException
-
doWriteTo
@Deprecated protected void doWriteTo(org.opensearch.core.common.io.stream.StreamOutput out) throws IOException 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:
getWriteableName
in interfaceorg.opensearch.core.common.io.stream.NamedWriteable
-
name
-
bucketsPaths
-
metadata
-
reduce
public abstract InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
-