Class ParsedBinaryRange.ParsedBucket
java.lang.Object
org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucket
org.elasticsearch.search.aggregations.bucket.range.ParsedBinaryRange.ParsedBucket
- All Implemented Interfaces:
- org.elasticsearch.common.xcontent.ToXContent,- MultiBucketsAggregation.Bucket,- Range.Bucket,- HasAggregations
- Enclosing class:
- ParsedBinaryRange
public static class ParsedBinaryRange.ParsedBucket
extends ParsedMultiBucketAggregation.ParsedBucket
implements Range.Bucket
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContentorg.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
- 
Field SummaryFields inherited from interface org.elasticsearch.common.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetFrom()getKey()getTo()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)Methods inherited from class org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucketgetAggregations, getDocCount, isKeyed, keyToXContent, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.BucketgetAggregations, getDocCountMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentisFragment
- 
Constructor Details- 
ParsedBucketpublic ParsedBucket()
 
- 
- 
Method Details- 
getKey- Specified by:
- getKeyin interface- MultiBucketsAggregation.Bucket
- Returns:
- The key associated with the bucket
 
- 
getKeyAsString- Specified by:
- getKeyAsStringin interface- MultiBucketsAggregation.Bucket
- Overrides:
- getKeyAsStringin class- ParsedMultiBucketAggregation.ParsedBucket
- Returns:
- The key associated with the bucket as a string
 
- 
getFrom- Specified by:
- getFromin interface- Range.Bucket
- Returns:
- The lower bound of the range
 
- 
getFromAsString- Specified by:
- getFromAsStringin interface- Range.Bucket
- Returns:
- The string value for the lower bound of the range
 
- 
getTo- Specified by:
- getToin interface- Range.Bucket
- Returns:
- The upper bound of the range (excluding)
 
- 
getToAsString- Specified by:
- getToAsStringin interface- Range.Bucket
- Returns:
- The string value for the upper bound of the range (excluding)
 
- 
toXContentpublic org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
- toXContentin interface- org.elasticsearch.common.xcontent.ToXContent
- Overrides:
- toXContentin class- ParsedMultiBucketAggregation.ParsedBucket
- Throws:
- IOException
 
 
-