public class ControlTunnel extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ControlTunnel.CancelQuery |
class |
ControlTunnel.CustomFuture<RECEIVE>
A class used to return a synchronous future when doing custom rpc messages.
|
static class |
ControlTunnel.CustomMessageSender |
class |
ControlTunnel.CustomTunnel<SEND,RECEIVE>
A special tunnel that can be used for custom types of messages.
|
static class |
ControlTunnel.JacksonSerDe<MSG> |
static class |
ControlTunnel.ProtoSerDe<MSG extends com.google.protobuf.MessageLite> |
static class |
ControlTunnel.ReceiverFinished |
static class |
ControlTunnel.RequestProfile |
static class |
ControlTunnel.SendFragment |
static class |
ControlTunnel.SendFragmentStatus |
static class |
ControlTunnel.SignalFragment |
static class |
ControlTunnel.SyncCustomMessageSender |
Constructor and Description |
---|
ControlTunnel(ControlConnectionManager manager) |
public ControlTunnel(ControlConnectionManager manager)
public void sendFragments(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, BitControl.InitializeFragments fragments)
public void cancelFragment(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, ExecProtos.FragmentHandle handle)
public void unpauseFragment(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, ExecProtos.FragmentHandle handle)
public DrillRpcFuture<GeneralRPCProtos.Ack> requestCancelQuery(UserBitShared.QueryId queryId)
public void informReceiverFinished(RpcOutcomeListener<GeneralRPCProtos.Ack> outcomeListener, BitControl.FinishedReceiver finishedReceiver)
public DrillRpcFuture<GeneralRPCProtos.Ack> sendFragmentStatus(BitControl.FragmentStatus status)
public DrillRpcFuture<UserBitShared.QueryProfile> requestQueryProfile(UserBitShared.QueryId queryId)
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)
public <SEND,RECEIVE> ControlTunnel.CustomTunnel<SEND,RECEIVE> getCustomTunnel(int messageTypeId, Controller.CustomSerDe<SEND> send, Controller.CustomSerDe<RECEIVE> receive)
Copyright © 1970 The Apache Software Foundation. All rights reserved.