public class ControlMessageHandler extends Object implements RequestHandler<ControlConnection>
| Constructor and Description |
|---|
ControlMessageHandler(WorkManager.WorkerBee bee) |
| Modifier and Type | Method and Description |
|---|---|
GeneralRPCProtos.Ack |
cancelFragment(ExecProtos.FragmentHandle handle) |
CustomHandlerRegistry |
getHandlerRegistry() |
void |
handle(ControlConnection connection,
int rpcType,
ByteBuf pBody,
ByteBuf dBody,
ResponseSender sender) |
GeneralRPCProtos.Ack |
initializeFragment(BitControl.InitializeFragments fragments) |
GeneralRPCProtos.Ack |
receivingFragmentFinished(BitControl.FinishedReceiver finishedReceiver) |
GeneralRPCProtos.Ack |
requestFragmentStatus(BitControl.FragmentStatus status) |
GeneralRPCProtos.Ack |
requestQueryCancel(UserBitShared.QueryId queryId) |
UserBitShared.QueryProfile |
requestQueryStatus(UserBitShared.QueryId queryId) |
GeneralRPCProtos.Ack |
resumeFragment(ExecProtos.FragmentHandle handle) |
void |
startNewFragment(BitControl.PlanFragment fragment,
DrillbitContext drillbitContext)
Start a new fragment on this node.
|
public ControlMessageHandler(WorkManager.WorkerBee bee)
public void handle(ControlConnection connection, int rpcType, ByteBuf pBody, ByteBuf dBody, ResponseSender sender) throws RpcException
handle in interface RequestHandler<ControlConnection>RpcExceptionpublic void startNewFragment(BitControl.PlanFragment fragment, DrillbitContext drillbitContext) throws UserRpcException
fragment - UserRpcExceptionpublic GeneralRPCProtos.Ack cancelFragment(ExecProtos.FragmentHandle handle)
public GeneralRPCProtos.Ack resumeFragment(ExecProtos.FragmentHandle handle)
public GeneralRPCProtos.Ack receivingFragmentFinished(BitControl.FinishedReceiver finishedReceiver)
public GeneralRPCProtos.Ack requestFragmentStatus(BitControl.FragmentStatus status)
public GeneralRPCProtos.Ack requestQueryCancel(UserBitShared.QueryId queryId)
public GeneralRPCProtos.Ack initializeFragment(BitControl.InitializeFragments fragments) throws RpcException
RpcExceptionpublic UserBitShared.QueryProfile requestQueryStatus(UserBitShared.QueryId queryId) throws RpcException
RpcExceptionpublic CustomHandlerRegistry getHandlerRegistry()
Copyright © 2022 The Apache Software Foundation. All rights reserved.