public class FieldStatsResult extends IndexQueryResult
Constructor and Description |
---|
FieldStatsResult(io.searchbox.core.search.aggregation.ValueCountAggregation valueCountAggregation,
io.searchbox.core.search.aggregation.ExtendedStatsAggregation extendedStatsAggregation,
io.searchbox.core.search.aggregation.CardinalityAggregation cardinalityAggregation,
List<ResultMessage> hits,
String query,
String source,
long tookMs) |
Modifier and Type | Method and Description |
---|---|
static FieldStatsResult |
empty(String query,
String bytesReference) |
long |
getCardinality() |
long |
getCount() |
double |
getMax() |
double |
getMean() |
double |
getMin() |
List<ResultMessage> |
getSearchHits() |
double |
getStdDeviation() |
double |
getSum() |
double |
getSumOfSquares() |
double |
getVariance() |
getBuiltQuery, getOriginalQuery, tookMs
public FieldStatsResult(io.searchbox.core.search.aggregation.ValueCountAggregation valueCountAggregation, io.searchbox.core.search.aggregation.ExtendedStatsAggregation extendedStatsAggregation, io.searchbox.core.search.aggregation.CardinalityAggregation cardinalityAggregation, List<ResultMessage> hits, String query, String source, long tookMs)
public long getCount()
public double getSum()
public double getSumOfSquares()
public double getMean()
public double getMin()
public double getMax()
public double getVariance()
public double getStdDeviation()
public long getCardinality()
public List<ResultMessage> getSearchHits()
public static FieldStatsResult empty(String query, String bytesReference)
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.