public class QueryTimesliceAggregation extends QueryAggregation
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
field |
protected java.lang.String |
interval |
protected java.lang.String |
name |
protected java.util.List<QueryTimesliceAggregationResult> |
results |
discriminatorMapping, discriminatorPropertyName, type
Constructor and Description |
---|
QueryTimesliceAggregation() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getField()
Gets the field.
|
java.lang.String |
getInterval()
Gets the interval.
|
java.lang.String |
getName()
Gets the name.
|
java.util.List<QueryTimesliceAggregationResult> |
getResults()
Gets the results.
|
getType
protected java.lang.String field
protected java.lang.String interval
protected java.lang.String name
protected java.util.List<QueryTimesliceAggregationResult> results
public java.lang.String getField()
The date field name used to create the timeslice.
public java.lang.String getInterval()
The date interval value. Valid values are seconds, minutes, hours, days, weeks, and years.
public java.lang.String getName()
Identifier specified in the query request of this aggregation.
public java.util.List<QueryTimesliceAggregationResult> getResults()
Array of aggregation results.