Uses of Class
org.apache.drill.exec.rpc.RpcException
Packages that use RpcException
Package
Description
Java client API for submitting queries and accepting result sets from a Drill
server.
Communication security.
-
Uses of RpcException in org.apache.drill.exec.client
Subclasses of RpcException in org.apache.drill.exec.clientModifier and TypeClassDescriptionclass
Exception for malformed connection string from clientMethods in org.apache.drill.exec.client that throw RpcExceptionModifier and TypeMethodDescriptionvoid
DrillClient.connect()
Connects the client to a Drillbit servervoid
DrillClient.connect
(String connect, Properties props) Start's a connection from client to servervoid
DrillClient.connect
(Properties props) Start's a connection from client to serverDrillClient.executePreparedStatement
(UserProtos.PreparedStatementHandle preparedStatementHandle) Execute the given prepared statement and return the results.DrillClient.runQuery
(UserBitShared.QueryType type, String plan) Submits a string based query plan for execution and returns the result batches.void
DrillClient.runQuery
(UserBitShared.QueryType type, List<BitControl.PlanFragment> planFragments, UserResultsListener resultsListener) Run query based on list of fragments that were supposedly produced during query planning phase. -
Uses of RpcException in org.apache.drill.exec.ops
Methods in org.apache.drill.exec.ops with parameters of type RpcExceptionModifier and TypeMethodDescriptionvoid
DataTunnelStatusHandler.failed
(RpcException ex) void
StatusHandler.failed
(RpcException ex) Constructor parameters in org.apache.drill.exec.ops with type arguments of type RpcExceptionModifierConstructorDescriptionDataTunnelStatusHandler
(Consumer<RpcException> consumer, SendingAccountor sendingAccountor) StatusHandler
(Consumer<RpcException> consumer, SendingAccountor sendingAccountor) -
Uses of RpcException in org.apache.drill.exec.rpc
Subclasses of RpcException in org.apache.drill.exec.rpcModifier and TypeClassDescriptionclass
class
class
Methods in org.apache.drill.exec.rpc that return RpcExceptionModifier and TypeMethodDescriptionprotected RpcException
RpcCheckedFuture.mapException
(Exception e) static RpcException
RpcException.mapException
(String message, Throwable t) static RpcException
RpcException.mapException
(Throwable t) Methods in org.apache.drill.exec.rpc with parameters of type RpcExceptionModifier and TypeMethodDescriptionvoid
AbstractClientConnection.channelClosed
(RpcException ex) void
AbstractRemoteConnection.channelClosed
(RpcException ex) Called from the RpcBus's channel close handler to close all remaining resources associated with this connection.void
AbstractServerConnection.channelClosed
(RpcException ex) void
RemoteConnection.channelClosed
(RpcException ex) void
BaseRpcOutcomeListener.failed
(RpcException ex) void
RpcOutcomeListener.failed
(RpcException ex) Called when an error occurred while waiting for the RPC outcome.Methods in org.apache.drill.exec.rpc that throw RpcExceptionModifier and TypeMethodDescriptionstatic <T> T
RpcBus.get
(io.netty.buffer.ByteBuf pBody, com.google.protobuf.Parser<T> parser) protected abstract com.google.protobuf.MessageLite
BasicServer.getResponseDefaultInstance
(int rpcType) protected abstract com.google.protobuf.MessageLite
RpcBus.getResponseDefaultInstance
(int rpcType) protected void
BasicServer.handle
(SC connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) void
FailingRequestHandler.handle
(S connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) void
RequestHandler.handle
(S connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) Handle request of given type (rpcType) with message (pBody) and optional data (dBody) on the connection, and return the appropriate response.protected abstract void
RpcBus.handle
(C connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) protected abstract void
BasicClient.prepareSaslHandshake
(RpcConnectionHandler<CC> connectionHandler, List<String> serverAuthMechanisms) Creates various instances needed to start the SASL handshake.BasicClient.validateHandshake
(HR validateHandshake) BitRpcUtility.validateHandshake
(int handshakeRpcVersion, List<String> remoteAuthMechs, int rpcVersion, ClientConnection connection, BitConnectionConfig config, BasicClient client) Method to do validation on the handshake message received from server side. -
Uses of RpcException in org.apache.drill.exec.rpc.control
Methods in org.apache.drill.exec.rpc.control with parameters of type RpcExceptionMethods in org.apache.drill.exec.rpc.control that throw RpcExceptionModifier and TypeMethodDescriptionControlTunnel.CustomFuture.getBuffer()
com.google.protobuf.MessageLite
ControlClient.getResponseDefaultInstance
(int rpcType) com.google.protobuf.MessageLite
ControlServer.getResponseDefaultInstance
(int rpcType) static com.google.protobuf.MessageLite
DefaultInstanceHandler.getResponseDefaultInstance
(int rpcType) protected void
ControlClient.handle
(ControlConnection connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) CustomHandlerRegistry.handle
(BitControl.CustomMessage message, DrillBuf dBody) ControlClient.validateHandshake
(BitControl.BitControlHandshake handshake) -
Uses of RpcException in org.apache.drill.exec.rpc.data
Methods in org.apache.drill.exec.rpc.data that throw RpcExceptionModifier and TypeMethodDescriptioncom.google.protobuf.MessageLite
DataClient.getResponseDefaultInstance
(int rpcType) com.google.protobuf.MessageLite
DataServer.getResponseDefaultInstance
(int rpcType) static com.google.protobuf.MessageLite
DataDefaultInstanceHandler.getResponseDefaultInstanceClient
(int rpcType) static com.google.protobuf.MessageLite
DataDefaultInstanceHandler.getResponseDefaultInstanceServer
(int rpcType) protected void
DataClient.handle
(DataClientConnection connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) DataClient.validateHandshake
(BitData.BitServerHandshake handshake) -
Uses of RpcException in org.apache.drill.exec.rpc.security
Methods in org.apache.drill.exec.rpc.security with parameters of type RpcExceptionMethods in org.apache.drill.exec.rpc.security that throw RpcExceptionModifier and TypeMethodDescriptionvoid
ServerAuthenticationHandler.handle
(S connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) -
Uses of RpcException in org.apache.drill.exec.rpc.user
Methods in org.apache.drill.exec.rpc.user with parameters of type RpcExceptionModifier and TypeMethodDescriptionvoid
UserServer.BitToUserConnection.channelClosed
(RpcException ex) Methods in org.apache.drill.exec.rpc.user that throw RpcExceptionModifier and TypeMethodDescriptionvoid
QueryResultHandler.batchArrived
(ConnectionThrottle throttle, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody) Maps internal low-level API protocol toUserResultsListener
-level API protocol.void
UserClient.connect
(CoordinationProtos.DrillbitEndpoint endpoint, DrillProperties properties, UserBitShared.UserCredentials credentials) Connects, and if required, authenticates.protected com.google.protobuf.MessageLite
UserClient.getResponseDefaultInstance
(int rpcType) protected com.google.protobuf.MessageLite
UserServer.getResponseDefaultInstance
(int rpcType) protected void
UserClient.handle
(UserClient.UserToBitConnection connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) void
QueryResultHandler.resultArrived
(io.netty.buffer.ByteBuf pBody) Maps internal low-level API protocol toUserResultsListener
-level API protocol.UserClient.validateHandshake
(UserProtos.BitToUserHandshake inbound) -
Uses of RpcException in org.apache.drill.exec.work.batch
Methods in org.apache.drill.exec.work.batch that throw RpcExceptionModifier and TypeMethodDescriptionvoid
ControlMessageHandler.handle
(ControlConnection connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) ControlMessageHandler.initializeFragment
(BitControl.InitializeFragments fragments) ControlMessageHandler.requestQueryStatus
(UserBitShared.QueryId queryId)