Uses of Enum Class
io.trino.execution.QueryState
Packages that use QueryState
-
Uses of QueryState in io.trino.dispatcher
Methods in io.trino.dispatcher that return QueryStateMethod parameters in io.trino.dispatcher with type arguments of type QueryStateModifier and TypeMethodDescriptionvoidFailedDispatchQuery.addStateChangeListener(StateMachine.StateChangeListener<QueryState> stateChangeListener) voidLocalDispatchQuery.addStateChangeListener(StateMachine.StateChangeListener<QueryState> stateChangeListener) -
Uses of QueryState in io.trino.execution
Fields in io.trino.execution with type parameters of type QueryStateMethods in io.trino.execution that return QueryStateModifier and TypeMethodDescriptionQueryManager.getQueryState(QueryId queryId) QueryStateMachine.getQueryState()SqlQueryManager.getQueryState(QueryId queryId) DataDefinitionExecution.getState()ManagedQueryExecution.getState()QueryExecution.getState()QueryInfo.getState()SqlQueryExecution.getState()static QueryStateReturns the enum constant of this class with the specified name.static QueryState[]QueryState.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.trino.execution that return types with arguments of type QueryStateModifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<QueryState> DataDefinitionExecution.getStateChange(QueryState currentState) com.google.common.util.concurrent.ListenableFuture<QueryState> QueryExecution.getStateChange(QueryState currentState) com.google.common.util.concurrent.ListenableFuture<QueryState> QueryManager.getStateChange(QueryId queryId, QueryState currentState) Gets a future that completes when the query changes from the specified current state or immediately if the query is already in a final state.com.google.common.util.concurrent.ListenableFuture<QueryState> QueryStateMachine.getStateChange(QueryState currentState) com.google.common.util.concurrent.ListenableFuture<QueryState> SqlQueryExecution.getStateChange(QueryState currentState) com.google.common.util.concurrent.ListenableFuture<QueryState> SqlQueryManager.getStateChange(QueryId queryId, QueryState currentState) Methods in io.trino.execution with parameters of type QueryStateModifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<QueryState> DataDefinitionExecution.getStateChange(QueryState currentState) com.google.common.util.concurrent.ListenableFuture<QueryState> QueryExecution.getStateChange(QueryState currentState) com.google.common.util.concurrent.ListenableFuture<QueryState> QueryManager.getStateChange(QueryId queryId, QueryState currentState) Gets a future that completes when the query changes from the specified current state or immediately if the query is already in a final state.com.google.common.util.concurrent.ListenableFuture<QueryState> QueryStateMachine.getStateChange(QueryState currentState) com.google.common.util.concurrent.ListenableFuture<QueryState> SqlQueryExecution.getStateChange(QueryState currentState) com.google.common.util.concurrent.ListenableFuture<QueryState> SqlQueryManager.getStateChange(QueryId queryId, QueryState currentState) Method parameters in io.trino.execution with type arguments of type QueryStateModifier and TypeMethodDescriptionvoidDataDefinitionExecution.addStateChangeListener(StateMachine.StateChangeListener<QueryState> stateChangeListener) voidManagedQueryExecution.addStateChangeListener(StateMachine.StateChangeListener<QueryState> stateChangeListener) Listener is always notified asynchronously using a dedicated notification thread pool so, care should be taken to avoid leakingthiswhen adding a listener in a constructor.voidQueryExecution.addStateChangeListener(StateMachine.StateChangeListener<QueryState> stateChangeListener) voidQueryManager.addStateChangeListener(QueryId queryId, StateMachine.StateChangeListener<QueryState> listener) Add a listener that fires each time the query state changes.voidQueryStateMachine.addStateChangeListener(StateMachine.StateChangeListener<QueryState> stateChangeListener) Listener is always notified asynchronously using a dedicated notification thread pool so, care should be taken to avoid leakingthiswhen adding a listener in a constructor.voidSqlQueryExecution.addStateChangeListener(StateMachine.StateChangeListener<QueryState> stateChangeListener) voidSqlQueryManager.addStateChangeListener(QueryId queryId, StateMachine.StateChangeListener<QueryState> listener) Constructors in io.trino.execution with parameters of type QueryStateModifierConstructorDescriptionQueryInfo(QueryId queryId, SessionRepresentation session, QueryState state, URI self, List<String> fieldNames, String query, Optional<String> preparedQuery, QueryStats queryStats, Optional<String> setCatalog, Optional<String> setSchema, Optional<String> setPath, Optional<String> setAuthorizationUser, boolean resetAuthorizationUser, Map<String, String> setSessionProperties, Set<String> resetSessionProperties, Map<String, SelectedRole> setRoles, Map<String, String> addedPreparedStatements, Set<String> deallocatedPreparedStatements, Optional<TransactionId> startedTransactionId, boolean clearTransactionId, String updateType, Optional<StageInfo> outputStage, ExecutionFailureInfo failureInfo, ErrorCode errorCode, List<TrinoWarning> warnings, Set<Input> inputs, Optional<Output> output, List<TableInfo> referencedTables, List<RoutineInfo> routines, boolean finalQueryInfo, Optional<ResourceGroupId> resourceGroupId, Optional<QueryType> queryType, RetryPolicy retryPolicy, boolean pruned, NodeVersion version) -
Uses of QueryState in io.trino.server
Methods in io.trino.server that return QueryStateConstructors in io.trino.server with parameters of type QueryStateModifierConstructorDescriptionBasicQueryInfo(QueryId queryId, SessionRepresentation session, Optional<ResourceGroupId> resourceGroupId, QueryState state, boolean scheduled, URI self, String query, Optional<String> updateType, Optional<String> preparedQuery, BasicQueryStats queryStats, ErrorType errorType, ErrorCode errorCode, Optional<QueryType> queryType, RetryPolicy retryPolicy) QueryStateInfo(QueryId queryId, QueryState queryState, Optional<ResourceGroupId> resourceGroupId, String query, org.joda.time.DateTime createTime, String user, Optional<String> source, Optional<String> clientInfo, Optional<String> catalog, Optional<String> schema, Optional<List<ResourceGroupInfo>> pathToRoot, Optional<QueryProgressStats> progress) -
Uses of QueryState in io.trino.server.ui
Methods in io.trino.server.ui that return QueryState