Search in sources :

Example 6 with ESPivot

use of org.graylog.storage.elasticsearch6.views.searchtypes.pivot.ESPivot in project graylog2-server by Graylog2.

the class ESPivotTest method setUp.

@Before
public void setUp() throws Exception {
    bucketHandlers = new HashMap<>();
    seriesHandlers = new HashMap<>();
    this.esPivot = new ESPivot(bucketHandlers, seriesHandlers);
    when(pivot.id()).thenReturn("dummypivot");
}
Also used : ESPivot(org.graylog.storage.elasticsearch7.views.searchtypes.pivot.ESPivot) Before(org.junit.Before)

Aggregations

SearchType (org.graylog.plugins.views.search.SearchType)4 Pivot (org.graylog.plugins.views.search.searchtypes.pivot.Pivot)4 Before (org.junit.Before)4 ESPivot (org.graylog.storage.elasticsearch6.views.searchtypes.pivot.ESPivot)3 ESPivot (org.graylog.storage.elasticsearch7.views.searchtypes.pivot.ESPivot)3 ImmutableSet (com.google.common.collect.ImmutableSet)2 Collections (java.util.Collections)2 Date (java.util.Date)2 HashMap (java.util.HashMap)2 Map (java.util.Map)2 Set (java.util.Set)2 Provider (javax.inject.Provider)2 Query (org.graylog.plugins.views.search.Query)2 QueryResult (org.graylog.plugins.views.search.QueryResult)2 Search (org.graylog.plugins.views.search.Search)2 SearchJob (org.graylog.plugins.views.search.SearchJob)2 FieldTypesLookup (org.graylog.plugins.views.search.elasticsearch.FieldTypesLookup)2 IndexLookup (org.graylog.plugins.views.search.elasticsearch.IndexLookup)2 QueryStringDecorators (org.graylog.plugins.views.search.elasticsearch.QueryStringDecorators)2 BucketSpec (org.graylog.plugins.views.search.searchtypes.pivot.BucketSpec)2