| Constructor and Description |
|---|
AggregationKeyFormatter(AggregationKey<?> key) |
| Modifier and Type | Method and Description |
|---|---|
static <A> AggregationKey<A> |
AggregationKey.of(String name) |
| Modifier and Type | Method and Description |
|---|---|
<A> void |
SearchAggregationBuilderFactory.contribute(C collector,
AggregationKey<A> key,
SearchAggregation<A> aggregation)
Contribute an aggregation to a collector.
|
| Modifier and Type | Method and Description |
|---|---|
<A> A |
SearchResult.aggregation(AggregationKey<A> key) |
default <A> A |
SearchResult.getAggregation(AggregationKey<A> key)
Deprecated.
Use
SearchResult.aggregation(AggregationKey) instead. |
| Modifier and Type | Method and Description |
|---|---|
<T> S |
SearchQueryOptionsStep.aggregation(AggregationKey<T> key,
Function<? super AF,? extends AggregationFinalStep<T>> aggregationContributor)
Add an aggregation to this query.
|
<T> S |
SearchQueryOptionsStep.aggregation(AggregationKey<T> key,
SearchAggregation<T> aggregation)
Add an aggregation to this query.
|
| Modifier and Type | Method and Description |
|---|---|
<A> S |
AbstractSearchQueryOptionsStep.aggregation(AggregationKey<A> key,
Function<? super AF,? extends AggregationFinalStep<A>> aggregationContributor) |
<A> S |
AbstractSearchQueryOptionsStep.aggregation(AggregationKey<A> key,
SearchAggregation<A> aggregation) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
SimpleSearchResult.aggregation(AggregationKey<T> key) |
| Constructor and Description |
|---|
SimpleSearchResult(long hitCount,
List<H> hits,
Map<AggregationKey<?>,?> aggregationResults,
Duration took,
Boolean timedOut) |
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.