public class TermsHistogramResult extends IndexQueryResult
| Constructor and Description |
|---|
TermsHistogramResult(io.searchbox.core.search.aggregation.DateHistogramAggregation result,
String originalQuery,
String builtQuery,
long size,
long tookMs,
Searches.DateHistogramInterval interval,
List<String> fields) |
| Modifier and Type | Method and Description |
|---|---|
static TermsHistogramResult |
empty(String originalQuery,
String builtQuery,
long size,
Searches.DateHistogramInterval interval) |
AbsoluteRange |
getHistogramBoundaries() |
Searches.DateHistogramInterval |
getInterval() |
Map<Long,TermsResult> |
getResults() |
long |
getSize() |
Set<String> |
getTerms() |
getBuiltQuery, getOriginalQuery, tookMspublic long getSize()
public Searches.DateHistogramInterval getInterval()
public Map<Long,TermsResult> getResults()
@Nullable public AbsoluteRange getHistogramBoundaries()
public static TermsHistogramResult empty(String originalQuery, String builtQuery, long size, Searches.DateHistogramInterval interval)
Copyright © 2012–2020 Graylog, Inc.. All rights reserved.