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 TypeClassDescriptionclassException for malformed connection string from clientMethods in org.apache.drill.exec.client that throw RpcExceptionModifier and TypeMethodDescriptionvoidDrillClient.connect()Connects the client to a Drillbit servervoidDrillClient.connect(String connect, Properties props) Start's a connection from client to servervoidDrillClient.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.voidDrillClient.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 TypeMethodDescriptionvoidDataTunnelStatusHandler.failed(RpcException ex) voidStatusHandler.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 TypeClassDescriptionclassclassclassMethods in org.apache.drill.exec.rpc that return RpcExceptionModifier and TypeMethodDescriptionprotected RpcExceptionRpcCheckedFuture.mapException(Exception e) static RpcExceptionRpcException.mapException(String message, Throwable t) static RpcExceptionRpcException.mapException(Throwable t) Methods in org.apache.drill.exec.rpc with parameters of type RpcExceptionModifier and TypeMethodDescriptionvoidAbstractClientConnection.channelClosed(RpcException ex) voidAbstractRemoteConnection.channelClosed(RpcException ex) Called from the RpcBus's channel close handler to close all remaining resources associated with this connection.voidAbstractServerConnection.channelClosed(RpcException ex) voidRemoteConnection.channelClosed(RpcException ex) voidBaseRpcOutcomeListener.failed(RpcException ex) voidRpcOutcomeListener.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> TRpcBus.get(io.netty.buffer.ByteBuf pBody, com.google.protobuf.Parser<T> parser) protected abstract com.google.protobuf.MessageLiteBasicServer.getResponseDefaultInstance(int rpcType) protected abstract com.google.protobuf.MessageLiteRpcBus.getResponseDefaultInstance(int rpcType) protected voidBasicServer.handle(SC connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) voidFailingRequestHandler.handle(S connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) voidRequestHandler.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 voidRpcBus.handle(C connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) protected abstract voidBasicClient.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.MessageLiteControlClient.getResponseDefaultInstance(int rpcType) com.google.protobuf.MessageLiteControlServer.getResponseDefaultInstance(int rpcType) static com.google.protobuf.MessageLiteDefaultInstanceHandler.getResponseDefaultInstance(int rpcType) protected voidControlClient.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.MessageLiteDataClient.getResponseDefaultInstance(int rpcType) com.google.protobuf.MessageLiteDataServer.getResponseDefaultInstance(int rpcType) static com.google.protobuf.MessageLiteDataDefaultInstanceHandler.getResponseDefaultInstanceClient(int rpcType) static com.google.protobuf.MessageLiteDataDefaultInstanceHandler.getResponseDefaultInstanceServer(int rpcType) protected voidDataClient.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 TypeMethodDescriptionvoidServerAuthenticationHandler.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 TypeMethodDescriptionvoidUserServer.BitToUserConnection.channelClosed(RpcException ex) Methods in org.apache.drill.exec.rpc.user that throw RpcExceptionModifier and TypeMethodDescriptionvoidQueryResultHandler.batchArrived(ConnectionThrottle throttle, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody) Maps internal low-level API protocol toUserResultsListener-level API protocol.voidUserClient.connect(CoordinationProtos.DrillbitEndpoint endpoint, DrillProperties properties, UserBitShared.UserCredentials credentials) Connects, and if required, authenticates.protected com.google.protobuf.MessageLiteUserClient.getResponseDefaultInstance(int rpcType) protected com.google.protobuf.MessageLiteUserServer.getResponseDefaultInstance(int rpcType) protected voidUserClient.handle(UserClient.UserToBitConnection connection, int rpcType, io.netty.buffer.ByteBuf pBody, io.netty.buffer.ByteBuf dBody, ResponseSender sender) voidQueryResultHandler.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 TypeMethodDescriptionvoidControlMessageHandler.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)