Class RangeAggregation.Builder
java.lang.Object
com.atlassian.jira.search.aggregation.bucket.range.RangeAggregation.Builder
- Enclosing class:
- RangeAggregation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a range to the aggregation.Adds a range to the aggregation.Adds the given ranges to the aggregation.build()
withSubAggregation
(String name, Aggregation aggregation) withSubAggregations
(Map<String, Aggregation> aggregations)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withField
-
withSubAggregation
-
withSubAggregations
-
addRanges
Adds the given ranges to the aggregation.- Parameters:
ranges
- the ranges to add
-
addRange
Adds a range to the aggregation.- Parameters:
from
- inclusiveto
- exclusive
-
addRange
Adds a range to the aggregation.- Parameters:
from
- inclusiveto
- exclusive
-
build
-