Class AbstractProfileBreakdown<T extends java.lang.Enum<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

    Constructor Description
    AbstractProfileBreakdown​(java.lang.Class<T> clazz)
    Sole constructor.
  • Method Summary

    Modifier and Type Method Description
    Timer getTimer​(T timing)  
    void setTimer​(T timing, Timer timer)  
    java.util.Map<java.lang.String,​java.lang.Long> toTimingMap()
    Convert this record to a map from timingType to times.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getTimer

      public Timer getTimer​(T timing)
    • setTimer

      public void setTimer​(T timing, Timer timer)
    • toTimingMap

      public java.util.Map<java.lang.String,​java.lang.Long> toTimingMap()
      Convert this record to a map from timingType to times.