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)java.lang.StringgetWriteableName()Returns the name of the writeable objectInternalAggregationreduce(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
- Specified by:
doWriteToin classPipelineAggregator- Throws:
java.io.IOException
-
getWriteableName
public java.lang.String getWriteableName()Description copied from interface:NamedWriteableReturns the name of the writeable object -
reduce
public InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)- Specified by:
reducein classPipelineAggregator
-