public class DerivativePipelineAggregator extends PipelineAggregator
PipelineAggregator.Parser
Writeable.Reader<V>, Writeable.Writer<V>
Constructor and Description |
---|
DerivativePipelineAggregator(StreamInput in)
Read from a stream.
|
DerivativePipelineAggregator(java.lang.String name,
java.lang.String[] bucketsPaths,
DocValueFormat formatter,
BucketHelpers.GapPolicy gapPolicy,
java.lang.Long xAxisUnits,
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 DerivativePipelineAggregator(java.lang.String name, java.lang.String[] bucketsPaths, DocValueFormat formatter, BucketHelpers.GapPolicy gapPolicy, java.lang.Long xAxisUnits, java.util.Map<java.lang.String,java.lang.Object> metadata)
public DerivativePipelineAggregator(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