Package org.elasticsearch.search.profile
Class AbstractProfileBreakdown<T extends java.lang.Enum<T>>
java.lang.Object
org.elasticsearch.search.profile.AbstractProfileBreakdown<T>
- Direct Known Subclasses:
AggregationProfileBreakdown
,QueryProfileBreakdown
public abstract class AbstractProfileBreakdown<T extends java.lang.Enum<T>>
extends java.lang.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(java.lang.Class<T> clazz)
Sole constructor. -
Method Summary
-
Constructor Details
-
AbstractProfileBreakdown
Sole constructor.
-
-
Method Details
-
getTimer
-
setTimer
-
toTimingMap
public java.util.Map<java.lang.String,java.lang.Long> toTimingMap()Convert this record to a map from timingType to times.
-