public final class InternalAggregations extends Aggregations implements Streamable
Aggregations.ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static InternalAggregations |
EMPTY |
aggregations, AGGREGATIONS_FIELD, aggregationsAsMapEMPTY_PARAMS| Constructor and Description |
|---|
InternalAggregations(java.util.List<InternalAggregation> aggregations)
Constructs a new addAggregation.
|
| Modifier and Type | Method and Description |
|---|---|
static InternalAggregations |
readAggregations(StreamInput in) |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static InternalAggregations |
reduce(java.util.List<InternalAggregations> aggregationsList,
InternalAggregation.ReduceContext context)
Reduces the given lists of addAggregation.
|
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
asList, asMap, equals, fromXContent, get, getAsMap, hashCode, iterator, toXContent, toXContentInternalclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFragmentpublic static final InternalAggregations EMPTY
public InternalAggregations(java.util.List<InternalAggregation> aggregations)
public static InternalAggregations reduce(java.util.List<InternalAggregations> aggregationsList, InternalAggregation.ReduceContext context)
aggregationsList - A list of aggregation to reducepublic static InternalAggregations readAggregations(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface Streamablejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface Streamablejava.io.IOException