Also used :
ESSearchTypeHandler(org.graylog.storage.elasticsearch7.views.searchtypes.ESSearchTypeHandler)
ArgumentMatchers.any(org.mockito.ArgumentMatchers.any)
ElasticsearchClient(org.graylog.storage.elasticsearch7.ElasticsearchClient)
InvalidRangeParametersException(org.graylog2.plugin.indexer.searches.timeranges.InvalidRangeParametersException)
Provider(javax.inject.Provider)
Query(org.graylog.plugins.views.search.Query)
Mock(org.mockito.Mock)
HashMap(java.util.HashMap)
Captor(org.mockito.Captor)
Max(org.graylog.plugins.views.search.searchtypes.pivot.series.Max)
ESPivotSeriesSpecHandler(org.graylog.storage.elasticsearch7.views.searchtypes.pivot.ESPivotSeriesSpecHandler)
ArgumentCaptor(org.mockito.ArgumentCaptor)
SearchType(org.graylog.plugins.views.search.SearchType)
BucketSpec(org.graylog.plugins.views.search.searchtypes.pivot.BucketSpec)
SeriesSpec(org.graylog.plugins.views.search.searchtypes.pivot.SeriesSpec)
Map(java.util.Map)
FieldTypesLookup(org.graylog.plugins.views.search.elasticsearch.FieldTypesLookup)
AbsoluteRange(org.graylog2.plugin.indexer.searches.timeranges.AbsoluteRange)
MockitoJUnit(org.mockito.junit.MockitoJUnit)
Search(org.graylog.plugins.views.search.Search)
Aggregation(org.graylog.shaded.elasticsearch7.org.elasticsearch.search.aggregations.Aggregation)
QueryResult(org.graylog.plugins.views.search.QueryResult)
Pivot(org.graylog.plugins.views.search.searchtypes.pivot.Pivot)
TimeRange(org.graylog2.plugin.indexer.searches.timeranges.TimeRange)
Before(org.junit.Before)
SearchJob(org.graylog.plugins.views.search.SearchJob)
ImmutableSet(com.google.common.collect.ImmutableSet)
SearchRequest(org.graylog.shaded.elasticsearch7.org.elasticsearch.action.search.SearchRequest)
ESMaxHandler(org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESMaxHandler)
ESPivotBucketSpecHandler(org.graylog.storage.elasticsearch7.views.searchtypes.pivot.ESPivotBucketSpecHandler)
Set(java.util.Set)
Mockito.times(org.mockito.Mockito.times)
ESAverageHandler(org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESAverageHandler)
Mockito.verify(org.mockito.Mockito.verify)
List(java.util.List)
QueryStringDecorators(org.graylog.plugins.views.search.elasticsearch.QueryStringDecorators)
Rule(org.junit.Rule)
ESPivot(org.graylog.storage.elasticsearch7.views.searchtypes.pivot.ESPivot)
MockitoRule(org.mockito.junit.MockitoRule)
Average(org.graylog.plugins.views.search.searchtypes.pivot.series.Average)
IndexLookup(org.graylog.plugins.views.search.elasticsearch.IndexLookup)
Collections(java.util.Collections)
ESPivotSeriesSpecHandler(org.graylog.storage.elasticsearch7.views.searchtypes.pivot.ESPivotSeriesSpecHandler)
HashMap(java.util.HashMap)
ESMaxHandler(org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESMaxHandler)
SeriesSpec(org.graylog.plugins.views.search.searchtypes.pivot.SeriesSpec)
BucketSpec(org.graylog.plugins.views.search.searchtypes.pivot.BucketSpec)
Aggregation(org.graylog.shaded.elasticsearch7.org.elasticsearch.search.aggregations.Aggregation)
ESAverageHandler(org.graylog.storage.elasticsearch7.views.searchtypes.pivot.series.ESAverageHandler)
ESPivotBucketSpecHandler(org.graylog.storage.elasticsearch7.views.searchtypes.pivot.ESPivotBucketSpecHandler)
ESPivot(org.graylog.storage.elasticsearch7.views.searchtypes.pivot.ESPivot)
Before(org.junit.Before)