public class BucketSortPipelineAggregator extends PipelineAggregator
PipelineAggregator.Parser
Writeable.Reader<V>, Writeable.Writer<V>
Constructor and Description |
---|
BucketSortPipelineAggregator(StreamInput in)
Read from a stream.
|
BucketSortPipelineAggregator(java.lang.String name,
java.util.List<FieldSortBuilder> sorts,
int from,
java.lang.Integer size,
BucketHelpers.GapPolicy gapPolicy,
java.util.Map<java.lang.String,java.lang.Object> metadata) |
Modifier and Type | Method and Description |
---|---|
protected 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 BucketSortPipelineAggregator(java.lang.String name, java.util.List<FieldSortBuilder> sorts, int from, java.lang.Integer size, BucketHelpers.GapPolicy gapPolicy, java.util.Map<java.lang.String,java.lang.Object> metadata)
public BucketSortPipelineAggregator(StreamInput in) throws java.io.IOException
java.io.IOException
protected 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