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
public abstract class PipelineAggregator extends java.lang.Object implements NamedWriteable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePipelineAggregator.ParserParse thePipelineAggregationBuilderfrom aXContentParser.-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPipelineAggregator(java.lang.String name, java.lang.String[] bucketsPaths, java.util.Map<java.lang.String,java.lang.Object> metaData)protectedPipelineAggregator(StreamInput in)Read from a stream.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String[]bucketsPaths()protected abstract voiddoWriteTo(StreamOutput out)java.util.Map<java.lang.String,java.lang.Object>metaData()java.lang.Stringname()abstract InternalAggregationreduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)voidwriteTo(StreamOutput out)Write this into the StreamOutput.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableName
-
-
-
-
Constructor Detail
-
PipelineAggregator
protected PipelineAggregator(java.lang.String name, java.lang.String[] bucketsPaths, java.util.Map<java.lang.String,java.lang.Object> metaData)
-
PipelineAggregator
protected PipelineAggregator(StreamInput in) throws java.io.IOException
Read from a stream.- Throws:
java.io.IOException
-
-
Method Detail
-
writeTo
public final void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:WriteableWrite this into the StreamOutput.
-
doWriteTo
protected abstract void doWriteTo(StreamOutput out) throws java.io.IOException
- Throws:
java.io.IOException
-
name
public java.lang.String name()
-
bucketsPaths
public java.lang.String[] bucketsPaths()
-
metaData
public java.util.Map<java.lang.String,java.lang.Object> metaData()
-
reduce
public abstract InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
-
-