Class BucketScriptPipelineAggregator
java.lang.Object
org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
org.elasticsearch.search.aggregations.pipeline.BucketScriptPipelineAggregator
- All Implemented Interfaces:
NamedWriteable
,Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
PipelineAggregator.Parser, PipelineAggregator.PipelineTree
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doWriteTo
(StreamOutput out) Write the body of the aggregation to the wire.The name of the writeable object.reduce
(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext) Methods inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
bucketsPaths, metadata, name, writeTo
-
Constructor Details
-
BucketScriptPipelineAggregator
Read from a stream.- Throws:
IOException
-
-
Method Details
-
doWriteTo
Description copied from class:PipelineAggregator
Write the body of the aggregation to the wire.- Overrides:
doWriteTo
in classPipelineAggregator
- Throws:
IOException
-
getWriteableName
Description copied from class:PipelineAggregator
The name of the writeable object.- Specified by:
getWriteableName
in interfaceNamedWriteable
- Overrides:
getWriteableName
in classPipelineAggregator
-
reduce
public InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext) - Specified by:
reduce
in classPipelineAggregator
-