public abstract class PipelineAggregator extends java.lang.Object implements NamedWriteable
| Modifier and Type | Class and Description |
|---|---|
static interface |
PipelineAggregator.Parser
Parse the
PipelineAggregationBuilder from a XContentParser. |
Writeable.Reader<V>, Writeable.Writer<V>| Modifier | Constructor and Description |
|---|---|
protected |
PipelineAggregator(StreamInput in)
Read from a stream.
|
protected |
PipelineAggregator(java.lang.String name,
java.lang.String[] bucketsPaths,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
bucketsPaths() |
protected abstract void |
doWriteTo(StreamOutput out) |
java.util.Map<java.lang.String,java.lang.Object> |
metaData() |
java.lang.String |
name() |
abstract InternalAggregation |
reduce(InternalAggregation aggregation,
InternalAggregation.ReduceContext reduceContext) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWriteableNameprotected PipelineAggregator(java.lang.String name,
java.lang.String[] bucketsPaths,
java.util.Map<java.lang.String,java.lang.Object> metaData)
protected PipelineAggregator(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic final void writeTo(StreamOutput out) throws java.io.IOException
Writeableprotected abstract void doWriteTo(StreamOutput out) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String name()
public java.lang.String[] bucketsPaths()
public java.util.Map<java.lang.String,java.lang.Object> metaData()
public abstract InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)