Uses of Enum
org.apache.drill.exec.proto.UserBitShared.QueryResult.QueryState
Packages that use 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
Methods in org.apache.drill.exec.client with parameters of type UserBitShared.QueryResult.QueryStateModifier and TypeMethodDescriptionvoidLoggingResultsListener.queryCompleted(UserBitShared.QueryResult.QueryState state) -
Uses of UserBitShared.QueryResult.QueryState in org.apache.drill.exec.proto
Methods in org.apache.drill.exec.proto that return UserBitShared.QueryResult.QueryStateModifier 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.Methods in org.apache.drill.exec.proto that return types with arguments of type UserBitShared.QueryResult.QueryStateModifier and TypeMethodDescriptionstatic com.google.protobuf.Internal.EnumLiteMap<UserBitShared.QueryResult.QueryState> UserBitShared.QueryResult.QueryState.internalGetValueMap()Methods in org.apache.drill.exec.proto with parameters of type UserBitShared.QueryResult.QueryStateModifier 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
Methods in org.apache.drill.exec.rpc.user with parameters of type UserBitShared.QueryResult.QueryStateModifier and TypeMethodDescriptionvoidAwaitableUserResultsListener.queryCompleted(UserBitShared.QueryResult.QueryState state) voidBlockingResultsListener.queryCompleted(UserBitShared.QueryResult.QueryState state) voidUserResultsListener.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
Methods in org.apache.drill.exec.server.rest.profile with parameters of type UserBitShared.QueryResult.QueryStateModifier and TypeMethodDescriptionstatic StringProfileUtil.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
Methods in org.apache.drill.exec.work.foreman that return UserBitShared.QueryResult.QueryStateModifier and TypeMethodDescriptionLoggedQuery.getOutcome()Foreman.getState()QueryStateProcessor.getState()Methods in org.apache.drill.exec.work.foreman with parameters of type UserBitShared.QueryResult.QueryStateModifier and TypeMethodDescriptionvoidForeman.addToEventQueue(UserBitShared.QueryResult.QueryState state, Exception exception) Adds query status in the event queue to process it when foreman is ready.voidQueryStateProcessor.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.voidQueryStateProcessor.moveToState(UserBitShared.QueryResult.QueryState newState, Exception exception) Moves one query state to another, will fail when requested query state transition is not allowed.voidQueryStateProcessor.recordNewState(UserBitShared.QueryResult.QueryState newState) Directly moves query from one state to another and updates ephemeral query store.voidForeman.ForemanResult.setCompleted(UserBitShared.QueryResult.QueryState queryState) Set up the result for a COMPLETED or CANCELED state.Constructors in org.apache.drill.exec.work.foreman with parameters of type UserBitShared.QueryResult.QueryStateModifierConstructorDescriptionLoggedQuery(String queryId, String schema, String queryText, Date start, Date finish, UserBitShared.QueryResult.QueryState outcome, String username, SocketAddress remoteAddress)