public class SerialDiffPipelineAggregator extends PipelineAggregator
PipelineAggregator.Parser
Writeable.Reader<V>, Writeable.Writer<V>
Constructor and Description |
---|
SerialDiffPipelineAggregator(StreamInput in)
Read from a stream.
|
SerialDiffPipelineAggregator(java.lang.String name,
java.lang.String[] bucketsPaths,
DocValueFormat formatter,
BucketHelpers.GapPolicy gapPolicy,
int lag,
java.util.Map<java.lang.String,java.lang.Object> metadata) |
Modifier and Type | Method and Description |
---|---|
void |
doWriteTo(StreamOutput out) |
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
InternalAggregation |
reduce(InternalAggregation aggregation,
InternalAggregation.ReduceContext reduceContext) |
bucketsPaths, metaData, name, writeTo
public SerialDiffPipelineAggregator(java.lang.String name, java.lang.String[] bucketsPaths, @Nullable DocValueFormat formatter, BucketHelpers.GapPolicy gapPolicy, int lag, java.util.Map<java.lang.String,java.lang.Object> metadata)
public SerialDiffPipelineAggregator(StreamInput in) throws java.io.IOException
java.io.IOException
public void doWriteTo(StreamOutput out) throws java.io.IOException
doWriteTo
in class PipelineAggregator
java.io.IOException
public java.lang.String getWriteableName()
NamedWriteable
public InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
reduce
in class PipelineAggregator