@Immutable public class BasicQueryInfo extends Object
| Constructor and Description |
|---|
BasicQueryInfo(QueryId queryId,
SessionRepresentation session,
Optional<ResourceGroupId> resourceGroupId,
QueryState state,
MemoryPoolId memoryPool,
boolean scheduled,
URI self,
String query,
BasicQueryStats queryStats,
ErrorType errorType,
ErrorCode errorCode) |
BasicQueryInfo(QueryInfo queryInfo) |
| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
getErrorCode() |
ErrorType |
getErrorType() |
MemoryPoolId |
getMemoryPool() |
String |
getQuery() |
QueryId |
getQueryId() |
BasicQueryStats |
getQueryStats() |
Optional<ResourceGroupId> |
getResourceGroupId() |
URI |
getSelf() |
SessionRepresentation |
getSession() |
QueryState |
getState() |
static BasicQueryInfo |
immediateFailureQueryInfo(Session session,
String query,
URI self,
Optional<ResourceGroupId> resourceGroupId,
ErrorCode errorCode) |
boolean |
isScheduled() |
String |
toString() |
public BasicQueryInfo(QueryId queryId, SessionRepresentation session, Optional<ResourceGroupId> resourceGroupId, QueryState state, MemoryPoolId memoryPool, boolean scheduled, URI self, String query, BasicQueryStats queryStats, ErrorType errorType, ErrorCode errorCode)
public BasicQueryInfo(QueryInfo queryInfo)
public static BasicQueryInfo immediateFailureQueryInfo(Session session, String query, URI self, Optional<ResourceGroupId> resourceGroupId, ErrorCode errorCode)
public QueryId getQueryId()
public SessionRepresentation getSession()
public Optional<ResourceGroupId> getResourceGroupId()
public QueryState getState()
public MemoryPoolId getMemoryPool()
public boolean isScheduled()
public URI getSelf()
public String getQuery()
public BasicQueryStats getQueryStats()
Copyright © 2012–2019. All rights reserved.