public class RangeAggregation extends Aggregation implements SupportsNestedAggregationsAggregation
| Modifier and Type | Class and Description |
|---|---|
class |
RangeAggregation.Range |
| Constructor and Description |
|---|
RangeAggregation(String aggregationName,
String fieldName) |
RangeAggregation(String aggregationName,
String fieldName,
String format) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNestedAggregation(Aggregation nestedAggregation) |
void |
addRange(String key,
Value from,
Value to) |
void |
addRange(Value from,
Value to) |
void |
addUnboundedFrom(String key,
Value from) |
void |
addUnboundedFrom(Value from) |
void |
addUnboundedTo(String key,
Value to) |
void |
addUnboundedTo(Value to) |
String |
getAggregationName() |
String |
getFieldName() |
String |
getFormat() |
Iterable<Aggregation> |
getNestedAggregations() |
List<RangeAggregation.Range> |
getRanges() |
public String getAggregationName()
getAggregationName in class Aggregationpublic String getFieldName()
public String getFormat()
public void addNestedAggregation(Aggregation nestedAggregation)
addNestedAggregation in interface SupportsNestedAggregationsAggregationpublic Iterable<Aggregation> getNestedAggregations()
getNestedAggregations in interface SupportsNestedAggregationsAggregationpublic List<RangeAggregation.Range> getRanges()
public void addUnboundedTo(Value to)
public void addUnboundedFrom(Value from)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.