public class GeoHashGridBuilder extends AggregationBuilder<GeoHashGridBuilder>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamstypeEMPTY_PARAMS| コンストラクタと説明 |
|---|
GeoHashGridBuilder(String name)
Sole constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
GeoHashGridBuilder |
field(String field)
Set the field to use to get geo points.
|
protected XContentBuilder |
internalXContent(XContentBuilder builder,
ToXContent.Params params) |
GeoHashGridBuilder |
precision(int precision)
Set the geohash precision to use for this aggregation.
|
GeoHashGridBuilder |
shardSize(int shardSize)
Expert: Set the number of buckets to get on each shard to improve
accuracy.
|
GeoHashGridBuilder |
size(int requiredSize)
Set the number of buckets to return.
|
setMetaData, subAggregation, subAggregation, subAggregation, subAggregation, subAggregation, subAggregation, toXContentgetNamepublic GeoHashGridBuilder(String name)
public GeoHashGridBuilder field(String field)
public GeoHashGridBuilder precision(int precision)
public GeoHashGridBuilder size(int requiredSize)
public GeoHashGridBuilder shardSize(int shardSize)
protected XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
internalXContent クラス内 AggregationBuilder<GeoHashGridBuilder>IOExceptionCopyright © 2009–2016. All rights reserved.