NamedWriteable, Writeablepublic class BucketScriptPipelineAggregator extends PipelineAggregator
PipelineAggregator.ParserWriteable.Reader<V>, Writeable.Writer<V>| Constructor | Description |
|---|---|
BucketScriptPipelineAggregator(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> bucketsPathsMap,
Script script,
DocValueFormat formatter,
BucketHelpers.GapPolicy gapPolicy,
java.util.Map<java.lang.String,java.lang.Object> metadata) |
|
BucketScriptPipelineAggregator(StreamInput in) |
Read from a stream.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doWriteTo(StreamOutput out) |
|
java.lang.String |
getWriteableName() |
Returns the name of the writeable object
|
InternalAggregation |
reduce(InternalAggregation aggregation,
InternalAggregation.ReduceContext reduceContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbucketsPaths, metaData, name, writeTopublic BucketScriptPipelineAggregator(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> bucketsPathsMap,
Script script,
DocValueFormat formatter,
BucketHelpers.GapPolicy gapPolicy,
java.util.Map<java.lang.String,java.lang.Object> metadata)
public BucketScriptPipelineAggregator(StreamInput in) throws java.io.IOException
java.io.IOExceptionprotected void doWriteTo(StreamOutput out) throws java.io.IOException
doWriteTo in class PipelineAggregatorjava.io.IOExceptionpublic java.lang.String getWriteableName()
NamedWriteablepublic InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
reduce in class PipelineAggregator