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(Object from,
Object to) |
void |
addRange(String key,
Object from,
Object to) |
void |
addUnboundedFrom(Object from) |
void |
addUnboundedFrom(String key,
Object from) |
void |
addUnboundedTo(Object to) |
void |
addUnboundedTo(String key,
Object 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(Object to)
public void addUnboundedFrom(Object from)
Copyright © 2014–2017. All rights reserved.