Class ProfileWrapper

java.lang.Object
org.apache.drill.exec.server.rest.profile.ProfileWrapper

public class ProfileWrapper extends Object
Wrapper class for a query profile, so it to be presented through web UI.
  • Constructor Details

  • Method Details

    • hasAutoLimit

      public boolean hasAutoLimit()
    • getAutoLimit

      public int getAutoLimit()
    • getDefaultAutoLimit

      public int getDefaultAutoLimit()
    • hasError

      public boolean hasError()
    • getProfile

      public UserBitShared.QueryProfile getProfile()
    • getProfileDuration

      public String getProfileDuration()
    • getQueryId

      public String getQueryId()
    • getQueryStateDisplayName

      public String getQueryStateDisplayName()
    • getPlanningDuration

      public String getPlanningDuration()
    • getQueuedDuration

      public String getQueuedDuration()
    • getExecutionDuration

      public String getExecutionDuration()
    • getNoProgressWarningThreshold

      public String getNoProgressWarningThreshold()
    • getFragmentProfiles

      public List<FragmentWrapper> getFragmentProfiles()
    • getFragmentsOverview

      public String getFragmentsOverview()
    • getOperatorProfiles

      public List<OperatorWrapper> getOperatorProfiles()
    • getOperatorsOverview

      public String getOperatorsOverview()
    • getOptions

      public Map<String,String> getOptions()
    • getSessionOptions

      public Map<String,String> getSessionOptions()
    • getQueryOptions

      public Map<String,String> 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

      public String getCsrfToken()