public abstract class ESPivotBucketSpecHandler<SPEC_TYPE extends BucketSpec,AGGREGATION_RESULT extends io.searchbox.core.search.aggregation.Aggregation> extends Object implements BucketSpecHandler<SPEC_TYPE,org.elasticsearch.search.aggregations.AggregationBuilder,io.searchbox.core.SearchResult,AGGREGATION_RESULT,ESPivot,ESGeneratedQueryContext>
| Modifier and Type | Class and Description |
|---|---|
static class |
ESPivotBucketSpecHandler.Bucket |
| Constructor and Description |
|---|
ESPivotBucketSpecHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected ESPivot.AggTypes |
aggTypes(ESGeneratedQueryContext queryContext,
Pivot pivot) |
abstract Stream<ESPivotBucketSpecHandler.Bucket> |
doHandleResult(Pivot pivot,
SPEC_TYPE bucketSpec,
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<ESPivotBucketSpecHandler.Bucket> |
handleResult(Pivot pivot,
BucketSpec bucketSpec,
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<ESPivotBucketSpecHandler.Bucket> handleResult(Pivot pivot, BucketSpec bucketSpec, Object queryResult, Object aggregationResult, SearchTypeHandler searchTypeHandler, GeneratedQueryContext queryContext)
handleResult in interface BucketSpecHandler<SPEC_TYPE extends BucketSpec,org.elasticsearch.search.aggregations.AggregationBuilder,io.searchbox.core.SearchResult,AGGREGATION_RESULT extends io.searchbox.core.search.aggregation.Aggregation,ESPivot,ESGeneratedQueryContext>public abstract Stream<ESPivotBucketSpecHandler.Bucket> doHandleResult(Pivot pivot, SPEC_TYPE bucketSpec, io.searchbox.core.SearchResult searchResult, AGGREGATION_RESULT aggregation_result, ESPivot searchTypeHandler, ESGeneratedQueryContext queryContext)
doHandleResult in interface BucketSpecHandler<SPEC_TYPE extends BucketSpec,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.