Class AbstractProfileBreakdown<T extends Enum<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 Details

    • AbstractProfileBreakdown

      public AbstractProfileBreakdown(Class<T> clazz)
      Sole constructor.
  • Method Details

    • getTimer

      public Timer getTimer(T timing)
    • setTimer

      public void setTimer(T timing, Timer timer)
    • toBreakdownMap

      public final Map<String,Long> toBreakdownMap()
      Build a timing count breakdown.
    • toDebugMap

      protected Map<String,Object> toDebugMap()
      Fetch extra debugging information.
    • toNodeTime

      public final long toNodeTime()