public class InternalAggregations extends Object implements Aggregations, ToXContent, Streamable
Aggregations.ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static InternalAggregations |
EMPTY |
EMPTY_PARAMS| コンストラクタと説明 |
|---|
InternalAggregations(List<InternalAggregation> aggregations)
Constructs a new addAggregation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final InternalAggregations EMPTY
public InternalAggregations(List<InternalAggregation> aggregations)
public Iterator<Aggregation> iterator()
Aggregations.iterator インタフェース内 Iterable<Aggregation>public List<Aggregation> asList()
Aggregations.asList インタフェース内 Aggregationspublic Map<String,Aggregation> asMap()
Aggregations keyed by map.asMap インタフェース内 Aggregationspublic Map<String,Aggregation> getAsMap()
Aggregations keyed by map.getAsMap インタフェース内 Aggregationspublic <A extends Aggregation> A get(String name)
Aggregationsget インタフェース内 Aggregationspublic Object getProperty(String path)
AggregationsgetProperty インタフェース内 Aggregationspath - the path to the property in the aggregation treepublic static InternalAggregations reduce(List<InternalAggregations> aggregationsList, InternalAggregation.ReduceContext context)
aggregationsList - A list of aggregation to reducepublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic XContentBuilder toXContentInternal(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionpublic static InternalAggregations readAggregations(StreamInput in) throws IOException
IOExceptionpublic static InternalAggregations readOptionalAggregations(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.