Package org.apache.sling.cms.core.models
Class QueryDebugger
java.lang.Object
org.apache.sling.cms.core.models.QueryDebugger
@ProviderType
@Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class)
public class QueryDebugger
extends Object
-
Constructor Details
-
QueryDebugger
@Inject public QueryDebugger(org.apache.sling.api.SlingHttpServletRequest request)
-
-
Method Details
-
getDuration
public long getDuration()- Returns:
- the execution duration or -1
-
getEstimatedSize
public long getEstimatedSize()- Returns:
- the estimated size
-
isExecutionEnabled
public boolean isExecutionEnabled()- Returns:
- if execution enabled
-
getException
- Returns:
- the exception
-
getPlan
- Returns:
- the plan
-
getResults
- Returns:
- the results
-
getStatement
- Returns:
- the statement
-
getSlowQueries
- Returns:
- the slowQueries
-
getPopularQueries
- Returns:
- the popularQueries
-