Package io.trino.server
Class BasicQueryInfo
java.lang.Object
io.trino.server.BasicQueryInfo
Lightweight version of QueryInfo. Parts of the web UI depend on the fields
being named consistently across these classes.
-
Constructor Summary
ConstructorsConstructorDescriptionBasicQueryInfo(QueryInfo queryInfo) BasicQueryInfo(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) -
Method Summary
-
Constructor Details
-
BasicQueryInfo
public BasicQueryInfo(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) -
BasicQueryInfo
-
-
Method Details
-
getQueryId
-
getSession
-
getResourceGroupId
-
getState
-
isScheduled
public boolean isScheduled() -
getSelf
-
getQuery
-
getUpdateType
-
getPreparedQuery
-
getQueryStats
-
getErrorType
-
getErrorCode
-
getQueryType
-
getRetryPolicy
-
toString
-