public class DerivativePipelineAggregator extends PipelineAggregator
PipelineAggregator.Parser
Modifier and Type | Field and Description |
---|---|
static PipelineAggregatorStreams.Stream |
STREAM |
static InternalAggregation.Type |
TYPE |
Constructor and Description |
---|
DerivativePipelineAggregator() |
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 |
doReadFrom(StreamInput in) |
void |
doWriteTo(StreamOutput out) |
InternalAggregation |
reduce(InternalAggregation aggregation,
InternalAggregation.ReduceContext reduceContext) |
static void |
registerStreams() |
InternalAggregation.Type |
type() |
bucketsPaths, metaData, name, readFrom, writeTo
public static final InternalAggregation.Type TYPE
public static final PipelineAggregatorStreams.Stream STREAM
public DerivativePipelineAggregator()
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 static void registerStreams()
public InternalAggregation.Type type()
type
in class PipelineAggregator
public InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
reduce
in class PipelineAggregator
public void doReadFrom(StreamInput in) throws java.io.IOException
doReadFrom
in class PipelineAggregator
java.io.IOException
public void doWriteTo(StreamOutput out) throws java.io.IOException
doWriteTo
in class PipelineAggregator
java.io.IOException