Package org.elasticsearch.search.profile
Class AbstractProfiler<PB extends AbstractProfileBreakdown<?>,E>
java.lang.Object
org.elasticsearch.search.profile.AbstractProfiler<PB,E>
- Direct Known Subclasses:
AggregationProfiler
,QueryProfiler
-
Field Summary
-
Constructor Summary
-
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
-