Package org.elasticsearch.search.profile
Class AbstractProfileBreakdown<T extends Enum<T>>
- java.lang.Object
-
- org.elasticsearch.search.profile.AbstractProfileBreakdown<T>
-
- Direct Known Subclasses:
AggregationProfileBreakdown,QueryProfileBreakdown
public abstract class AbstractProfileBreakdown<T extends Enum<T>> extends Object
A record of timings for the various operations that may happen during query execution. A node's time may be composed of several internal attributes (rewriting, weighting, scoring, etc).
-
-
Constructor Summary
Constructors Constructor Description AbstractProfileBreakdown(Class<T> clazz)Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimergetTimer(T timing)voidsetTimer(T timing, Timer timer)Map<String,Long>toTimingMap()Convert this record to a map from timingType to times.
-