Class ControlTunnel
java.lang.Object
org.apache.drill.exec.rpc.control.ControlTunnel
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
class
A class used to return a synchronous future when doing custom rpc messages.static class
class
A special tunnel that can be used for custom types of messages.static class
static class
ControlTunnel.ProtoSerDe<MSG extends com.google.protobuf.MessageLite>
static class
static class
static class
static class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelFragment
(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, ExecProtos.FragmentHandle handle) <SEND extends com.google.protobuf.MessageLite,
RECEIVE extends com.google.protobuf.MessageLite>
ControlTunnel.CustomTunnel<SEND,RECEIVE> getCustomTunnel
(int messageTypeId, Class<SEND> clazz, com.google.protobuf.Parser<RECEIVE> parser) <SEND,
RECEIVE>
ControlTunnel.CustomTunnel<SEND,RECEIVE> getCustomTunnel
(int messageTypeId, Controller.CustomSerDe<SEND> send, Controller.CustomSerDe<RECEIVE> receive) void
informReceiverFinished
(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, BitControl.FinishedReceiver finishedReceiver) requestCancelQuery
(UserBitShared.QueryId queryId) requestQueryProfile
(UserBitShared.QueryId queryId) void
sendFragments
(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, BitControl.InitializeFragments fragments) void
unpauseFragment
(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, ExecProtos.FragmentHandle handle)
-
Constructor Details
-
ControlTunnel
-
-
Method Details
-
sendFragments
public void sendFragments(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, BitControl.InitializeFragments fragments) -
cancelFragment
public void cancelFragment(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, ExecProtos.FragmentHandle handle) -
unpauseFragment
public void unpauseFragment(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, ExecProtos.FragmentHandle handle) -
informReceiverFinished
public void informReceiverFinished(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, BitControl.FinishedReceiver finishedReceiver) -
sendFragmentStatus
-
getCustomTunnel
public <SEND extends com.google.protobuf.MessageLite,RECEIVE extends com.google.protobuf.MessageLite> ControlTunnel.CustomTunnel<SEND,RECEIVE> getCustomTunnel(int messageTypeId, Class<SEND> clazz, com.google.protobuf.Parser<RECEIVE> parser) -
getCustomTunnel
public <SEND,RECEIVE> ControlTunnel.CustomTunnel<SEND,RECEIVE> getCustomTunnel(int messageTypeId, Controller.CustomSerDe<SEND> send, Controller.CustomSerDe<RECEIVE> receive)
-