Package org.opensearch.search.profile
Class AbstractProfiler<PB extends AbstractProfileBreakdown<?>,E>
java.lang.Object
org.opensearch.search.profile.AbstractProfiler<PB,E>
- Direct Known Subclasses:
AggregationProfiler
,QueryProfiler
Base class for a profiler
- Opensearch.internal:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQueryBreakdown
(E query) Get theAbstractProfileBreakdown
for the given element in the tree, potentially creating it if it did not exist.getTree()
void
Removes the last (e.g.
-
Field Details
-
profileTree
-
-
Constructor Details
-
AbstractProfiler
-
-
Method Details
-
getQueryBreakdown
Get theAbstractProfileBreakdown
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
- Returns:
- a hierarchical representation of the profiled tree
-