Uses of Class
io.trino.execution.QueryState
-
Packages that use QueryState Package Description io.trino.dispatcher io.trino.execution io.trino.server io.trino.server.ui -
-
Uses of QueryState in io.trino.dispatcher
Methods in io.trino.dispatcher that return QueryState Modifier and Type Method Description QueryStateFailedDispatchQuery. getState()QueryStateLocalDispatchQuery. getState()Method parameters in io.trino.dispatcher with type arguments of type QueryState Modifier and Type Method Description voidFailedDispatchQuery. 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 QueryState Modifier and Type Field Description static Set<QueryState>QueryState. TERMINAL_QUERY_STATESMethods in io.trino.execution that return QueryState Modifier and Type Method Description QueryStateQueryManager. getQueryState(QueryId queryId)QueryStateQueryStateMachine. getQueryState()QueryStateSqlQueryManager. getQueryState(QueryId queryId)QueryStateDataDefinitionExecution. getState()QueryStateManagedQueryExecution. getState()QueryStateQueryExecution. getState()QueryStateQueryInfo. getState()QueryStateSqlQueryExecution. getState()static QueryStateQueryState. valueOf(String name)Returns the enum constant of this type with the specified name.static QueryState[]QueryState. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.trino.execution that return types with arguments of type QueryState Modifier and Type Method Description com.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 QueryState Modifier and Type Method Description com.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 QueryState Modifier and Type Method Description voidDataDefinitionExecution. 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 QueryState Constructor Description QueryInfo(QueryId queryId, SessionRepresentation session, QueryState state, MemoryPoolId memoryPool, boolean scheduled, URI self, List<String> fieldNames, String query, Optional<String> preparedQuery, QueryStats queryStats, Optional<String> setCatalog, Optional<String> setSchema, Optional<String> setPath, 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 completeInfo, Optional<ResourceGroupId> resourceGroupId, Optional<QueryType> queryType) -
Uses of QueryState in io.trino.server
Methods in io.trino.server that return QueryState Modifier and Type Method Description QueryStateQueryStateInfo. getQueryState()QueryStateBasicQueryInfo. getState()Constructors in io.trino.server with parameters of type QueryState Constructor Description BasicQueryInfo(QueryId queryId, SessionRepresentation session, Optional<ResourceGroupId> resourceGroupId, QueryState state, MemoryPoolId memoryPool, boolean scheduled, URI self, String query, Optional<String> updateType, Optional<String> preparedQuery, BasicQueryStats queryStats, ErrorType errorType, ErrorCode errorCode, Optional<QueryType> queryType)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 Modifier and Type Method Description QueryStateTrimmedBasicQueryInfo. getState()
-