public abstract class ESPivotSeriesSpecHandler<SPEC_TYPE extends SeriesSpec,AGGREGATION_RESULT extends io.searchbox.core.search.aggregation.Aggregation> extends Object implements SeriesSpecHandler<SPEC_TYPE,org.elasticsearch.search.aggregations.AggregationBuilder,io.searchbox.core.SearchResult,AGGREGATION_RESULT,ESPivot,ESGeneratedQueryContext>
| Modifier and Type | Class and Description |
|---|---|
static class |
ESPivotSeriesSpecHandler.Value |
| Constructor and Description |
|---|
ESPivotSeriesSpecHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected ESPivot.AggTypes |
aggTypes(ESGeneratedQueryContext queryContext,
Pivot pivot) |
abstract Stream<ESPivotSeriesSpecHandler.Value> |
doHandleResult(Pivot pivot,
SPEC_TYPE seriesSpec,
io.searchbox.core.SearchResult searchResult,
AGGREGATION_RESULT aggregation_result,
ESPivot searchTypeHandler,
ESGeneratedQueryContext queryContext) |
protected io.searchbox.core.search.aggregation.Aggregation |
extractAggregationFromResult(Pivot pivot,
PivotSpec spec,
io.searchbox.core.search.aggregation.MetricAggregation aggregations,
ESGeneratedQueryContext queryContext) |
Stream<ESPivotSeriesSpecHandler.Value> |
handleResult(Pivot pivot,
SeriesSpec seriesSpec,
Object queryResult,
Object aggregationResult,
SearchTypeHandler searchTypeHandler,
GeneratedQueryContext queryContext) |
protected void |
record(ESGeneratedQueryContext queryContext,
Pivot pivot,
PivotSpec spec,
String name,
Class<? extends io.searchbox.core.search.aggregation.Aggregation> aggregationClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAggregation, doCreateAggregationprotected ESPivot.AggTypes aggTypes(ESGeneratedQueryContext queryContext, Pivot pivot)
protected void record(ESGeneratedQueryContext queryContext, Pivot pivot, PivotSpec spec, String name, Class<? extends io.searchbox.core.search.aggregation.Aggregation> aggregationClass)
protected io.searchbox.core.search.aggregation.Aggregation extractAggregationFromResult(Pivot pivot, PivotSpec spec, io.searchbox.core.search.aggregation.MetricAggregation aggregations, ESGeneratedQueryContext queryContext)
public Stream<ESPivotSeriesSpecHandler.Value> handleResult(Pivot pivot, SeriesSpec seriesSpec, Object queryResult, Object aggregationResult, SearchTypeHandler searchTypeHandler, GeneratedQueryContext queryContext)
handleResult in interface SeriesSpecHandler<SPEC_TYPE extends SeriesSpec,org.elasticsearch.search.aggregations.AggregationBuilder,io.searchbox.core.SearchResult,AGGREGATION_RESULT extends io.searchbox.core.search.aggregation.Aggregation,ESPivot,ESGeneratedQueryContext>public abstract Stream<ESPivotSeriesSpecHandler.Value> doHandleResult(Pivot pivot, SPEC_TYPE seriesSpec, io.searchbox.core.SearchResult searchResult, AGGREGATION_RESULT aggregation_result, ESPivot searchTypeHandler, ESGeneratedQueryContext queryContext)
doHandleResult in interface SeriesSpecHandler<SPEC_TYPE extends SeriesSpec,org.elasticsearch.search.aggregations.AggregationBuilder,io.searchbox.core.SearchResult,AGGREGATION_RESULT extends io.searchbox.core.search.aggregation.Aggregation,ESPivot,ESGeneratedQueryContext>Copyright © 2012–2020 Graylog, Inc.. All rights reserved.