Class AbstractProfiler<PB extends AbstractProfileBreakdown<?>,​E>

java.lang.Object
org.elasticsearch.search.profile.AbstractProfiler<PB,​E>
Direct Known Subclasses:
AggregationProfiler, QueryProfiler

public class AbstractProfiler<PB extends AbstractProfileBreakdown<?>,​E>
extends java.lang.Object
  • Field Details

  • Constructor Details

  • Method Details

    • getQueryBreakdown

      public PB getQueryBreakdown​(E query)
      Get the AbstractProfileBreakdown for the given element in the tree, potentially creating it if it did not exist.
    • pollLastElement

      public void pollLastElement()
      Removes the last (e.g. most recent) element on the stack.
    • getTree

      public java.util.List<ProfileResult> getTree()
      Returns:
      a hierarchical representation of the profiled tree