public class InternalFilters extends InternalMultiBucketAggregation<InternalFilters,InternalFilters.Bucket> implements Filters
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
InternalFilters.Bucket |
InternalMultiBucketAggregation.InternalBucketInternalAggregation.CommonFields, InternalAggregation.ReduceContext, InternalAggregation.TypeToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static InternalAggregation.Type |
TYPE |
metaData, nameEMPTY_PARAMS| コンストラクタと説明 |
|---|
InternalFilters() |
InternalFilters(String name,
List<InternalFilters.Bucket> buckets,
boolean keyed,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
InternalFilters |
create(List<InternalFilters.Bucket> buckets)
Create a new copy of this
Aggregation with the same settings as
this Aggregation and contains the provided buckets. |
InternalFilters.Bucket |
createBucket(InternalAggregations aggregations,
InternalFilters.Bucket prototype)
Create a new
InternalMultiBucketAggregation.InternalBucket using the provided prototype bucket
and aggregations. |
protected void |
doReadFrom(StreamInput in) |
InternalAggregation |
doReduce(List<InternalAggregation> aggregations,
InternalAggregation.ReduceContext reduceContext) |
protected void |
doWriteTo(StreamOutput out) |
XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
InternalFilters.Bucket |
getBucketByKey(String key) |
List<InternalFilters.Bucket> |
getBuckets()
The buckets created by this aggregation.
|
static void |
registerStream() |
InternalAggregation.Type |
type() |
getPropertygetMetaData, getName, getProperty, pipelineAggregators, readFrom, readSize, reduce, toXContent, writeSize, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetaData, getName, getPropertypublic static final InternalAggregation.Type TYPE
public InternalFilters()
public InternalFilters(String name, List<InternalFilters.Bucket> buckets, boolean keyed, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData)
public static void registerStream()
public InternalAggregation.Type type()
type クラス内 InternalAggregationInternalAggregation.Type of this aggregationpublic InternalFilters create(List<InternalFilters.Bucket> buckets)
InternalMultiBucketAggregationAggregation with the same settings as
this Aggregation and contains the provided buckets.create クラス内 InternalMultiBucketAggregation<InternalFilters,InternalFilters.Bucket>buckets - the buckets to use in the new AggregationAggregationpublic InternalFilters.Bucket createBucket(InternalAggregations aggregations, InternalFilters.Bucket prototype)
InternalMultiBucketAggregationInternalMultiBucketAggregation.InternalBucket using the provided prototype bucket
and aggregations.createBucket クラス内 InternalMultiBucketAggregation<InternalFilters,InternalFilters.Bucket>aggregations - the aggregations for the new bucketprototype - the bucket to use as a prototypepublic List<InternalFilters.Bucket> getBuckets()
FiltersgetBuckets インタフェース内 FiltersgetBuckets インタフェース内 MultiBucketsAggregationpublic InternalFilters.Bucket getBucketByKey(String key)
getBucketByKey インタフェース内 Filterspublic InternalAggregation doReduce(List<InternalAggregation> aggregations, InternalAggregation.ReduceContext reduceContext)
doReduce クラス内 InternalAggregationprotected void doReadFrom(StreamInput in) throws IOException
doReadFrom クラス内 InternalAggregationIOExceptionprotected void doWriteTo(StreamOutput out) throws IOException
doWriteTo クラス内 InternalAggregationIOExceptionpublic XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContentBody クラス内 InternalAggregationIOExceptionCopyright © 2009–2016. All rights reserved.