Uses of Enum
org.apache.drill.exec.proto.UserBitShared.QueryResult.QueryState
Package
Description
Java client API for submitting queries and accepting result sets from a Drill
server.
-
Uses of UserBitShared.QueryResult.QueryState in org.apache.drill.exec.client
Modifier and TypeMethodDescriptionvoid
LoggingResultsListener.queryCompleted
(UserBitShared.QueryResult.QueryState state) -
Uses of UserBitShared.QueryResult.QueryState in org.apache.drill.exec.proto
Modifier and TypeMethodDescriptionUserBitShared.QueryResult.QueryState.forNumber
(int value) UserBitShared.QueryResult.Builder.getQueryState()
optional .exec.shared.QueryResult.QueryState query_state = 1;
UserBitShared.QueryResult.getQueryState()
optional .exec.shared.QueryResult.QueryState query_state = 1;
UserBitShared.QueryResultOrBuilder.getQueryState()
optional .exec.shared.QueryResult.QueryState query_state = 1;
UserBitShared.QueryInfo.Builder.getState()
optional .exec.shared.QueryResult.QueryState state = 3;
UserBitShared.QueryInfo.getState()
optional .exec.shared.QueryResult.QueryState state = 3;
UserBitShared.QueryInfoOrBuilder.getState()
optional .exec.shared.QueryResult.QueryState state = 3;
UserBitShared.QueryProfile.Builder.getState()
optional .exec.shared.QueryResult.QueryState state = 8;
UserBitShared.QueryProfile.getState()
optional .exec.shared.QueryResult.QueryState state = 8;
UserBitShared.QueryProfileOrBuilder.getState()
optional .exec.shared.QueryResult.QueryState state = 8;
UserProtos.QueryPlanFragments.Builder.getStatus()
required .exec.shared.QueryResult.QueryState status = 1;
UserProtos.QueryPlanFragments.getStatus()
required .exec.shared.QueryResult.QueryState status = 1;
UserProtos.QueryPlanFragmentsOrBuilder.getStatus()
required .exec.shared.QueryResult.QueryState status = 1;
UserBitShared.QueryResult.QueryState.valueOf
(int value) Deprecated.UserBitShared.QueryResult.QueryState.valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static UserBitShared.QueryResult.QueryState[]
UserBitShared.QueryResult.QueryState.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic com.google.protobuf.Internal.EnumLiteMap<UserBitShared.QueryResult.QueryState>
UserBitShared.QueryResult.QueryState.internalGetValueMap()
Modifier and TypeMethodDescriptionUserBitShared.QueryResult.Builder.setQueryState
(UserBitShared.QueryResult.QueryState value) optional .exec.shared.QueryResult.QueryState query_state = 1;
UserBitShared.QueryInfo.Builder.setState
(UserBitShared.QueryResult.QueryState value) optional .exec.shared.QueryResult.QueryState state = 3;
UserBitShared.QueryProfile.Builder.setState
(UserBitShared.QueryResult.QueryState value) optional .exec.shared.QueryResult.QueryState state = 8;
UserProtos.QueryPlanFragments.Builder.setStatus
(UserBitShared.QueryResult.QueryState value) required .exec.shared.QueryResult.QueryState status = 1;
-
Uses of UserBitShared.QueryResult.QueryState in org.apache.drill.exec.rpc.user
Modifier and TypeMethodDescriptionvoid
AwaitableUserResultsListener.queryCompleted
(UserBitShared.QueryResult.QueryState state) void
BlockingResultsListener.queryCompleted
(UserBitShared.QueryResult.QueryState state) void
UserResultsListener.queryCompleted
(UserBitShared.QueryResult.QueryState state) The query has completed (successful completion or cancellation). -
Uses of UserBitShared.QueryResult.QueryState in org.apache.drill.exec.server.rest.profile
Modifier and TypeMethodDescriptionstatic String
ProfileUtil.getQueryStateDisplayName
(UserBitShared.QueryResult.QueryState queryState) Utility method to return display name for query state -
Uses of UserBitShared.QueryResult.QueryState in org.apache.drill.exec.work.foreman
Modifier and TypeMethodDescriptionLoggedQuery.getOutcome()
Foreman.getState()
QueryStateProcessor.getState()
Modifier and TypeMethodDescriptionvoid
Foreman.addToEventQueue
(UserBitShared.QueryResult.QueryState state, Exception exception) Adds query status in the event queue to process it when foreman is ready.void
QueryStateProcessor.addToEventQueue
(UserBitShared.QueryResult.QueryState newState, Exception exception) Tells the foreman to move to a new state.
This will be added to the end of the event queue and will be processed once the foreman is ready to accept external events.void
QueryStateProcessor.moveToState
(UserBitShared.QueryResult.QueryState newState, Exception exception) Moves one query state to another, will fail when requested query state transition is not allowed.void
QueryStateProcessor.recordNewState
(UserBitShared.QueryResult.QueryState newState) Directly moves query from one state to another and updates ephemeral query store.void
Foreman.ForemanResult.setCompleted
(UserBitShared.QueryResult.QueryState queryState) Set up the result for a COMPLETED or CANCELED state.ModifierConstructorDescriptionLoggedQuery
(String queryId, String schema, String queryText, Date start, Date finish, UserBitShared.QueryResult.QueryState outcome, String username, SocketAddress remoteAddress)