Class AggregationPhase
java.lang.Object
org.elasticsearch.search.aggregations.AggregationPhase
- All Implemented Interfaces:
SearchPhase
public class AggregationPhase extends java.lang.Object implements SearchPhase
Aggregation phase of a search request, used to collect aggregations
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.SearchPhase
SearchPhase.SearchContextSourcePrinter
-
Constructor Summary
Constructors Constructor Description AggregationPhase()
-
Method Summary
Modifier and Type Method Description void
execute(SearchContext context)
Executes the search phasevoid
preProcess(SearchContext context)
Performs pre processing of the search context before the execute.
-
Constructor Details
-
Method Details
-
preProcess
Description copied from interface:SearchPhase
Performs pre processing of the search context before the execute.- Specified by:
preProcess
in interfaceSearchPhase
-
execute
Description copied from interface:SearchPhase
Executes the search phase- Specified by:
execute
in interfaceSearchPhase
-