org.apache.iotdb.mpp.rpc.thrift.IDataNodeRPCService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of timechodb-thrift Show documentation
Show all versions of timechodb-thrift Show documentation
RPC (Thrift) framework for client and server.
The newest version!
/**
* Autogenerated by Thrift Compiler (0.14.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.iotdb.mpp.rpc.thrift;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2023-04-20")
public class IDataNodeRPCService {
public interface Iface {
/**
* dispatch FragmentInstance to remote node for query request
*
* @param req
*/
public TSendFragmentInstanceResp sendFragmentInstance(TSendFragmentInstanceReq req) throws org.apache.thrift.TException;
/**
* dispatch PlanNode to remote node for write request in order to save resource
*
* @param req
*/
public TSendPlanNodeResp sendPlanNode(TSendPlanNodeReq req) throws org.apache.thrift.TException;
public TFragmentInstanceInfoResp fetchFragmentInstanceInfo(TFetchFragmentInstanceInfoReq req) throws org.apache.thrift.TException;
public TCancelResp cancelQuery(TCancelQueryReq req) throws org.apache.thrift.TException;
public TCancelResp cancelPlanFragment(TCancelPlanFragmentReq req) throws org.apache.thrift.TException;
public TCancelResp cancelFragmentInstance(TCancelFragmentInstanceReq req) throws org.apache.thrift.TException;
public TSchemaFetchResponse fetchSchema(TSchemaFetchRequest req) throws org.apache.thrift.TException;
public TLoadResp sendTsFilePieceNode(TTsFilePieceReq req) throws org.apache.thrift.TException;
public TLoadResp sendLoadCommand(TLoadCommandReq req) throws org.apache.thrift.TException;
/**
* Config node will create a schema region on a list of data nodes.
*
* @param data nodes of the schema region, and schema region id generated by config node
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus createSchemaRegion(TCreateSchemaRegionReq req) throws org.apache.thrift.TException;
/**
* Config node will create a data region on a list of data nodes.
*
* @param data nodes of the data region, and data region id generated by config node
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus createDataRegion(TCreateDataRegionReq req) throws org.apache.thrift.TException;
/**
* Config node will invalidate Partition Info cache.
*
* @param bool:isStorageGroup, string:fullPath
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus invalidatePartitionCache(TInvalidateCacheReq req) throws org.apache.thrift.TException;
/**
* Config node will invalidate Schema Info cache.
*
* @param bool:isStorageGroup, string:fullPath
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus invalidateSchemaCache(TInvalidateCacheReq req) throws org.apache.thrift.TException;
/**
* Config node will delete a data/schema region of a certain storageGroup.
*
* @param data nodes of the data region, and data region id generated by config node
*
* @param consensusGroupId
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteRegion(org.apache.iotdb.common.rpc.thrift.TConsensusGroupId consensusGroupId) throws org.apache.thrift.TException;
/**
* Change the leader of specified RegionGroup to another DataNode
*
* @param The specified RegionGroup and the new leader DataNode
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus changeRegionLeader(TRegionLeaderChangeReq req) throws org.apache.thrift.TException;
/**
* Create a new Region peer in the given DataNode for the specified RegionGroup
*
* @param TCreatePeerReq which contains RegionId and its colleagues' locations
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus createNewRegionPeer(TCreatePeerReq req) throws org.apache.thrift.TException;
/**
* Add a Region peer to the specified RegionGroup
*
* @param TMaintainPeerReq which contains RegionId and the DataNodeLocation that selected to perform the add peer process
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus addRegionPeer(TMaintainPeerReq req) throws org.apache.thrift.TException;
/**
* Remove a Region peer from the specified RegionGroup
*
* @param TMaintainPeerReq which contains RegionId and the DataNodeLocation that selected to perform the remove peer process
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus removeRegionPeer(TMaintainPeerReq req) throws org.apache.thrift.TException;
/**
* Delete a Region peer in the given ConsensusGroup and all of its data on the specified DataNode
*
* @param TMaintainPeerReq which contains RegionId and the DataNodeLocation where the specified Region peer located
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteOldRegionPeer(TMaintainPeerReq req) throws org.apache.thrift.TException;
/**
* Config node will disable the Data node, the Data node will not accept read/write request when disabled
* @param data node location
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus disableDataNode(TDisableDataNodeReq req) throws org.apache.thrift.TException;
/**
* Config node will stop the Data node.
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus stopDataNode() throws org.apache.thrift.TException;
/**
* ConfigNode will ask DataNode for heartbeat in every few seconds.
*
* @param ConfigNode will send the latest config_node_list and load balancing policies in THeartbeatReq
*
*
* @param req
*/
public THeartbeatResp getDataNodeHeartBeat(THeartbeatReq req) throws org.apache.thrift.TException;
/**
* ConfigNode will ask DataNode to update region cache
*
* @param ConfigNode will send timestamp and new regionRouteMap in TRegionRouteReq
*
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus updateRegionCache(TRegionRouteReq req) throws org.apache.thrift.TException;
/**
* Config node will create a function on a list of data nodes.
*
* @param function name, function class name, and executable uris
*
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus createFunction(TCreateFunctionInstanceReq req) throws org.apache.thrift.TException;
/**
* Config node will drop a function on a list of data nodes.
*
* @param function name
*
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus dropFunction(TDropFunctionInstanceReq req) throws org.apache.thrift.TException;
/**
* Config node will create a trigger instance on data node.
*
* @param TriggerInformation, jar file.
*
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus createTriggerInstance(TCreateTriggerInstanceReq req) throws org.apache.thrift.TException;
/**
* Config node will active a trigger instance on data node.
*
* @param trigger name.
*
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus activeTriggerInstance(TActiveTriggerInstanceReq req) throws org.apache.thrift.TException;
/**
* Config node will inactive a trigger instance on data node.
*
* @param trigger name.
*
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus inactiveTriggerInstance(TInactiveTriggerInstanceReq req) throws org.apache.thrift.TException;
/**
* Config node will drop a trigger on all online config nodes and data nodes.
*
* @param trigger name, whether need to delete jar
*
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus dropTriggerInstance(TDropTriggerInstanceReq req) throws org.apache.thrift.TException;
/**
* Config node will renew DataNodeLocation of a stateful trigger.
*
* @param trigger name, new DataNodeLocation
*
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus updateTriggerLocation(TUpdateTriggerLocationReq req) throws org.apache.thrift.TException;
/**
* Fire a stateful trigger on current data node.
*
* @param trigger name, tablet and event
*
*
* @param req
*/
public TFireTriggerResp fireTrigger(TFireTriggerReq req) throws org.apache.thrift.TException;
/**
* Config node will invalidate permission Info cache.
*
* @param string:username, list:roleList
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus invalidatePermissionCache(TInvalidatePermissionCacheReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus merge() throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus flush(org.apache.iotdb.common.rpc.thrift.TFlushReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus clearCache() throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus loadConfiguration() throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus setSystemStatus(java.lang.String status) throws org.apache.thrift.TException;
/**
* Config node will Set the TTL for the database on a list of data nodes.
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus setTTL(org.apache.iotdb.common.rpc.thrift.TSetTTLReq req) throws org.apache.thrift.TException;
/**
* configNode will notify all DataNodes when the capacity of the ConfigNodeGroup is expanded or reduced
*
* @param list configNodeLocations
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus updateConfigNodeGroup(TUpdateConfigNodeGroupReq req) throws org.apache.thrift.TException;
/**
* Update template cache when template info or template set info is updated
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus updateTemplate(TUpdateTemplateReq req) throws org.apache.thrift.TException;
/**
* Construct schema black list in target schemaRegion to block R/W on matched timeseries
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus constructSchemaBlackList(TConstructSchemaBlackListReq req) throws org.apache.thrift.TException;
/**
* Remove the schema black list to recover R/W on matched timeseries
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus rollbackSchemaBlackList(TRollbackSchemaBlackListReq req) throws org.apache.thrift.TException;
/**
* Config node will invalidate Schema Info cache, which matched by given pathPatternTree.
*
* @param binary: pathPatternTree
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus invalidateMatchedSchemaCache(TInvalidateMatchedSchemaCacheReq req) throws org.apache.thrift.TException;
/**
* Config node will fetch the schema info in black list.
*
* @param binary: pathPatternTree
*
* @param req
*/
public TFetchSchemaBlackListResp fetchSchemaBlackList(TFetchSchemaBlackListReq req) throws org.apache.thrift.TException;
/**
* Config node inform this dataNode to execute a distribution data deleion mpp task
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteDataForDeleteSchema(TDeleteDataForDeleteSchemaReq req) throws org.apache.thrift.TException;
/**
* Delete matched timeseries and remove according schema black list in target schemRegion
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteTimeSeries(TDeleteTimeSeriesReq req) throws org.apache.thrift.TException;
/**
* Construct schema black list in target schemaRegion to block R/W on matched timeseries represent by template
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus constructSchemaBlackListWithTemplate(TConstructSchemaBlackListWithTemplateReq req) throws org.apache.thrift.TException;
/**
* Remove the schema black list to recover R/W on matched timeseries represent by template
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus rollbackSchemaBlackListWithTemplate(TRollbackSchemaBlackListWithTemplateReq req) throws org.apache.thrift.TException;
/**
* Deactivate template on device matched by input path pattern
* and remove according template schema black list in target schemRegion
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus deactivateTemplate(TDeactivateTemplateReq req) throws org.apache.thrift.TException;
public TCountPathsUsingTemplateResp countPathsUsingTemplate(TCountPathsUsingTemplateReq req) throws org.apache.thrift.TException;
/**
* Create PIPE on DataNode
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus createPipeOnDataNode(TCreatePipeOnDataNodeReq req) throws org.apache.thrift.TException;
/**
* Start, stop or drop PIPE on DataNode
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus operatePipeOnDataNode(TOperatePipeOnDataNodeReq req) throws org.apache.thrift.TException;
/**
* Start, stop or drop PIPE on DataNode for rollback
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus operatePipeOnDataNodeForRollback(TOperatePipeOnDataNodeReq req) throws org.apache.thrift.TException;
/**
* Execute CQ on DataNode
*
* @param req
*/
public org.apache.iotdb.common.rpc.thrift.TSStatus executeCQ(TExecuteCQ req) throws org.apache.thrift.TException;
}
public interface AsyncIface {
public void sendFragmentInstance(TSendFragmentInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void sendPlanNode(TSendPlanNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void fetchFragmentInstanceInfo(TFetchFragmentInstanceInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void cancelQuery(TCancelQueryReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void cancelPlanFragment(TCancelPlanFragmentReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void cancelFragmentInstance(TCancelFragmentInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void fetchSchema(TSchemaFetchRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void sendTsFilePieceNode(TTsFilePieceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void sendLoadCommand(TLoadCommandReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createSchemaRegion(TCreateSchemaRegionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createDataRegion(TCreateDataRegionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void invalidatePartitionCache(TInvalidateCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void invalidateSchemaCache(TInvalidateCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deleteRegion(org.apache.iotdb.common.rpc.thrift.TConsensusGroupId consensusGroupId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void changeRegionLeader(TRegionLeaderChangeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createNewRegionPeer(TCreatePeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void addRegionPeer(TMaintainPeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void removeRegionPeer(TMaintainPeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deleteOldRegionPeer(TMaintainPeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void disableDataNode(TDisableDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void stopDataNode(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getDataNodeHeartBeat(THeartbeatReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void updateRegionCache(TRegionRouteReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createFunction(TCreateFunctionInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void dropFunction(TDropFunctionInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createTriggerInstance(TCreateTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void activeTriggerInstance(TActiveTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void inactiveTriggerInstance(TInactiveTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void dropTriggerInstance(TDropTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void updateTriggerLocation(TUpdateTriggerLocationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void fireTrigger(TFireTriggerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void invalidatePermissionCache(TInvalidatePermissionCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void merge(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void flush(org.apache.iotdb.common.rpc.thrift.TFlushReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void clearCache(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void loadConfiguration(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void setSystemStatus(java.lang.String status, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void setTTL(org.apache.iotdb.common.rpc.thrift.TSetTTLReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void updateConfigNodeGroup(TUpdateConfigNodeGroupReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void updateTemplate(TUpdateTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void constructSchemaBlackList(TConstructSchemaBlackListReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void rollbackSchemaBlackList(TRollbackSchemaBlackListReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void invalidateMatchedSchemaCache(TInvalidateMatchedSchemaCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void fetchSchemaBlackList(TFetchSchemaBlackListReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deleteDataForDeleteSchema(TDeleteDataForDeleteSchemaReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deleteTimeSeries(TDeleteTimeSeriesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void constructSchemaBlackListWithTemplate(TConstructSchemaBlackListWithTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void rollbackSchemaBlackListWithTemplate(TRollbackSchemaBlackListWithTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deactivateTemplate(TDeactivateTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void countPathsUsingTemplate(TCountPathsUsingTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createPipeOnDataNode(TCreatePipeOnDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void operatePipeOnDataNode(TOperatePipeOnDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void operatePipeOnDataNodeForRollback(TOperatePipeOnDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void executeCQ(TExecuteCQ req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
}
public static class Client extends org.apache.thrift.TServiceClient implements Iface {
public static class Factory implements org.apache.thrift.TServiceClientFactory {
public Factory() {}
public Client getClient(org.apache.thrift.protocol.TProtocol prot) {
return new Client(prot);
}
public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
return new Client(iprot, oprot);
}
}
public Client(org.apache.thrift.protocol.TProtocol prot)
{
super(prot, prot);
}
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
super(iprot, oprot);
}
public TSendFragmentInstanceResp sendFragmentInstance(TSendFragmentInstanceReq req) throws org.apache.thrift.TException
{
send_sendFragmentInstance(req);
return recv_sendFragmentInstance();
}
public void send_sendFragmentInstance(TSendFragmentInstanceReq req) throws org.apache.thrift.TException
{
sendFragmentInstance_args args = new sendFragmentInstance_args();
args.setReq(req);
sendBase("sendFragmentInstance", args);
}
public TSendFragmentInstanceResp recv_sendFragmentInstance() throws org.apache.thrift.TException
{
sendFragmentInstance_result result = new sendFragmentInstance_result();
receiveBase(result, "sendFragmentInstance");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "sendFragmentInstance failed: unknown result");
}
public TSendPlanNodeResp sendPlanNode(TSendPlanNodeReq req) throws org.apache.thrift.TException
{
send_sendPlanNode(req);
return recv_sendPlanNode();
}
public void send_sendPlanNode(TSendPlanNodeReq req) throws org.apache.thrift.TException
{
sendPlanNode_args args = new sendPlanNode_args();
args.setReq(req);
sendBase("sendPlanNode", args);
}
public TSendPlanNodeResp recv_sendPlanNode() throws org.apache.thrift.TException
{
sendPlanNode_result result = new sendPlanNode_result();
receiveBase(result, "sendPlanNode");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "sendPlanNode failed: unknown result");
}
public TFragmentInstanceInfoResp fetchFragmentInstanceInfo(TFetchFragmentInstanceInfoReq req) throws org.apache.thrift.TException
{
send_fetchFragmentInstanceInfo(req);
return recv_fetchFragmentInstanceInfo();
}
public void send_fetchFragmentInstanceInfo(TFetchFragmentInstanceInfoReq req) throws org.apache.thrift.TException
{
fetchFragmentInstanceInfo_args args = new fetchFragmentInstanceInfo_args();
args.setReq(req);
sendBase("fetchFragmentInstanceInfo", args);
}
public TFragmentInstanceInfoResp recv_fetchFragmentInstanceInfo() throws org.apache.thrift.TException
{
fetchFragmentInstanceInfo_result result = new fetchFragmentInstanceInfo_result();
receiveBase(result, "fetchFragmentInstanceInfo");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "fetchFragmentInstanceInfo failed: unknown result");
}
public TCancelResp cancelQuery(TCancelQueryReq req) throws org.apache.thrift.TException
{
send_cancelQuery(req);
return recv_cancelQuery();
}
public void send_cancelQuery(TCancelQueryReq req) throws org.apache.thrift.TException
{
cancelQuery_args args = new cancelQuery_args();
args.setReq(req);
sendBase("cancelQuery", args);
}
public TCancelResp recv_cancelQuery() throws org.apache.thrift.TException
{
cancelQuery_result result = new cancelQuery_result();
receiveBase(result, "cancelQuery");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "cancelQuery failed: unknown result");
}
public TCancelResp cancelPlanFragment(TCancelPlanFragmentReq req) throws org.apache.thrift.TException
{
send_cancelPlanFragment(req);
return recv_cancelPlanFragment();
}
public void send_cancelPlanFragment(TCancelPlanFragmentReq req) throws org.apache.thrift.TException
{
cancelPlanFragment_args args = new cancelPlanFragment_args();
args.setReq(req);
sendBase("cancelPlanFragment", args);
}
public TCancelResp recv_cancelPlanFragment() throws org.apache.thrift.TException
{
cancelPlanFragment_result result = new cancelPlanFragment_result();
receiveBase(result, "cancelPlanFragment");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "cancelPlanFragment failed: unknown result");
}
public TCancelResp cancelFragmentInstance(TCancelFragmentInstanceReq req) throws org.apache.thrift.TException
{
send_cancelFragmentInstance(req);
return recv_cancelFragmentInstance();
}
public void send_cancelFragmentInstance(TCancelFragmentInstanceReq req) throws org.apache.thrift.TException
{
cancelFragmentInstance_args args = new cancelFragmentInstance_args();
args.setReq(req);
sendBase("cancelFragmentInstance", args);
}
public TCancelResp recv_cancelFragmentInstance() throws org.apache.thrift.TException
{
cancelFragmentInstance_result result = new cancelFragmentInstance_result();
receiveBase(result, "cancelFragmentInstance");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "cancelFragmentInstance failed: unknown result");
}
public TSchemaFetchResponse fetchSchema(TSchemaFetchRequest req) throws org.apache.thrift.TException
{
send_fetchSchema(req);
return recv_fetchSchema();
}
public void send_fetchSchema(TSchemaFetchRequest req) throws org.apache.thrift.TException
{
fetchSchema_args args = new fetchSchema_args();
args.setReq(req);
sendBase("fetchSchema", args);
}
public TSchemaFetchResponse recv_fetchSchema() throws org.apache.thrift.TException
{
fetchSchema_result result = new fetchSchema_result();
receiveBase(result, "fetchSchema");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "fetchSchema failed: unknown result");
}
public TLoadResp sendTsFilePieceNode(TTsFilePieceReq req) throws org.apache.thrift.TException
{
send_sendTsFilePieceNode(req);
return recv_sendTsFilePieceNode();
}
public void send_sendTsFilePieceNode(TTsFilePieceReq req) throws org.apache.thrift.TException
{
sendTsFilePieceNode_args args = new sendTsFilePieceNode_args();
args.setReq(req);
sendBase("sendTsFilePieceNode", args);
}
public TLoadResp recv_sendTsFilePieceNode() throws org.apache.thrift.TException
{
sendTsFilePieceNode_result result = new sendTsFilePieceNode_result();
receiveBase(result, "sendTsFilePieceNode");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "sendTsFilePieceNode failed: unknown result");
}
public TLoadResp sendLoadCommand(TLoadCommandReq req) throws org.apache.thrift.TException
{
send_sendLoadCommand(req);
return recv_sendLoadCommand();
}
public void send_sendLoadCommand(TLoadCommandReq req) throws org.apache.thrift.TException
{
sendLoadCommand_args args = new sendLoadCommand_args();
args.setReq(req);
sendBase("sendLoadCommand", args);
}
public TLoadResp recv_sendLoadCommand() throws org.apache.thrift.TException
{
sendLoadCommand_result result = new sendLoadCommand_result();
receiveBase(result, "sendLoadCommand");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "sendLoadCommand failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus createSchemaRegion(TCreateSchemaRegionReq req) throws org.apache.thrift.TException
{
send_createSchemaRegion(req);
return recv_createSchemaRegion();
}
public void send_createSchemaRegion(TCreateSchemaRegionReq req) throws org.apache.thrift.TException
{
createSchemaRegion_args args = new createSchemaRegion_args();
args.setReq(req);
sendBase("createSchemaRegion", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_createSchemaRegion() throws org.apache.thrift.TException
{
createSchemaRegion_result result = new createSchemaRegion_result();
receiveBase(result, "createSchemaRegion");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createSchemaRegion failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus createDataRegion(TCreateDataRegionReq req) throws org.apache.thrift.TException
{
send_createDataRegion(req);
return recv_createDataRegion();
}
public void send_createDataRegion(TCreateDataRegionReq req) throws org.apache.thrift.TException
{
createDataRegion_args args = new createDataRegion_args();
args.setReq(req);
sendBase("createDataRegion", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_createDataRegion() throws org.apache.thrift.TException
{
createDataRegion_result result = new createDataRegion_result();
receiveBase(result, "createDataRegion");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createDataRegion failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus invalidatePartitionCache(TInvalidateCacheReq req) throws org.apache.thrift.TException
{
send_invalidatePartitionCache(req);
return recv_invalidatePartitionCache();
}
public void send_invalidatePartitionCache(TInvalidateCacheReq req) throws org.apache.thrift.TException
{
invalidatePartitionCache_args args = new invalidatePartitionCache_args();
args.setReq(req);
sendBase("invalidatePartitionCache", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_invalidatePartitionCache() throws org.apache.thrift.TException
{
invalidatePartitionCache_result result = new invalidatePartitionCache_result();
receiveBase(result, "invalidatePartitionCache");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "invalidatePartitionCache failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus invalidateSchemaCache(TInvalidateCacheReq req) throws org.apache.thrift.TException
{
send_invalidateSchemaCache(req);
return recv_invalidateSchemaCache();
}
public void send_invalidateSchemaCache(TInvalidateCacheReq req) throws org.apache.thrift.TException
{
invalidateSchemaCache_args args = new invalidateSchemaCache_args();
args.setReq(req);
sendBase("invalidateSchemaCache", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_invalidateSchemaCache() throws org.apache.thrift.TException
{
invalidateSchemaCache_result result = new invalidateSchemaCache_result();
receiveBase(result, "invalidateSchemaCache");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "invalidateSchemaCache failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteRegion(org.apache.iotdb.common.rpc.thrift.TConsensusGroupId consensusGroupId) throws org.apache.thrift.TException
{
send_deleteRegion(consensusGroupId);
return recv_deleteRegion();
}
public void send_deleteRegion(org.apache.iotdb.common.rpc.thrift.TConsensusGroupId consensusGroupId) throws org.apache.thrift.TException
{
deleteRegion_args args = new deleteRegion_args();
args.setConsensusGroupId(consensusGroupId);
sendBase("deleteRegion", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_deleteRegion() throws org.apache.thrift.TException
{
deleteRegion_result result = new deleteRegion_result();
receiveBase(result, "deleteRegion");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteRegion failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus changeRegionLeader(TRegionLeaderChangeReq req) throws org.apache.thrift.TException
{
send_changeRegionLeader(req);
return recv_changeRegionLeader();
}
public void send_changeRegionLeader(TRegionLeaderChangeReq req) throws org.apache.thrift.TException
{
changeRegionLeader_args args = new changeRegionLeader_args();
args.setReq(req);
sendBase("changeRegionLeader", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_changeRegionLeader() throws org.apache.thrift.TException
{
changeRegionLeader_result result = new changeRegionLeader_result();
receiveBase(result, "changeRegionLeader");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "changeRegionLeader failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus createNewRegionPeer(TCreatePeerReq req) throws org.apache.thrift.TException
{
send_createNewRegionPeer(req);
return recv_createNewRegionPeer();
}
public void send_createNewRegionPeer(TCreatePeerReq req) throws org.apache.thrift.TException
{
createNewRegionPeer_args args = new createNewRegionPeer_args();
args.setReq(req);
sendBase("createNewRegionPeer", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_createNewRegionPeer() throws org.apache.thrift.TException
{
createNewRegionPeer_result result = new createNewRegionPeer_result();
receiveBase(result, "createNewRegionPeer");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createNewRegionPeer failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus addRegionPeer(TMaintainPeerReq req) throws org.apache.thrift.TException
{
send_addRegionPeer(req);
return recv_addRegionPeer();
}
public void send_addRegionPeer(TMaintainPeerReq req) throws org.apache.thrift.TException
{
addRegionPeer_args args = new addRegionPeer_args();
args.setReq(req);
sendBase("addRegionPeer", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_addRegionPeer() throws org.apache.thrift.TException
{
addRegionPeer_result result = new addRegionPeer_result();
receiveBase(result, "addRegionPeer");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addRegionPeer failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus removeRegionPeer(TMaintainPeerReq req) throws org.apache.thrift.TException
{
send_removeRegionPeer(req);
return recv_removeRegionPeer();
}
public void send_removeRegionPeer(TMaintainPeerReq req) throws org.apache.thrift.TException
{
removeRegionPeer_args args = new removeRegionPeer_args();
args.setReq(req);
sendBase("removeRegionPeer", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_removeRegionPeer() throws org.apache.thrift.TException
{
removeRegionPeer_result result = new removeRegionPeer_result();
receiveBase(result, "removeRegionPeer");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "removeRegionPeer failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteOldRegionPeer(TMaintainPeerReq req) throws org.apache.thrift.TException
{
send_deleteOldRegionPeer(req);
return recv_deleteOldRegionPeer();
}
public void send_deleteOldRegionPeer(TMaintainPeerReq req) throws org.apache.thrift.TException
{
deleteOldRegionPeer_args args = new deleteOldRegionPeer_args();
args.setReq(req);
sendBase("deleteOldRegionPeer", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_deleteOldRegionPeer() throws org.apache.thrift.TException
{
deleteOldRegionPeer_result result = new deleteOldRegionPeer_result();
receiveBase(result, "deleteOldRegionPeer");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteOldRegionPeer failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus disableDataNode(TDisableDataNodeReq req) throws org.apache.thrift.TException
{
send_disableDataNode(req);
return recv_disableDataNode();
}
public void send_disableDataNode(TDisableDataNodeReq req) throws org.apache.thrift.TException
{
disableDataNode_args args = new disableDataNode_args();
args.setReq(req);
sendBase("disableDataNode", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_disableDataNode() throws org.apache.thrift.TException
{
disableDataNode_result result = new disableDataNode_result();
receiveBase(result, "disableDataNode");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "disableDataNode failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus stopDataNode() throws org.apache.thrift.TException
{
send_stopDataNode();
return recv_stopDataNode();
}
public void send_stopDataNode() throws org.apache.thrift.TException
{
stopDataNode_args args = new stopDataNode_args();
sendBase("stopDataNode", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_stopDataNode() throws org.apache.thrift.TException
{
stopDataNode_result result = new stopDataNode_result();
receiveBase(result, "stopDataNode");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "stopDataNode failed: unknown result");
}
public THeartbeatResp getDataNodeHeartBeat(THeartbeatReq req) throws org.apache.thrift.TException
{
send_getDataNodeHeartBeat(req);
return recv_getDataNodeHeartBeat();
}
public void send_getDataNodeHeartBeat(THeartbeatReq req) throws org.apache.thrift.TException
{
getDataNodeHeartBeat_args args = new getDataNodeHeartBeat_args();
args.setReq(req);
sendBase("getDataNodeHeartBeat", args);
}
public THeartbeatResp recv_getDataNodeHeartBeat() throws org.apache.thrift.TException
{
getDataNodeHeartBeat_result result = new getDataNodeHeartBeat_result();
receiveBase(result, "getDataNodeHeartBeat");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getDataNodeHeartBeat failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus updateRegionCache(TRegionRouteReq req) throws org.apache.thrift.TException
{
send_updateRegionCache(req);
return recv_updateRegionCache();
}
public void send_updateRegionCache(TRegionRouteReq req) throws org.apache.thrift.TException
{
updateRegionCache_args args = new updateRegionCache_args();
args.setReq(req);
sendBase("updateRegionCache", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_updateRegionCache() throws org.apache.thrift.TException
{
updateRegionCache_result result = new updateRegionCache_result();
receiveBase(result, "updateRegionCache");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateRegionCache failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus createFunction(TCreateFunctionInstanceReq req) throws org.apache.thrift.TException
{
send_createFunction(req);
return recv_createFunction();
}
public void send_createFunction(TCreateFunctionInstanceReq req) throws org.apache.thrift.TException
{
createFunction_args args = new createFunction_args();
args.setReq(req);
sendBase("createFunction", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_createFunction() throws org.apache.thrift.TException
{
createFunction_result result = new createFunction_result();
receiveBase(result, "createFunction");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createFunction failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus dropFunction(TDropFunctionInstanceReq req) throws org.apache.thrift.TException
{
send_dropFunction(req);
return recv_dropFunction();
}
public void send_dropFunction(TDropFunctionInstanceReq req) throws org.apache.thrift.TException
{
dropFunction_args args = new dropFunction_args();
args.setReq(req);
sendBase("dropFunction", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_dropFunction() throws org.apache.thrift.TException
{
dropFunction_result result = new dropFunction_result();
receiveBase(result, "dropFunction");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "dropFunction failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus createTriggerInstance(TCreateTriggerInstanceReq req) throws org.apache.thrift.TException
{
send_createTriggerInstance(req);
return recv_createTriggerInstance();
}
public void send_createTriggerInstance(TCreateTriggerInstanceReq req) throws org.apache.thrift.TException
{
createTriggerInstance_args args = new createTriggerInstance_args();
args.setReq(req);
sendBase("createTriggerInstance", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_createTriggerInstance() throws org.apache.thrift.TException
{
createTriggerInstance_result result = new createTriggerInstance_result();
receiveBase(result, "createTriggerInstance");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createTriggerInstance failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus activeTriggerInstance(TActiveTriggerInstanceReq req) throws org.apache.thrift.TException
{
send_activeTriggerInstance(req);
return recv_activeTriggerInstance();
}
public void send_activeTriggerInstance(TActiveTriggerInstanceReq req) throws org.apache.thrift.TException
{
activeTriggerInstance_args args = new activeTriggerInstance_args();
args.setReq(req);
sendBase("activeTriggerInstance", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_activeTriggerInstance() throws org.apache.thrift.TException
{
activeTriggerInstance_result result = new activeTriggerInstance_result();
receiveBase(result, "activeTriggerInstance");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "activeTriggerInstance failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus inactiveTriggerInstance(TInactiveTriggerInstanceReq req) throws org.apache.thrift.TException
{
send_inactiveTriggerInstance(req);
return recv_inactiveTriggerInstance();
}
public void send_inactiveTriggerInstance(TInactiveTriggerInstanceReq req) throws org.apache.thrift.TException
{
inactiveTriggerInstance_args args = new inactiveTriggerInstance_args();
args.setReq(req);
sendBase("inactiveTriggerInstance", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_inactiveTriggerInstance() throws org.apache.thrift.TException
{
inactiveTriggerInstance_result result = new inactiveTriggerInstance_result();
receiveBase(result, "inactiveTriggerInstance");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "inactiveTriggerInstance failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus dropTriggerInstance(TDropTriggerInstanceReq req) throws org.apache.thrift.TException
{
send_dropTriggerInstance(req);
return recv_dropTriggerInstance();
}
public void send_dropTriggerInstance(TDropTriggerInstanceReq req) throws org.apache.thrift.TException
{
dropTriggerInstance_args args = new dropTriggerInstance_args();
args.setReq(req);
sendBase("dropTriggerInstance", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_dropTriggerInstance() throws org.apache.thrift.TException
{
dropTriggerInstance_result result = new dropTriggerInstance_result();
receiveBase(result, "dropTriggerInstance");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "dropTriggerInstance failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus updateTriggerLocation(TUpdateTriggerLocationReq req) throws org.apache.thrift.TException
{
send_updateTriggerLocation(req);
return recv_updateTriggerLocation();
}
public void send_updateTriggerLocation(TUpdateTriggerLocationReq req) throws org.apache.thrift.TException
{
updateTriggerLocation_args args = new updateTriggerLocation_args();
args.setReq(req);
sendBase("updateTriggerLocation", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_updateTriggerLocation() throws org.apache.thrift.TException
{
updateTriggerLocation_result result = new updateTriggerLocation_result();
receiveBase(result, "updateTriggerLocation");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateTriggerLocation failed: unknown result");
}
public TFireTriggerResp fireTrigger(TFireTriggerReq req) throws org.apache.thrift.TException
{
send_fireTrigger(req);
return recv_fireTrigger();
}
public void send_fireTrigger(TFireTriggerReq req) throws org.apache.thrift.TException
{
fireTrigger_args args = new fireTrigger_args();
args.setReq(req);
sendBase("fireTrigger", args);
}
public TFireTriggerResp recv_fireTrigger() throws org.apache.thrift.TException
{
fireTrigger_result result = new fireTrigger_result();
receiveBase(result, "fireTrigger");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "fireTrigger failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus invalidatePermissionCache(TInvalidatePermissionCacheReq req) throws org.apache.thrift.TException
{
send_invalidatePermissionCache(req);
return recv_invalidatePermissionCache();
}
public void send_invalidatePermissionCache(TInvalidatePermissionCacheReq req) throws org.apache.thrift.TException
{
invalidatePermissionCache_args args = new invalidatePermissionCache_args();
args.setReq(req);
sendBase("invalidatePermissionCache", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_invalidatePermissionCache() throws org.apache.thrift.TException
{
invalidatePermissionCache_result result = new invalidatePermissionCache_result();
receiveBase(result, "invalidatePermissionCache");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "invalidatePermissionCache failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus merge() throws org.apache.thrift.TException
{
send_merge();
return recv_merge();
}
public void send_merge() throws org.apache.thrift.TException
{
merge_args args = new merge_args();
sendBase("merge", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_merge() throws org.apache.thrift.TException
{
merge_result result = new merge_result();
receiveBase(result, "merge");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "merge failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus flush(org.apache.iotdb.common.rpc.thrift.TFlushReq req) throws org.apache.thrift.TException
{
send_flush(req);
return recv_flush();
}
public void send_flush(org.apache.iotdb.common.rpc.thrift.TFlushReq req) throws org.apache.thrift.TException
{
flush_args args = new flush_args();
args.setReq(req);
sendBase("flush", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_flush() throws org.apache.thrift.TException
{
flush_result result = new flush_result();
receiveBase(result, "flush");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "flush failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus clearCache() throws org.apache.thrift.TException
{
send_clearCache();
return recv_clearCache();
}
public void send_clearCache() throws org.apache.thrift.TException
{
clearCache_args args = new clearCache_args();
sendBase("clearCache", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_clearCache() throws org.apache.thrift.TException
{
clearCache_result result = new clearCache_result();
receiveBase(result, "clearCache");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "clearCache failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus loadConfiguration() throws org.apache.thrift.TException
{
send_loadConfiguration();
return recv_loadConfiguration();
}
public void send_loadConfiguration() throws org.apache.thrift.TException
{
loadConfiguration_args args = new loadConfiguration_args();
sendBase("loadConfiguration", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_loadConfiguration() throws org.apache.thrift.TException
{
loadConfiguration_result result = new loadConfiguration_result();
receiveBase(result, "loadConfiguration");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "loadConfiguration failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus setSystemStatus(java.lang.String status) throws org.apache.thrift.TException
{
send_setSystemStatus(status);
return recv_setSystemStatus();
}
public void send_setSystemStatus(java.lang.String status) throws org.apache.thrift.TException
{
setSystemStatus_args args = new setSystemStatus_args();
args.setStatus(status);
sendBase("setSystemStatus", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_setSystemStatus() throws org.apache.thrift.TException
{
setSystemStatus_result result = new setSystemStatus_result();
receiveBase(result, "setSystemStatus");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "setSystemStatus failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus setTTL(org.apache.iotdb.common.rpc.thrift.TSetTTLReq req) throws org.apache.thrift.TException
{
send_setTTL(req);
return recv_setTTL();
}
public void send_setTTL(org.apache.iotdb.common.rpc.thrift.TSetTTLReq req) throws org.apache.thrift.TException
{
setTTL_args args = new setTTL_args();
args.setReq(req);
sendBase("setTTL", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_setTTL() throws org.apache.thrift.TException
{
setTTL_result result = new setTTL_result();
receiveBase(result, "setTTL");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "setTTL failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus updateConfigNodeGroup(TUpdateConfigNodeGroupReq req) throws org.apache.thrift.TException
{
send_updateConfigNodeGroup(req);
return recv_updateConfigNodeGroup();
}
public void send_updateConfigNodeGroup(TUpdateConfigNodeGroupReq req) throws org.apache.thrift.TException
{
updateConfigNodeGroup_args args = new updateConfigNodeGroup_args();
args.setReq(req);
sendBase("updateConfigNodeGroup", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_updateConfigNodeGroup() throws org.apache.thrift.TException
{
updateConfigNodeGroup_result result = new updateConfigNodeGroup_result();
receiveBase(result, "updateConfigNodeGroup");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateConfigNodeGroup failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus updateTemplate(TUpdateTemplateReq req) throws org.apache.thrift.TException
{
send_updateTemplate(req);
return recv_updateTemplate();
}
public void send_updateTemplate(TUpdateTemplateReq req) throws org.apache.thrift.TException
{
updateTemplate_args args = new updateTemplate_args();
args.setReq(req);
sendBase("updateTemplate", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_updateTemplate() throws org.apache.thrift.TException
{
updateTemplate_result result = new updateTemplate_result();
receiveBase(result, "updateTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateTemplate failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus constructSchemaBlackList(TConstructSchemaBlackListReq req) throws org.apache.thrift.TException
{
send_constructSchemaBlackList(req);
return recv_constructSchemaBlackList();
}
public void send_constructSchemaBlackList(TConstructSchemaBlackListReq req) throws org.apache.thrift.TException
{
constructSchemaBlackList_args args = new constructSchemaBlackList_args();
args.setReq(req);
sendBase("constructSchemaBlackList", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_constructSchemaBlackList() throws org.apache.thrift.TException
{
constructSchemaBlackList_result result = new constructSchemaBlackList_result();
receiveBase(result, "constructSchemaBlackList");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "constructSchemaBlackList failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus rollbackSchemaBlackList(TRollbackSchemaBlackListReq req) throws org.apache.thrift.TException
{
send_rollbackSchemaBlackList(req);
return recv_rollbackSchemaBlackList();
}
public void send_rollbackSchemaBlackList(TRollbackSchemaBlackListReq req) throws org.apache.thrift.TException
{
rollbackSchemaBlackList_args args = new rollbackSchemaBlackList_args();
args.setReq(req);
sendBase("rollbackSchemaBlackList", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_rollbackSchemaBlackList() throws org.apache.thrift.TException
{
rollbackSchemaBlackList_result result = new rollbackSchemaBlackList_result();
receiveBase(result, "rollbackSchemaBlackList");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "rollbackSchemaBlackList failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus invalidateMatchedSchemaCache(TInvalidateMatchedSchemaCacheReq req) throws org.apache.thrift.TException
{
send_invalidateMatchedSchemaCache(req);
return recv_invalidateMatchedSchemaCache();
}
public void send_invalidateMatchedSchemaCache(TInvalidateMatchedSchemaCacheReq req) throws org.apache.thrift.TException
{
invalidateMatchedSchemaCache_args args = new invalidateMatchedSchemaCache_args();
args.setReq(req);
sendBase("invalidateMatchedSchemaCache", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_invalidateMatchedSchemaCache() throws org.apache.thrift.TException
{
invalidateMatchedSchemaCache_result result = new invalidateMatchedSchemaCache_result();
receiveBase(result, "invalidateMatchedSchemaCache");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "invalidateMatchedSchemaCache failed: unknown result");
}
public TFetchSchemaBlackListResp fetchSchemaBlackList(TFetchSchemaBlackListReq req) throws org.apache.thrift.TException
{
send_fetchSchemaBlackList(req);
return recv_fetchSchemaBlackList();
}
public void send_fetchSchemaBlackList(TFetchSchemaBlackListReq req) throws org.apache.thrift.TException
{
fetchSchemaBlackList_args args = new fetchSchemaBlackList_args();
args.setReq(req);
sendBase("fetchSchemaBlackList", args);
}
public TFetchSchemaBlackListResp recv_fetchSchemaBlackList() throws org.apache.thrift.TException
{
fetchSchemaBlackList_result result = new fetchSchemaBlackList_result();
receiveBase(result, "fetchSchemaBlackList");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "fetchSchemaBlackList failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteDataForDeleteSchema(TDeleteDataForDeleteSchemaReq req) throws org.apache.thrift.TException
{
send_deleteDataForDeleteSchema(req);
return recv_deleteDataForDeleteSchema();
}
public void send_deleteDataForDeleteSchema(TDeleteDataForDeleteSchemaReq req) throws org.apache.thrift.TException
{
deleteDataForDeleteSchema_args args = new deleteDataForDeleteSchema_args();
args.setReq(req);
sendBase("deleteDataForDeleteSchema", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_deleteDataForDeleteSchema() throws org.apache.thrift.TException
{
deleteDataForDeleteSchema_result result = new deleteDataForDeleteSchema_result();
receiveBase(result, "deleteDataForDeleteSchema");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteDataForDeleteSchema failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteTimeSeries(TDeleteTimeSeriesReq req) throws org.apache.thrift.TException
{
send_deleteTimeSeries(req);
return recv_deleteTimeSeries();
}
public void send_deleteTimeSeries(TDeleteTimeSeriesReq req) throws org.apache.thrift.TException
{
deleteTimeSeries_args args = new deleteTimeSeries_args();
args.setReq(req);
sendBase("deleteTimeSeries", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_deleteTimeSeries() throws org.apache.thrift.TException
{
deleteTimeSeries_result result = new deleteTimeSeries_result();
receiveBase(result, "deleteTimeSeries");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteTimeSeries failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus constructSchemaBlackListWithTemplate(TConstructSchemaBlackListWithTemplateReq req) throws org.apache.thrift.TException
{
send_constructSchemaBlackListWithTemplate(req);
return recv_constructSchemaBlackListWithTemplate();
}
public void send_constructSchemaBlackListWithTemplate(TConstructSchemaBlackListWithTemplateReq req) throws org.apache.thrift.TException
{
constructSchemaBlackListWithTemplate_args args = new constructSchemaBlackListWithTemplate_args();
args.setReq(req);
sendBase("constructSchemaBlackListWithTemplate", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_constructSchemaBlackListWithTemplate() throws org.apache.thrift.TException
{
constructSchemaBlackListWithTemplate_result result = new constructSchemaBlackListWithTemplate_result();
receiveBase(result, "constructSchemaBlackListWithTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "constructSchemaBlackListWithTemplate failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus rollbackSchemaBlackListWithTemplate(TRollbackSchemaBlackListWithTemplateReq req) throws org.apache.thrift.TException
{
send_rollbackSchemaBlackListWithTemplate(req);
return recv_rollbackSchemaBlackListWithTemplate();
}
public void send_rollbackSchemaBlackListWithTemplate(TRollbackSchemaBlackListWithTemplateReq req) throws org.apache.thrift.TException
{
rollbackSchemaBlackListWithTemplate_args args = new rollbackSchemaBlackListWithTemplate_args();
args.setReq(req);
sendBase("rollbackSchemaBlackListWithTemplate", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_rollbackSchemaBlackListWithTemplate() throws org.apache.thrift.TException
{
rollbackSchemaBlackListWithTemplate_result result = new rollbackSchemaBlackListWithTemplate_result();
receiveBase(result, "rollbackSchemaBlackListWithTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "rollbackSchemaBlackListWithTemplate failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus deactivateTemplate(TDeactivateTemplateReq req) throws org.apache.thrift.TException
{
send_deactivateTemplate(req);
return recv_deactivateTemplate();
}
public void send_deactivateTemplate(TDeactivateTemplateReq req) throws org.apache.thrift.TException
{
deactivateTemplate_args args = new deactivateTemplate_args();
args.setReq(req);
sendBase("deactivateTemplate", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_deactivateTemplate() throws org.apache.thrift.TException
{
deactivateTemplate_result result = new deactivateTemplate_result();
receiveBase(result, "deactivateTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deactivateTemplate failed: unknown result");
}
public TCountPathsUsingTemplateResp countPathsUsingTemplate(TCountPathsUsingTemplateReq req) throws org.apache.thrift.TException
{
send_countPathsUsingTemplate(req);
return recv_countPathsUsingTemplate();
}
public void send_countPathsUsingTemplate(TCountPathsUsingTemplateReq req) throws org.apache.thrift.TException
{
countPathsUsingTemplate_args args = new countPathsUsingTemplate_args();
args.setReq(req);
sendBase("countPathsUsingTemplate", args);
}
public TCountPathsUsingTemplateResp recv_countPathsUsingTemplate() throws org.apache.thrift.TException
{
countPathsUsingTemplate_result result = new countPathsUsingTemplate_result();
receiveBase(result, "countPathsUsingTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "countPathsUsingTemplate failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus createPipeOnDataNode(TCreatePipeOnDataNodeReq req) throws org.apache.thrift.TException
{
send_createPipeOnDataNode(req);
return recv_createPipeOnDataNode();
}
public void send_createPipeOnDataNode(TCreatePipeOnDataNodeReq req) throws org.apache.thrift.TException
{
createPipeOnDataNode_args args = new createPipeOnDataNode_args();
args.setReq(req);
sendBase("createPipeOnDataNode", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_createPipeOnDataNode() throws org.apache.thrift.TException
{
createPipeOnDataNode_result result = new createPipeOnDataNode_result();
receiveBase(result, "createPipeOnDataNode");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createPipeOnDataNode failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus operatePipeOnDataNode(TOperatePipeOnDataNodeReq req) throws org.apache.thrift.TException
{
send_operatePipeOnDataNode(req);
return recv_operatePipeOnDataNode();
}
public void send_operatePipeOnDataNode(TOperatePipeOnDataNodeReq req) throws org.apache.thrift.TException
{
operatePipeOnDataNode_args args = new operatePipeOnDataNode_args();
args.setReq(req);
sendBase("operatePipeOnDataNode", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_operatePipeOnDataNode() throws org.apache.thrift.TException
{
operatePipeOnDataNode_result result = new operatePipeOnDataNode_result();
receiveBase(result, "operatePipeOnDataNode");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "operatePipeOnDataNode failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus operatePipeOnDataNodeForRollback(TOperatePipeOnDataNodeReq req) throws org.apache.thrift.TException
{
send_operatePipeOnDataNodeForRollback(req);
return recv_operatePipeOnDataNodeForRollback();
}
public void send_operatePipeOnDataNodeForRollback(TOperatePipeOnDataNodeReq req) throws org.apache.thrift.TException
{
operatePipeOnDataNodeForRollback_args args = new operatePipeOnDataNodeForRollback_args();
args.setReq(req);
sendBase("operatePipeOnDataNodeForRollback", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_operatePipeOnDataNodeForRollback() throws org.apache.thrift.TException
{
operatePipeOnDataNodeForRollback_result result = new operatePipeOnDataNodeForRollback_result();
receiveBase(result, "operatePipeOnDataNodeForRollback");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "operatePipeOnDataNodeForRollback failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus executeCQ(TExecuteCQ req) throws org.apache.thrift.TException
{
send_executeCQ(req);
return recv_executeCQ();
}
public void send_executeCQ(TExecuteCQ req) throws org.apache.thrift.TException
{
executeCQ_args args = new executeCQ_args();
args.setReq(req);
sendBase("executeCQ", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_executeCQ() throws org.apache.thrift.TException
{
executeCQ_result result = new executeCQ_result();
receiveBase(result, "executeCQ");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeCQ failed: unknown result");
}
}
public static class AsyncClient extends org.apache.thrift.async.TAsyncClient implements AsyncIface {
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory {
private org.apache.thrift.async.TAsyncClientManager clientManager;
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) {
this.clientManager = clientManager;
this.protocolFactory = protocolFactory;
}
public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) {
return new AsyncClient(protocolFactory, clientManager, transport);
}
}
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) {
super(protocolFactory, clientManager, transport);
}
public void sendFragmentInstance(TSendFragmentInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
sendFragmentInstance_call method_call = new sendFragmentInstance_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class sendFragmentInstance_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSendFragmentInstanceReq req;
public sendFragmentInstance_call(TSendFragmentInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("sendFragmentInstance", org.apache.thrift.protocol.TMessageType.CALL, 0));
sendFragmentInstance_args args = new sendFragmentInstance_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSendFragmentInstanceResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_sendFragmentInstance();
}
}
public void sendPlanNode(TSendPlanNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
sendPlanNode_call method_call = new sendPlanNode_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class sendPlanNode_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSendPlanNodeReq req;
public sendPlanNode_call(TSendPlanNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("sendPlanNode", org.apache.thrift.protocol.TMessageType.CALL, 0));
sendPlanNode_args args = new sendPlanNode_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSendPlanNodeResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_sendPlanNode();
}
}
public void fetchFragmentInstanceInfo(TFetchFragmentInstanceInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
fetchFragmentInstanceInfo_call method_call = new fetchFragmentInstanceInfo_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class fetchFragmentInstanceInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
private TFetchFragmentInstanceInfoReq req;
public fetchFragmentInstanceInfo_call(TFetchFragmentInstanceInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("fetchFragmentInstanceInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
fetchFragmentInstanceInfo_args args = new fetchFragmentInstanceInfo_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TFragmentInstanceInfoResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_fetchFragmentInstanceInfo();
}
}
public void cancelQuery(TCancelQueryReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
cancelQuery_call method_call = new cancelQuery_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class cancelQuery_call extends org.apache.thrift.async.TAsyncMethodCall {
private TCancelQueryReq req;
public cancelQuery_call(TCancelQueryReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("cancelQuery", org.apache.thrift.protocol.TMessageType.CALL, 0));
cancelQuery_args args = new cancelQuery_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TCancelResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_cancelQuery();
}
}
public void cancelPlanFragment(TCancelPlanFragmentReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
cancelPlanFragment_call method_call = new cancelPlanFragment_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class cancelPlanFragment_call extends org.apache.thrift.async.TAsyncMethodCall {
private TCancelPlanFragmentReq req;
public cancelPlanFragment_call(TCancelPlanFragmentReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("cancelPlanFragment", org.apache.thrift.protocol.TMessageType.CALL, 0));
cancelPlanFragment_args args = new cancelPlanFragment_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TCancelResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_cancelPlanFragment();
}
}
public void cancelFragmentInstance(TCancelFragmentInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
cancelFragmentInstance_call method_call = new cancelFragmentInstance_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class cancelFragmentInstance_call extends org.apache.thrift.async.TAsyncMethodCall {
private TCancelFragmentInstanceReq req;
public cancelFragmentInstance_call(TCancelFragmentInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("cancelFragmentInstance", org.apache.thrift.protocol.TMessageType.CALL, 0));
cancelFragmentInstance_args args = new cancelFragmentInstance_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TCancelResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_cancelFragmentInstance();
}
}
public void fetchSchema(TSchemaFetchRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
fetchSchema_call method_call = new fetchSchema_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class fetchSchema_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSchemaFetchRequest req;
public fetchSchema_call(TSchemaFetchRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("fetchSchema", org.apache.thrift.protocol.TMessageType.CALL, 0));
fetchSchema_args args = new fetchSchema_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSchemaFetchResponse getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_fetchSchema();
}
}
public void sendTsFilePieceNode(TTsFilePieceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
sendTsFilePieceNode_call method_call = new sendTsFilePieceNode_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class sendTsFilePieceNode_call extends org.apache.thrift.async.TAsyncMethodCall {
private TTsFilePieceReq req;
public sendTsFilePieceNode_call(TTsFilePieceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("sendTsFilePieceNode", org.apache.thrift.protocol.TMessageType.CALL, 0));
sendTsFilePieceNode_args args = new sendTsFilePieceNode_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TLoadResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_sendTsFilePieceNode();
}
}
public void sendLoadCommand(TLoadCommandReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
sendLoadCommand_call method_call = new sendLoadCommand_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class sendLoadCommand_call extends org.apache.thrift.async.TAsyncMethodCall {
private TLoadCommandReq req;
public sendLoadCommand_call(TLoadCommandReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("sendLoadCommand", org.apache.thrift.protocol.TMessageType.CALL, 0));
sendLoadCommand_args args = new sendLoadCommand_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TLoadResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_sendLoadCommand();
}
}
public void createSchemaRegion(TCreateSchemaRegionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createSchemaRegion_call method_call = new createSchemaRegion_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createSchemaRegion_call extends org.apache.thrift.async.TAsyncMethodCall {
private TCreateSchemaRegionReq req;
public createSchemaRegion_call(TCreateSchemaRegionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createSchemaRegion", org.apache.thrift.protocol.TMessageType.CALL, 0));
createSchemaRegion_args args = new createSchemaRegion_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_createSchemaRegion();
}
}
public void createDataRegion(TCreateDataRegionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createDataRegion_call method_call = new createDataRegion_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createDataRegion_call extends org.apache.thrift.async.TAsyncMethodCall {
private TCreateDataRegionReq req;
public createDataRegion_call(TCreateDataRegionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createDataRegion", org.apache.thrift.protocol.TMessageType.CALL, 0));
createDataRegion_args args = new createDataRegion_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_createDataRegion();
}
}
public void invalidatePartitionCache(TInvalidateCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
invalidatePartitionCache_call method_call = new invalidatePartitionCache_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class invalidatePartitionCache_call extends org.apache.thrift.async.TAsyncMethodCall {
private TInvalidateCacheReq req;
public invalidatePartitionCache_call(TInvalidateCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("invalidatePartitionCache", org.apache.thrift.protocol.TMessageType.CALL, 0));
invalidatePartitionCache_args args = new invalidatePartitionCache_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_invalidatePartitionCache();
}
}
public void invalidateSchemaCache(TInvalidateCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
invalidateSchemaCache_call method_call = new invalidateSchemaCache_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class invalidateSchemaCache_call extends org.apache.thrift.async.TAsyncMethodCall {
private TInvalidateCacheReq req;
public invalidateSchemaCache_call(TInvalidateCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("invalidateSchemaCache", org.apache.thrift.protocol.TMessageType.CALL, 0));
invalidateSchemaCache_args args = new invalidateSchemaCache_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_invalidateSchemaCache();
}
}
public void deleteRegion(org.apache.iotdb.common.rpc.thrift.TConsensusGroupId consensusGroupId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deleteRegion_call method_call = new deleteRegion_call(consensusGroupId, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class deleteRegion_call extends org.apache.thrift.async.TAsyncMethodCall {
private org.apache.iotdb.common.rpc.thrift.TConsensusGroupId consensusGroupId;
public deleteRegion_call(org.apache.iotdb.common.rpc.thrift.TConsensusGroupId consensusGroupId, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.consensusGroupId = consensusGroupId;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteRegion", org.apache.thrift.protocol.TMessageType.CALL, 0));
deleteRegion_args args = new deleteRegion_args();
args.setConsensusGroupId(consensusGroupId);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_deleteRegion();
}
}
public void changeRegionLeader(TRegionLeaderChangeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
changeRegionLeader_call method_call = new changeRegionLeader_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class changeRegionLeader_call extends org.apache.thrift.async.TAsyncMethodCall {
private TRegionLeaderChangeReq req;
public changeRegionLeader_call(TRegionLeaderChangeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("changeRegionLeader", org.apache.thrift.protocol.TMessageType.CALL, 0));
changeRegionLeader_args args = new changeRegionLeader_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_changeRegionLeader();
}
}
public void createNewRegionPeer(TCreatePeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createNewRegionPeer_call method_call = new createNewRegionPeer_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createNewRegionPeer_call extends org.apache.thrift.async.TAsyncMethodCall {
private TCreatePeerReq req;
public createNewRegionPeer_call(TCreatePeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createNewRegionPeer", org.apache.thrift.protocol.TMessageType.CALL, 0));
createNewRegionPeer_args args = new createNewRegionPeer_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_createNewRegionPeer();
}
}
public void addRegionPeer(TMaintainPeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
addRegionPeer_call method_call = new addRegionPeer_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class addRegionPeer_call extends org.apache.thrift.async.TAsyncMethodCall {
private TMaintainPeerReq req;
public addRegionPeer_call(TMaintainPeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addRegionPeer", org.apache.thrift.protocol.TMessageType.CALL, 0));
addRegionPeer_args args = new addRegionPeer_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_addRegionPeer();
}
}
public void removeRegionPeer(TMaintainPeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
removeRegionPeer_call method_call = new removeRegionPeer_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class removeRegionPeer_call extends org.apache.thrift.async.TAsyncMethodCall {
private TMaintainPeerReq req;
public removeRegionPeer_call(TMaintainPeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("removeRegionPeer", org.apache.thrift.protocol.TMessageType.CALL, 0));
removeRegionPeer_args args = new removeRegionPeer_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_removeRegionPeer();
}
}
public void deleteOldRegionPeer(TMaintainPeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deleteOldRegionPeer_call method_call = new deleteOldRegionPeer_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class deleteOldRegionPeer_call extends org.apache.thrift.async.TAsyncMethodCall {
private TMaintainPeerReq req;
public deleteOldRegionPeer_call(TMaintainPeerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteOldRegionPeer", org.apache.thrift.protocol.TMessageType.CALL, 0));
deleteOldRegionPeer_args args = new deleteOldRegionPeer_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_deleteOldRegionPeer();
}
}
public void disableDataNode(TDisableDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
disableDataNode_call method_call = new disableDataNode_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class disableDataNode_call extends org.apache.thrift.async.TAsyncMethodCall {
private TDisableDataNodeReq req;
public disableDataNode_call(TDisableDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("disableDataNode", org.apache.thrift.protocol.TMessageType.CALL, 0));
disableDataNode_args args = new disableDataNode_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_disableDataNode();
}
}
public void stopDataNode(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
stopDataNode_call method_call = new stopDataNode_call(resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class stopDataNode_call extends org.apache.thrift.async.TAsyncMethodCall {
public stopDataNode_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("stopDataNode", org.apache.thrift.protocol.TMessageType.CALL, 0));
stopDataNode_args args = new stopDataNode_args();
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_stopDataNode();
}
}
public void getDataNodeHeartBeat(THeartbeatReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getDataNodeHeartBeat_call method_call = new getDataNodeHeartBeat_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getDataNodeHeartBeat_call extends org.apache.thrift.async.TAsyncMethodCall {
private THeartbeatReq req;
public getDataNodeHeartBeat_call(THeartbeatReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getDataNodeHeartBeat", org.apache.thrift.protocol.TMessageType.CALL, 0));
getDataNodeHeartBeat_args args = new getDataNodeHeartBeat_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public THeartbeatResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getDataNodeHeartBeat();
}
}
public void updateRegionCache(TRegionRouteReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
updateRegionCache_call method_call = new updateRegionCache_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class updateRegionCache_call extends org.apache.thrift.async.TAsyncMethodCall {
private TRegionRouteReq req;
public updateRegionCache_call(TRegionRouteReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateRegionCache", org.apache.thrift.protocol.TMessageType.CALL, 0));
updateRegionCache_args args = new updateRegionCache_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_updateRegionCache();
}
}
public void createFunction(TCreateFunctionInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createFunction_call method_call = new createFunction_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createFunction_call extends org.apache.thrift.async.TAsyncMethodCall {
private TCreateFunctionInstanceReq req;
public createFunction_call(TCreateFunctionInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createFunction", org.apache.thrift.protocol.TMessageType.CALL, 0));
createFunction_args args = new createFunction_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_createFunction();
}
}
public void dropFunction(TDropFunctionInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
dropFunction_call method_call = new dropFunction_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class dropFunction_call extends org.apache.thrift.async.TAsyncMethodCall {
private TDropFunctionInstanceReq req;
public dropFunction_call(TDropFunctionInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("dropFunction", org.apache.thrift.protocol.TMessageType.CALL, 0));
dropFunction_args args = new dropFunction_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_dropFunction();
}
}
public void createTriggerInstance(TCreateTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createTriggerInstance_call method_call = new createTriggerInstance_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createTriggerInstance_call extends org.apache.thrift.async.TAsyncMethodCall {
private TCreateTriggerInstanceReq req;
public createTriggerInstance_call(TCreateTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createTriggerInstance", org.apache.thrift.protocol.TMessageType.CALL, 0));
createTriggerInstance_args args = new createTriggerInstance_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_createTriggerInstance();
}
}
public void activeTriggerInstance(TActiveTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
activeTriggerInstance_call method_call = new activeTriggerInstance_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class activeTriggerInstance_call extends org.apache.thrift.async.TAsyncMethodCall {
private TActiveTriggerInstanceReq req;
public activeTriggerInstance_call(TActiveTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("activeTriggerInstance", org.apache.thrift.protocol.TMessageType.CALL, 0));
activeTriggerInstance_args args = new activeTriggerInstance_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_activeTriggerInstance();
}
}
public void inactiveTriggerInstance(TInactiveTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
inactiveTriggerInstance_call method_call = new inactiveTriggerInstance_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class inactiveTriggerInstance_call extends org.apache.thrift.async.TAsyncMethodCall {
private TInactiveTriggerInstanceReq req;
public inactiveTriggerInstance_call(TInactiveTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("inactiveTriggerInstance", org.apache.thrift.protocol.TMessageType.CALL, 0));
inactiveTriggerInstance_args args = new inactiveTriggerInstance_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_inactiveTriggerInstance();
}
}
public void dropTriggerInstance(TDropTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
dropTriggerInstance_call method_call = new dropTriggerInstance_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class dropTriggerInstance_call extends org.apache.thrift.async.TAsyncMethodCall {
private TDropTriggerInstanceReq req;
public dropTriggerInstance_call(TDropTriggerInstanceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("dropTriggerInstance", org.apache.thrift.protocol.TMessageType.CALL, 0));
dropTriggerInstance_args args = new dropTriggerInstance_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_dropTriggerInstance();
}
}
public void updateTriggerLocation(TUpdateTriggerLocationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
updateTriggerLocation_call method_call = new updateTriggerLocation_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class updateTriggerLocation_call extends org.apache.thrift.async.TAsyncMethodCall {
private TUpdateTriggerLocationReq req;
public updateTriggerLocation_call(TUpdateTriggerLocationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateTriggerLocation", org.apache.thrift.protocol.TMessageType.CALL, 0));
updateTriggerLocation_args args = new updateTriggerLocation_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_updateTriggerLocation();
}
}
public void fireTrigger(TFireTriggerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
fireTrigger_call method_call = new fireTrigger_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class fireTrigger_call extends org.apache.thrift.async.TAsyncMethodCall {
private TFireTriggerReq req;
public fireTrigger_call(TFireTriggerReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("fireTrigger", org.apache.thrift.protocol.TMessageType.CALL, 0));
fireTrigger_args args = new fireTrigger_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TFireTriggerResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_fireTrigger();
}
}
public void invalidatePermissionCache(TInvalidatePermissionCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
invalidatePermissionCache_call method_call = new invalidatePermissionCache_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class invalidatePermissionCache_call extends org.apache.thrift.async.TAsyncMethodCall {
private TInvalidatePermissionCacheReq req;
public invalidatePermissionCache_call(TInvalidatePermissionCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("invalidatePermissionCache", org.apache.thrift.protocol.TMessageType.CALL, 0));
invalidatePermissionCache_args args = new invalidatePermissionCache_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_invalidatePermissionCache();
}
}
public void merge(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
merge_call method_call = new merge_call(resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class merge_call extends org.apache.thrift.async.TAsyncMethodCall {
public merge_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("merge", org.apache.thrift.protocol.TMessageType.CALL, 0));
merge_args args = new merge_args();
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_merge();
}
}
public void flush(org.apache.iotdb.common.rpc.thrift.TFlushReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
flush_call method_call = new flush_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class flush_call extends org.apache.thrift.async.TAsyncMethodCall {
private org.apache.iotdb.common.rpc.thrift.TFlushReq req;
public flush_call(org.apache.iotdb.common.rpc.thrift.TFlushReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("flush", org.apache.thrift.protocol.TMessageType.CALL, 0));
flush_args args = new flush_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_flush();
}
}
public void clearCache(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
clearCache_call method_call = new clearCache_call(resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class clearCache_call extends org.apache.thrift.async.TAsyncMethodCall {
public clearCache_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("clearCache", org.apache.thrift.protocol.TMessageType.CALL, 0));
clearCache_args args = new clearCache_args();
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_clearCache();
}
}
public void loadConfiguration(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
loadConfiguration_call method_call = new loadConfiguration_call(resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class loadConfiguration_call extends org.apache.thrift.async.TAsyncMethodCall {
public loadConfiguration_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("loadConfiguration", org.apache.thrift.protocol.TMessageType.CALL, 0));
loadConfiguration_args args = new loadConfiguration_args();
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_loadConfiguration();
}
}
public void setSystemStatus(java.lang.String status, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
setSystemStatus_call method_call = new setSystemStatus_call(status, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class setSystemStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
private java.lang.String status;
public setSystemStatus_call(java.lang.String status, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.status = status;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("setSystemStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
setSystemStatus_args args = new setSystemStatus_args();
args.setStatus(status);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_setSystemStatus();
}
}
public void setTTL(org.apache.iotdb.common.rpc.thrift.TSetTTLReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
setTTL_call method_call = new setTTL_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class setTTL_call extends org.apache.thrift.async.TAsyncMethodCall {
private org.apache.iotdb.common.rpc.thrift.TSetTTLReq req;
public setTTL_call(org.apache.iotdb.common.rpc.thrift.TSetTTLReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("setTTL", org.apache.thrift.protocol.TMessageType.CALL, 0));
setTTL_args args = new setTTL_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_setTTL();
}
}
public void updateConfigNodeGroup(TUpdateConfigNodeGroupReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
updateConfigNodeGroup_call method_call = new updateConfigNodeGroup_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class updateConfigNodeGroup_call extends org.apache.thrift.async.TAsyncMethodCall {
private TUpdateConfigNodeGroupReq req;
public updateConfigNodeGroup_call(TUpdateConfigNodeGroupReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateConfigNodeGroup", org.apache.thrift.protocol.TMessageType.CALL, 0));
updateConfigNodeGroup_args args = new updateConfigNodeGroup_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_updateConfigNodeGroup();
}
}
public void updateTemplate(TUpdateTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
updateTemplate_call method_call = new updateTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class updateTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TUpdateTemplateReq req;
public updateTemplate_call(TUpdateTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
updateTemplate_args args = new updateTemplate_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_updateTemplate();
}
}
public void constructSchemaBlackList(TConstructSchemaBlackListReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
constructSchemaBlackList_call method_call = new constructSchemaBlackList_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class constructSchemaBlackList_call extends org.apache.thrift.async.TAsyncMethodCall {
private TConstructSchemaBlackListReq req;
public constructSchemaBlackList_call(TConstructSchemaBlackListReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("constructSchemaBlackList", org.apache.thrift.protocol.TMessageType.CALL, 0));
constructSchemaBlackList_args args = new constructSchemaBlackList_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_constructSchemaBlackList();
}
}
public void rollbackSchemaBlackList(TRollbackSchemaBlackListReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
rollbackSchemaBlackList_call method_call = new rollbackSchemaBlackList_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class rollbackSchemaBlackList_call extends org.apache.thrift.async.TAsyncMethodCall {
private TRollbackSchemaBlackListReq req;
public rollbackSchemaBlackList_call(TRollbackSchemaBlackListReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("rollbackSchemaBlackList", org.apache.thrift.protocol.TMessageType.CALL, 0));
rollbackSchemaBlackList_args args = new rollbackSchemaBlackList_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_rollbackSchemaBlackList();
}
}
public void invalidateMatchedSchemaCache(TInvalidateMatchedSchemaCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
invalidateMatchedSchemaCache_call method_call = new invalidateMatchedSchemaCache_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class invalidateMatchedSchemaCache_call extends org.apache.thrift.async.TAsyncMethodCall {
private TInvalidateMatchedSchemaCacheReq req;
public invalidateMatchedSchemaCache_call(TInvalidateMatchedSchemaCacheReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("invalidateMatchedSchemaCache", org.apache.thrift.protocol.TMessageType.CALL, 0));
invalidateMatchedSchemaCache_args args = new invalidateMatchedSchemaCache_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_invalidateMatchedSchemaCache();
}
}
public void fetchSchemaBlackList(TFetchSchemaBlackListReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
fetchSchemaBlackList_call method_call = new fetchSchemaBlackList_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class fetchSchemaBlackList_call extends org.apache.thrift.async.TAsyncMethodCall {
private TFetchSchemaBlackListReq req;
public fetchSchemaBlackList_call(TFetchSchemaBlackListReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("fetchSchemaBlackList", org.apache.thrift.protocol.TMessageType.CALL, 0));
fetchSchemaBlackList_args args = new fetchSchemaBlackList_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TFetchSchemaBlackListResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_fetchSchemaBlackList();
}
}
public void deleteDataForDeleteSchema(TDeleteDataForDeleteSchemaReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deleteDataForDeleteSchema_call method_call = new deleteDataForDeleteSchema_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class deleteDataForDeleteSchema_call extends org.apache.thrift.async.TAsyncMethodCall {
private TDeleteDataForDeleteSchemaReq req;
public deleteDataForDeleteSchema_call(TDeleteDataForDeleteSchemaReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteDataForDeleteSchema", org.apache.thrift.protocol.TMessageType.CALL, 0));
deleteDataForDeleteSchema_args args = new deleteDataForDeleteSchema_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_deleteDataForDeleteSchema();
}
}
public void deleteTimeSeries(TDeleteTimeSeriesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deleteTimeSeries_call method_call = new deleteTimeSeries_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class deleteTimeSeries_call extends org.apache.thrift.async.TAsyncMethodCall {
private TDeleteTimeSeriesReq req;
public deleteTimeSeries_call(TDeleteTimeSeriesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteTimeSeries", org.apache.thrift.protocol.TMessageType.CALL, 0));
deleteTimeSeries_args args = new deleteTimeSeries_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_deleteTimeSeries();
}
}
public void constructSchemaBlackListWithTemplate(TConstructSchemaBlackListWithTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
constructSchemaBlackListWithTemplate_call method_call = new constructSchemaBlackListWithTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class constructSchemaBlackListWithTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TConstructSchemaBlackListWithTemplateReq req;
public constructSchemaBlackListWithTemplate_call(TConstructSchemaBlackListWithTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("constructSchemaBlackListWithTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
constructSchemaBlackListWithTemplate_args args = new constructSchemaBlackListWithTemplate_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_constructSchemaBlackListWithTemplate();
}
}
public void rollbackSchemaBlackListWithTemplate(TRollbackSchemaBlackListWithTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
rollbackSchemaBlackListWithTemplate_call method_call = new rollbackSchemaBlackListWithTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class rollbackSchemaBlackListWithTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TRollbackSchemaBlackListWithTemplateReq req;
public rollbackSchemaBlackListWithTemplate_call(TRollbackSchemaBlackListWithTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("rollbackSchemaBlackListWithTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
rollbackSchemaBlackListWithTemplate_args args = new rollbackSchemaBlackListWithTemplate_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_rollbackSchemaBlackListWithTemplate();
}
}
public void deactivateTemplate(TDeactivateTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deactivateTemplate_call method_call = new deactivateTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class deactivateTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TDeactivateTemplateReq req;
public deactivateTemplate_call(TDeactivateTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deactivateTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
deactivateTemplate_args args = new deactivateTemplate_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_deactivateTemplate();
}
}
public void countPathsUsingTemplate(TCountPathsUsingTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
countPathsUsingTemplate_call method_call = new countPathsUsingTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class countPathsUsingTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TCountPathsUsingTemplateReq req;
public countPathsUsingTemplate_call(TCountPathsUsingTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("countPathsUsingTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
countPathsUsingTemplate_args args = new countPathsUsingTemplate_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TCountPathsUsingTemplateResp getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_countPathsUsingTemplate();
}
}
public void createPipeOnDataNode(TCreatePipeOnDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createPipeOnDataNode_call method_call = new createPipeOnDataNode_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createPipeOnDataNode_call extends org.apache.thrift.async.TAsyncMethodCall {
private TCreatePipeOnDataNodeReq req;
public createPipeOnDataNode_call(TCreatePipeOnDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createPipeOnDataNode", org.apache.thrift.protocol.TMessageType.CALL, 0));
createPipeOnDataNode_args args = new createPipeOnDataNode_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_createPipeOnDataNode();
}
}
public void operatePipeOnDataNode(TOperatePipeOnDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
operatePipeOnDataNode_call method_call = new operatePipeOnDataNode_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class operatePipeOnDataNode_call extends org.apache.thrift.async.TAsyncMethodCall {
private TOperatePipeOnDataNodeReq req;
public operatePipeOnDataNode_call(TOperatePipeOnDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("operatePipeOnDataNode", org.apache.thrift.protocol.TMessageType.CALL, 0));
operatePipeOnDataNode_args args = new operatePipeOnDataNode_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_operatePipeOnDataNode();
}
}
public void operatePipeOnDataNodeForRollback(TOperatePipeOnDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
operatePipeOnDataNodeForRollback_call method_call = new operatePipeOnDataNodeForRollback_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class operatePipeOnDataNodeForRollback_call extends org.apache.thrift.async.TAsyncMethodCall {
private TOperatePipeOnDataNodeReq req;
public operatePipeOnDataNodeForRollback_call(TOperatePipeOnDataNodeReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("operatePipeOnDataNodeForRollback", org.apache.thrift.protocol.TMessageType.CALL, 0));
operatePipeOnDataNodeForRollback_args args = new operatePipeOnDataNodeForRollback_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_operatePipeOnDataNodeForRollback();
}
}
public void executeCQ(TExecuteCQ req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeCQ_call method_call = new executeCQ_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeCQ_call extends org.apache.thrift.async.TAsyncMethodCall {
private TExecuteCQ req;
public executeCQ_call(TExecuteCQ req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.req = req;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("executeCQ", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeCQ_args args = new executeCQ_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public org.apache.iotdb.common.rpc.thrift.TSStatus getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new java.lang.IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_executeCQ();
}
}
}
public static class Processor extends org.apache.thrift.TBaseProcessor implements org.apache.thrift.TProcessor {
private static final org.slf4j.Logger _LOGGER = org.slf4j.LoggerFactory.getLogger(Processor.class.getName());
public Processor(I iface) {
super(iface, getProcessMap(new java.util.HashMap>()));
}
protected Processor(I iface, java.util.Map> processMap) {
super(iface, getProcessMap(processMap));
}
private static java.util.Map> getProcessMap(java.util.Map> processMap) {
processMap.put("sendFragmentInstance", new sendFragmentInstance());
processMap.put("sendPlanNode", new sendPlanNode());
processMap.put("fetchFragmentInstanceInfo", new fetchFragmentInstanceInfo());
processMap.put("cancelQuery", new cancelQuery());
processMap.put("cancelPlanFragment", new cancelPlanFragment());
processMap.put("cancelFragmentInstance", new cancelFragmentInstance());
processMap.put("fetchSchema", new fetchSchema());
processMap.put("sendTsFilePieceNode", new sendTsFilePieceNode());
processMap.put("sendLoadCommand", new sendLoadCommand());
processMap.put("createSchemaRegion", new createSchemaRegion());
processMap.put("createDataRegion", new createDataRegion());
processMap.put("invalidatePartitionCache", new invalidatePartitionCache());
processMap.put("invalidateSchemaCache", new invalidateSchemaCache());
processMap.put("deleteRegion", new deleteRegion());
processMap.put("changeRegionLeader", new changeRegionLeader());
processMap.put("createNewRegionPeer", new createNewRegionPeer());
processMap.put("addRegionPeer", new addRegionPeer());
processMap.put("removeRegionPeer", new removeRegionPeer());
processMap.put("deleteOldRegionPeer", new deleteOldRegionPeer());
processMap.put("disableDataNode", new disableDataNode());
processMap.put("stopDataNode", new stopDataNode());
processMap.put("getDataNodeHeartBeat", new getDataNodeHeartBeat());
processMap.put("updateRegionCache", new updateRegionCache());
processMap.put("createFunction", new createFunction());
processMap.put("dropFunction", new dropFunction());
processMap.put("createTriggerInstance", new createTriggerInstance());
processMap.put("activeTriggerInstance", new activeTriggerInstance());
processMap.put("inactiveTriggerInstance", new inactiveTriggerInstance());
processMap.put("dropTriggerInstance", new dropTriggerInstance());
processMap.put("updateTriggerLocation", new updateTriggerLocation());
processMap.put("fireTrigger", new fireTrigger());
processMap.put("invalidatePermissionCache", new invalidatePermissionCache());
processMap.put("merge", new merge());
processMap.put("flush", new flush());
processMap.put("clearCache", new clearCache());
processMap.put("loadConfiguration", new loadConfiguration());
processMap.put("setSystemStatus", new setSystemStatus());
processMap.put("setTTL", new setTTL());
processMap.put("updateConfigNodeGroup", new updateConfigNodeGroup());
processMap.put("updateTemplate", new updateTemplate());
processMap.put("constructSchemaBlackList", new constructSchemaBlackList());
processMap.put("rollbackSchemaBlackList", new rollbackSchemaBlackList());
processMap.put("invalidateMatchedSchemaCache", new invalidateMatchedSchemaCache());
processMap.put("fetchSchemaBlackList", new fetchSchemaBlackList());
processMap.put("deleteDataForDeleteSchema", new deleteDataForDeleteSchema());
processMap.put("deleteTimeSeries", new deleteTimeSeries());
processMap.put("constructSchemaBlackListWithTemplate", new constructSchemaBlackListWithTemplate());
processMap.put("rollbackSchemaBlackListWithTemplate", new rollbackSchemaBlackListWithTemplate());
processMap.put("deactivateTemplate", new deactivateTemplate());
processMap.put("countPathsUsingTemplate", new countPathsUsingTemplate());
processMap.put("createPipeOnDataNode", new createPipeOnDataNode());
processMap.put("operatePipeOnDataNode", new operatePipeOnDataNode());
processMap.put("operatePipeOnDataNodeForRollback", new operatePipeOnDataNodeForRollback());
processMap.put("executeCQ", new executeCQ());
return processMap;
}
public static class sendFragmentInstance extends org.apache.thrift.ProcessFunction {
public sendFragmentInstance() {
super("sendFragmentInstance");
}
public sendFragmentInstance_args getEmptyArgsInstance() {
return new sendFragmentInstance_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public sendFragmentInstance_result getResult(I iface, sendFragmentInstance_args args) throws org.apache.thrift.TException {
sendFragmentInstance_result result = new sendFragmentInstance_result();
result.success = iface.sendFragmentInstance(args.req);
return result;
}
}
public static class sendPlanNode extends org.apache.thrift.ProcessFunction {
public sendPlanNode() {
super("sendPlanNode");
}
public sendPlanNode_args getEmptyArgsInstance() {
return new sendPlanNode_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public sendPlanNode_result getResult(I iface, sendPlanNode_args args) throws org.apache.thrift.TException {
sendPlanNode_result result = new sendPlanNode_result();
result.success = iface.sendPlanNode(args.req);
return result;
}
}
public static class fetchFragmentInstanceInfo extends org.apache.thrift.ProcessFunction {
public fetchFragmentInstanceInfo() {
super("fetchFragmentInstanceInfo");
}
public fetchFragmentInstanceInfo_args getEmptyArgsInstance() {
return new fetchFragmentInstanceInfo_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public fetchFragmentInstanceInfo_result getResult(I iface, fetchFragmentInstanceInfo_args args) throws org.apache.thrift.TException {
fetchFragmentInstanceInfo_result result = new fetchFragmentInstanceInfo_result();
result.success = iface.fetchFragmentInstanceInfo(args.req);
return result;
}
}
public static class cancelQuery extends org.apache.thrift.ProcessFunction {
public cancelQuery() {
super("cancelQuery");
}
public cancelQuery_args getEmptyArgsInstance() {
return new cancelQuery_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public cancelQuery_result getResult(I iface, cancelQuery_args args) throws org.apache.thrift.TException {
cancelQuery_result result = new cancelQuery_result();
result.success = iface.cancelQuery(args.req);
return result;
}
}
public static class cancelPlanFragment extends org.apache.thrift.ProcessFunction {
public cancelPlanFragment() {
super("cancelPlanFragment");
}
public cancelPlanFragment_args getEmptyArgsInstance() {
return new cancelPlanFragment_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public cancelPlanFragment_result getResult(I iface, cancelPlanFragment_args args) throws org.apache.thrift.TException {
cancelPlanFragment_result result = new cancelPlanFragment_result();
result.success = iface.cancelPlanFragment(args.req);
return result;
}
}
public static class cancelFragmentInstance extends org.apache.thrift.ProcessFunction {
public cancelFragmentInstance() {
super("cancelFragmentInstance");
}
public cancelFragmentInstance_args getEmptyArgsInstance() {
return new cancelFragmentInstance_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public cancelFragmentInstance_result getResult(I iface, cancelFragmentInstance_args args) throws org.apache.thrift.TException {
cancelFragmentInstance_result result = new cancelFragmentInstance_result();
result.success = iface.cancelFragmentInstance(args.req);
return result;
}
}
public static class fetchSchema extends org.apache.thrift.ProcessFunction {
public fetchSchema() {
super("fetchSchema");
}
public fetchSchema_args getEmptyArgsInstance() {
return new fetchSchema_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public fetchSchema_result getResult(I iface, fetchSchema_args args) throws org.apache.thrift.TException {
fetchSchema_result result = new fetchSchema_result();
result.success = iface.fetchSchema(args.req);
return result;
}
}
public static class sendTsFilePieceNode extends org.apache.thrift.ProcessFunction {
public sendTsFilePieceNode() {
super("sendTsFilePieceNode");
}
public sendTsFilePieceNode_args getEmptyArgsInstance() {
return new sendTsFilePieceNode_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public sendTsFilePieceNode_result getResult(I iface, sendTsFilePieceNode_args args) throws org.apache.thrift.TException {
sendTsFilePieceNode_result result = new sendTsFilePieceNode_result();
result.success = iface.sendTsFilePieceNode(args.req);
return result;
}
}
public static class sendLoadCommand extends org.apache.thrift.ProcessFunction {
public sendLoadCommand() {
super("sendLoadCommand");
}
public sendLoadCommand_args getEmptyArgsInstance() {
return new sendLoadCommand_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public sendLoadCommand_result getResult(I iface, sendLoadCommand_args args) throws org.apache.thrift.TException {
sendLoadCommand_result result = new sendLoadCommand_result();
result.success = iface.sendLoadCommand(args.req);
return result;
}
}
public static class createSchemaRegion extends org.apache.thrift.ProcessFunction {
public createSchemaRegion() {
super("createSchemaRegion");
}
public createSchemaRegion_args getEmptyArgsInstance() {
return new createSchemaRegion_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public createSchemaRegion_result getResult(I iface, createSchemaRegion_args args) throws org.apache.thrift.TException {
createSchemaRegion_result result = new createSchemaRegion_result();
result.success = iface.createSchemaRegion(args.req);
return result;
}
}
public static class createDataRegion extends org.apache.thrift.ProcessFunction {
public createDataRegion() {
super("createDataRegion");
}
public createDataRegion_args getEmptyArgsInstance() {
return new createDataRegion_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public createDataRegion_result getResult(I iface, createDataRegion_args args) throws org.apache.thrift.TException {
createDataRegion_result result = new createDataRegion_result();
result.success = iface.createDataRegion(args.req);
return result;
}
}
public static class invalidatePartitionCache extends org.apache.thrift.ProcessFunction {
public invalidatePartitionCache() {
super("invalidatePartitionCache");
}
public invalidatePartitionCache_args getEmptyArgsInstance() {
return new invalidatePartitionCache_args();
}
protected boolean isOneway() {
return false;
}
@Override
protected boolean rethrowUnhandledExceptions() {
return false;
}
public invalidatePartitionCache_result getResult(I iface, invalidatePartitionCache_args args) throws org.apache.thrift.TException {
invalidatePartitionCache_result result = new invalidatePartitionCache_result();
result.success = iface.invalidatePartitionCache(args.req);
return result;
}
}
public static class invalidateSchemaCache