Class BucketScriptPipelineAggregator
java.lang.Object
org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
org.elasticsearch.search.aggregations.pipeline.BucketScriptPipelineAggregator
- All Implemented Interfaces:
NamedWriteable,Writeable
public class BucketScriptPipelineAggregator extends PipelineAggregator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.pipeline.PipelineAggregator
PipelineAggregator.Parser, PipelineAggregator.PipelineTreeNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors Constructor Description BucketScriptPipelineAggregator(StreamInput in)Read from a stream. -
Method Summary
Modifier and Type Method Description protected voiddoWriteTo(StreamOutput out)Write the body of the aggregation to the wire.java.lang.StringgetWriteableName()The name of the writeable object.InternalAggregationreduce(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:
java.io.IOException
-
-
Method Details
-
doWriteTo
Description copied from class:PipelineAggregatorWrite the body of the aggregation to the wire.- Overrides:
doWriteToin classPipelineAggregator- Throws:
java.io.IOException
-
getWriteableName
public java.lang.String getWriteableName()Description copied from class:PipelineAggregatorThe name of the writeable object.- Specified by:
getWriteableNamein interfaceNamedWriteable- Overrides:
getWriteableNamein classPipelineAggregator
-
reduce
public InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)- Specified by:
reducein classPipelineAggregator
-