Package org.apache.lucene.sandbox.search
Class QueryProfilerBreakdown
- java.lang.Object
-
- org.apache.lucene.sandbox.search.QueryProfilerBreakdown
-
class QueryProfilerBreakdown 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).
-
-
Field Summary
Fields Modifier and Type Field Description private QueryProfilerTimer[]
timers
The accumulated timings for this query node
-
Constructor Summary
Constructors Constructor Description QueryProfilerBreakdown()
Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryProfilerTimer
getTimer(QueryProfilerTimingType type)
java.util.Map<java.lang.String,java.lang.Long>
toBreakdownMap()
Build a timing count breakdown.long
toTotalTime()
-
-
-
Field Detail
-
timers
private final QueryProfilerTimer[] timers
The accumulated timings for this query node
-
-
Method Detail
-
getTimer
public QueryProfilerTimer getTimer(QueryProfilerTimingType type)
-
toBreakdownMap
public final java.util.Map<java.lang.String,java.lang.Long> toBreakdownMap()
Build a timing count breakdown.
-
toTotalTime
public final long toTotalTime()
-
-