Class ParsedDateRange.ParsedBucket
java.lang.Object
org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucket
org.elasticsearch.search.aggregations.bucket.range.ParsedRange.ParsedBucket
org.elasticsearch.search.aggregations.bucket.range.ParsedDateRange.ParsedBucket
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,MultiBucketsAggregation.Bucket,Range.Bucket,HasAggregations
- Enclosing class:
- ParsedDateRange
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params -
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.bucket.range.ParsedRange.ParsedBucket
from, fromAsString, key, to, toAsStringFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.elasticsearch.search.aggregations.bucket.range.ParsedRange.ParsedBucket
getFromAsString, getKey, getKeyAsString, getToAsString, parseRangeBucketXContent, toXContentMethods inherited from class org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucket
getAggregations, getDocCount, isKeyed, keyToXContent, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket
getAggregations, getDocCountMethods inherited from interface org.elasticsearch.common.xcontent.ToXContent
isFragment
-
Constructor Details
-
ParsedBucket
public ParsedBucket()
-
-
Method Details
-
getFrom
- Specified by:
getFromin interfaceRange.Bucket- Overrides:
getFromin classParsedRange.ParsedBucket- Returns:
- The lower bound of the range
-
getTo
- Specified by:
getToin interfaceRange.Bucket- Overrides:
getToin classParsedRange.ParsedBucket- Returns:
- The upper bound of the range (excluding)
-