Class ProfileWrapper
java.lang.Object
org.apache.drill.exec.server.rest.profile.ProfileWrapper
Wrapper class for a
query profile
, so it to be presented through web UI.-
Constructor Summary
ConstructorDescriptionProfileWrapper
(UserBitShared.QueryProfile profile, DrillConfig drillConfig, javax.servlet.http.HttpServletRequest request) -
Method Summary
-
Constructor Details
-
Method Details
-
hasAutoLimit
public boolean hasAutoLimit() -
getAutoLimit
public int getAutoLimit() -
getDefaultAutoLimit
public int getDefaultAutoLimit() -
hasError
public boolean hasError() -
getProfile
-
getProfileDuration
-
getQueryId
-
getQueryStateDisplayName
-
getPlanningDuration
-
getQueuedDuration
-
getExecutionDuration
-
getNoProgressWarningThreshold
-
getFragmentProfiles
-
getFragmentsOverview
-
getOperatorProfiles
-
getOperatorsOverview
-
getOptions
-
getSessionOptions
-
getQueryOptions
-
isOnlyImpersonationEnabled
public boolean isOnlyImpersonationEnabled()- Returns:
- true if impersonation is enabled without authentication, is needed to indicated if user name should be included when re-running the query
-
showEstimatedRows
public boolean showEstimatedRows() -
getCsrfToken
-