public static class InternalIPv4Range.Bucket extends InternalRange.Bucket implements IPv4Range.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>
Constructor and Description |
---|
Bucket(String key,
double from,
double to,
long docCount,
InternalAggregations aggregations) |
Bucket(String key,
double from,
double to,
long docCount,
List<InternalAggregation> aggregations) |
Modifier and Type | Method and Description |
---|---|
protected InternalRange.Factory<InternalIPv4Range.Bucket,?> |
getFactory() |
String |
getFromAsString() |
String |
getToAsString() |
generateKey, getAggregations, getDocCount, getFrom, getKey, getKeyAsText, getTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFrom, getTo
getAggregations, getDocCount, getKey, getKeyAsText
public Bucket(String key, double from, double to, long docCount, List<InternalAggregation> aggregations)
public Bucket(String key, double from, double to, long docCount, InternalAggregations aggregations)
public String getFromAsString()
getFromAsString
in interface Range.Bucket
getFromAsString
in class InternalRange.Bucket
public String getToAsString()
getToAsString
in interface Range.Bucket
getToAsString
in class InternalRange.Bucket
protected InternalRange.Factory<InternalIPv4Range.Bucket,?> getFactory()
getFactory
in class InternalRange.Bucket
Copyright © 2009–2015. All rights reserved.