public class BucketSelectorPipelineAggregator extends PipelineAggregator
Modifier and Type | Class and Description |
---|---|
static class |
BucketSelectorPipelineAggregator.Factory |
PipelineAggregator.Parser
Modifier and Type | Field and Description |
---|---|
static PipelineAggregatorStreams.Stream |
STREAM |
static InternalAggregation.Type |
TYPE |
AGGREGATION_TRANFORM_FUNCTION
Constructor and Description |
---|
BucketSelectorPipelineAggregator() |
BucketSelectorPipelineAggregator(String name,
Map<String,String> bucketsPathsMap,
Script script,
BucketHelpers.GapPolicy gapPolicy,
Map<String,Object> metadata) |
Modifier and Type | Method and Description |
---|---|
protected void |
doReadFrom(StreamInput in) |
protected 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 static void registerStreams()
public InternalAggregation.Type type()
type
in class PipelineAggregator
public InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
reduce
in class PipelineAggregator
protected void doWriteTo(StreamOutput out) throws IOException
doWriteTo
in class PipelineAggregator
IOException
protected void doReadFrom(StreamInput in) throws IOException
doReadFrom
in class PipelineAggregator
IOException
Copyright © 2009–2016. All rights reserved.