Interface ManagedQueryExecution

    • Method Detail

      • startWaitingForResources

        void startWaitingForResources()
      • addStateChangeListener

        void addStateChangeListener​(StateMachine.StateChangeListener<QueryState> stateChangeListener)
        Listener is always notified asynchronously using a dedicated notification thread pool so, care should be taken to avoid leaking this when adding a listener in a constructor. Additionally, it is possible notifications are observed out of order due to the asynchronous execution.
      • getUserMemoryReservation

        io.airlift.units.DataSize getUserMemoryReservation()
      • getTotalMemoryReservation

        io.airlift.units.DataSize getTotalMemoryReservation()
      • getTotalCpuTime

        io.airlift.units.Duration getTotalCpuTime()
      • getFullQueryInfo

        QueryInfo getFullQueryInfo()
      • isDone

        boolean isDone()
      • getErrorCode

        Optional<ErrorCode> getErrorCode()
        Returns:
        Returns non-empty value iff error has occurred and query failed state is visible.