public class ESPivot extends Object implements ESSearchTypeHandler<Pivot>
| Modifier and Type | Class and Description |
|---|---|
static class |
ESPivot.AggTypes
This solely exists to hide the nasty type signature of the aggregation type map from the rest of the code.
|
| Constructor and Description |
|---|
ESPivot(Map<String,ESPivotBucketSpecHandler<? extends BucketSpec,? extends io.searchbox.core.search.aggregation.Aggregation>> bucketHandlers,
Map<String,ESPivotSeriesSpecHandler<? extends SeriesSpec,? extends io.searchbox.core.search.aggregation.Aggregation>> seriesHandlers) |
| Modifier and Type | Method and Description |
|---|---|
SearchType.Result |
doExtractResult(SearchJob job,
Query query,
Pivot pivot,
io.searchbox.core.SearchResult queryResult,
io.searchbox.core.search.aggregation.MetricAggregation aggregations,
ESGeneratedQueryContext queryContext) |
void |
doGenerateQueryPart(SearchJob job,
Query query,
Pivot pivot,
ESGeneratedQueryContext queryContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoExtractResultImplextractResult, generateQueryPart@Inject public ESPivot(Map<String,ESPivotBucketSpecHandler<? extends BucketSpec,? extends io.searchbox.core.search.aggregation.Aggregation>> bucketHandlers, Map<String,ESPivotSeriesSpecHandler<? extends SeriesSpec,? extends io.searchbox.core.search.aggregation.Aggregation>> seriesHandlers)
public void doGenerateQueryPart(SearchJob job, Query query, Pivot pivot, ESGeneratedQueryContext queryContext)
doGenerateQueryPart in interface SearchTypeHandler<Pivot,ESGeneratedQueryContext,io.searchbox.core.SearchResult>public SearchType.Result doExtractResult(SearchJob job, Query query, Pivot pivot, io.searchbox.core.SearchResult queryResult, io.searchbox.core.search.aggregation.MetricAggregation aggregations, ESGeneratedQueryContext queryContext)
doExtractResult in interface ESSearchTypeHandler<Pivot>Copyright © 2012–2020 Graylog, Inc.. All rights reserved.