public class SearchResultCountWidgetStrategy extends Object implements WidgetStrategy
Modifier and Type | Class and Description |
---|---|
static interface |
SearchResultCountWidgetStrategy.Factory |
Modifier and Type | Field and Description |
---|---|
protected Boolean |
lowerIsBetter |
protected String |
query |
protected Searches |
searches |
protected TimeRange |
timeRange |
protected Boolean |
trend |
Constructor and Description |
---|
SearchResultCountWidgetStrategy(Searches searches,
Map<String,Object> config,
TimeRange timeRange,
String widgetId) |
Modifier and Type | Method and Description |
---|---|
ComputationResult |
compute() |
protected ComputationResult |
computeInternal(String filter) |
protected Searches |
getSearches() |
protected final Searches searches
protected final String query
protected final TimeRange timeRange
protected final Boolean trend
protected final Boolean lowerIsBetter
protected Searches getSearches()
public ComputationResult compute()
compute
in interface WidgetStrategy
protected ComputationResult computeInternal(String filter)
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.