Uses of Class
org.apache.drill.exec.rpc.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
Modifier and TypeClassDescriptionclass
Exception for malformed connection string from clientModifier 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
Modifier and TypeMethodDescriptionvoid
DataTunnelStatusHandler.failed
(RpcException ex) void
StatusHandler.failed
(RpcException ex) ModifierConstructorDescriptionDataTunnelStatusHandler
(Consumer<RpcException> consumer, SendingAccountor sendingAccountor) StatusHandler
(Consumer<RpcException> consumer, SendingAccountor sendingAccountor) -
Uses of RpcException in org.apache.drill.exec.rpc
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionprotected RpcException
RpcCheckedFuture.mapException
(Exception e) static RpcException
RpcException.mapException
(String message, Throwable t) static RpcException
RpcException.mapException
(Throwable t) Modifier 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.Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionvoid
UserServer.BitToUserConnection.channelClosed
(RpcException ex) Modifier 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
Modifier 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)