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
-
-
Constructor Summary
Constructors Constructor Description AggregationPhase()
-
Method Summary
All Methods Instance Methods Concrete Methods 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 Detail
-
AggregationPhase
@Inject public AggregationPhase()
-
-
Method Detail
-
preProcess
public void preProcess(SearchContext context)
Description copied from interface:SearchPhase
Performs pre processing of the search context before the execute.- Specified by:
preProcess
in interfaceSearchPhase
-
execute
public void execute(SearchContext context)
Description copied from interface:SearchPhase
Executes the search phase- Specified by:
execute
in interfaceSearchPhase
-
-