NamedWriteable
, Writeable
public class BucketSortPipelineAggregator extends PipelineAggregator
PipelineAggregator.Parser
Writeable.Reader<V>, Writeable.Writer<V>
Constructor | Description |
---|---|
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) |
|
BucketSortPipelineAggregator(StreamInput in) |
Read from a stream.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
doWriteTo(StreamOutput out) |
|
java.lang.String |
getWriteableName() |
Returns the name of the writeable object
|
InternalAggregation |
reduce(InternalAggregation aggregation,
InternalAggregation.ReduceContext reduceContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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