public class InternalGeoHashGrid extends InternalMultiBucketAggregation<InternalGeoHashGrid,org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket> implements GeoHashGrid
InternalMultiBucketAggregation.InternalBucketInternalAggregation.CommonFields, InternalAggregation.ReduceContext, InternalAggregation.TypeToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static BucketStreams.Stream<org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket> |
BUCKET_STREAM |
protected Map<String,org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket> |
bucketMap |
static AggregationStreams.Stream |
STREAM |
static InternalAggregation.Type |
TYPE |
metaData, nameEMPTY_PARAMS| コンストラクタと説明 |
|---|
InternalGeoHashGrid(String name,
int requiredSize,
Collection<org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket> buckets,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
InternalGeoHashGrid |
create(List<org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket> buckets)
Create a new copy of this
Aggregation with the same settings as
this Aggregation and contains the provided buckets. |
org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket |
createBucket(InternalAggregations aggregations,
org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket prototype)
Create a new
InternalMultiBucketAggregation.InternalBucket using the provided prototype bucket
and aggregations. |
protected void |
doReadFrom(StreamInput in) |
InternalGeoHashGrid |
doReduce(List<InternalAggregation> aggregations,
InternalAggregation.ReduceContext reduceContext) |
protected void |
doWriteTo(StreamOutput out) |
XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
List<GeoHashGrid.Bucket> |
getBuckets() |
static void |
registerStreams() |
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 static final AggregationStreams.Stream STREAM
public static final BucketStreams.Stream<org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket> BUCKET_STREAM
public InternalGeoHashGrid(String name, int requiredSize, Collection<org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket> buckets, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData)
public static void registerStreams()
public InternalAggregation.Type type()
type クラス内 InternalAggregationInternalAggregation.Type of this aggregationpublic InternalGeoHashGrid create(List<org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket> buckets)
InternalMultiBucketAggregationAggregation with the same settings as
this Aggregation and contains the provided buckets.create クラス内 InternalMultiBucketAggregation<InternalGeoHashGrid,org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket>buckets - the buckets to use in the new AggregationAggregationpublic org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket createBucket(InternalAggregations aggregations, org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket prototype)
InternalMultiBucketAggregationInternalMultiBucketAggregation.InternalBucket using the provided prototype bucket
and aggregations.createBucket クラス内 InternalMultiBucketAggregation<InternalGeoHashGrid,org.elasticsearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid.Bucket>aggregations - the aggregations for the new bucketprototype - the bucket to use as a prototypepublic List<GeoHashGrid.Bucket> getBuckets()
getBuckets インタフェース内 GeoHashGridgetBuckets インタフェース内 MultiBucketsAggregationpublic InternalGeoHashGrid 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.