public static class InternalRange.Bucket extends InternalMultiBucketAggregation.InternalBucket implements Range.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected ValueFormatter |
formatter |
protected double |
from |
protected boolean |
keyed |
protected double |
to |
EMPTY_PARAMS| コンストラクタと説明 |
|---|
Bucket(boolean keyed,
ValueFormatter formatter) |
Bucket(String key,
double from,
double to,
long docCount,
InternalAggregations aggregations,
boolean keyed,
ValueFormatter formatter) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected String |
generateKey(double from,
double to,
ValueFormatter formatter) |
Aggregations |
getAggregations() |
long |
getDocCount() |
protected InternalRange.Factory<? extends InternalRange.Bucket,?> |
getFactory() |
ValueFormatter |
getFormatter() |
Object |
getFrom() |
String |
getFromAsString() |
String |
getKey() |
String |
getKeyAsString() |
boolean |
getKeyed() |
Object |
getTo() |
String |
getToAsString() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
getPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertyprotected final transient boolean keyed
protected final transient ValueFormatter formatter
protected double from
protected double to
public Bucket(boolean keyed,
ValueFormatter formatter)
public Bucket(String key, double from, double to, long docCount, InternalAggregations aggregations, boolean keyed, ValueFormatter formatter)
public String getKey()
getKey インタフェース内 MultiBucketsAggregation.Bucketpublic String getKeyAsString()
getKeyAsString インタフェース内 MultiBucketsAggregation.Bucketpublic Object getFrom()
getFrom インタフェース内 Range.Bucketpublic Object getTo()
getTo インタフェース内 Range.Bucketpublic boolean getKeyed()
public ValueFormatter getFormatter()
public String getFromAsString()
getFromAsString インタフェース内 Range.Bucketpublic String getToAsString()
getToAsString インタフェース内 Range.Bucketpublic long getDocCount()
getDocCount インタフェース内 MultiBucketsAggregation.Bucketpublic Aggregations getAggregations()
getAggregations インタフェース内 MultiBucketsAggregation.BucketgetAggregations インタフェース内 HasAggregationsprotected InternalRange.Factory<? extends InternalRange.Bucket,?> getFactory()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionprotected String generateKey(double from, double to, ValueFormatter formatter)
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.