org.apache.iotdb.service.rpc.thrift.IClientRPCService 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.service.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 IClientRPCService {
public interface Iface {
public TSExecuteStatementResp executeQueryStatementV2(TSExecuteStatementReq req) throws org.apache.thrift.TException;
public TSExecuteStatementResp executeUpdateStatementV2(TSExecuteStatementReq req) throws org.apache.thrift.TException;
public TSExecuteStatementResp executeStatementV2(TSExecuteStatementReq req) throws org.apache.thrift.TException;
public TSExecuteStatementResp executeRawDataQueryV2(TSRawDataQueryReq req) throws org.apache.thrift.TException;
public TSExecuteStatementResp executeLastDataQueryV2(TSLastDataQueryReq req) throws org.apache.thrift.TException;
public TSFetchResultsResp fetchResultsV2(TSFetchResultsReq req) throws org.apache.thrift.TException;
public TSOpenSessionResp openSession(TSOpenSessionReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus closeSession(TSCloseSessionReq req) throws org.apache.thrift.TException;
public TSExecuteStatementResp executeStatement(TSExecuteStatementReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus executeBatchStatement(TSExecuteBatchStatementReq req) throws org.apache.thrift.TException;
public TSExecuteStatementResp executeQueryStatement(TSExecuteStatementReq req) throws org.apache.thrift.TException;
public TSExecuteStatementResp executeUpdateStatement(TSExecuteStatementReq req) throws org.apache.thrift.TException;
public TSFetchResultsResp fetchResults(TSFetchResultsReq req) throws org.apache.thrift.TException;
public TSFetchMetadataResp fetchMetadata(TSFetchMetadataReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus cancelOperation(TSCancelOperationReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus closeOperation(TSCloseOperationReq req) throws org.apache.thrift.TException;
public TSGetTimeZoneResp getTimeZone(long sessionId) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus setTimeZone(TSSetTimeZoneReq req) throws org.apache.thrift.TException;
public ServerProperties getProperties() throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus setStorageGroup(long sessionId, java.lang.String storageGroup) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus createTimeseries(TSCreateTimeseriesReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus createAlignedTimeseries(TSCreateAlignedTimeseriesReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus createMultiTimeseries(TSCreateMultiTimeseriesReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteTimeseries(long sessionId, java.util.List path) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteStorageGroups(long sessionId, java.util.List storageGroup) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus insertRecord(TSInsertRecordReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus insertStringRecord(TSInsertStringRecordReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus insertTablet(TSInsertTabletReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus insertTablets(TSInsertTabletsReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus insertRecords(TSInsertRecordsReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus insertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus insertStringRecordsOfOneDevice(TSInsertStringRecordsOfOneDeviceReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus insertStringRecords(TSInsertStringRecordsReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertTablet(TSInsertTabletReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertTablets(TSInsertTabletsReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertRecord(TSInsertRecordReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertStringRecord(TSInsertStringRecordReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertRecords(TSInsertRecordsReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertStringRecords(TSInsertStringRecordsReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteData(TSDeleteDataReq req) throws org.apache.thrift.TException;
public TSExecuteStatementResp executeRawDataQuery(TSRawDataQueryReq req) throws org.apache.thrift.TException;
public TSExecuteStatementResp executeLastDataQuery(TSLastDataQueryReq req) throws org.apache.thrift.TException;
public long requestStatementId(long sessionId) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus createSchemaTemplate(TSCreateSchemaTemplateReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus appendSchemaTemplate(TSAppendSchemaTemplateReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus pruneSchemaTemplate(TSPruneSchemaTemplateReq req) throws org.apache.thrift.TException;
public TSQueryTemplateResp querySchemaTemplate(TSQueryTemplateReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus setSchemaTemplate(TSSetSchemaTemplateReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus unsetSchemaTemplate(TSUnsetSchemaTemplateReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus dropSchemaTemplate(TSDropSchemaTemplateReq req) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus handshake(TSyncIdentityInfo info) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus sendPipeData(java.nio.ByteBuffer buff) throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus sendFile(TSyncTransportMetaInfo metaInfo, java.nio.ByteBuffer buff) throws org.apache.thrift.TException;
public TSBackupConfigurationResp getBackupConfiguration() throws org.apache.thrift.TException;
public TSConnectionInfoResp fetchAllConnectionsInfo() throws org.apache.thrift.TException;
public WhiteListInfoResp getWhiteIpSet() throws org.apache.thrift.TException;
public org.apache.iotdb.common.rpc.thrift.TSStatus updateWhiteList(java.util.Set ipSet) throws org.apache.thrift.TException;
public LicenseInfoResp getLicenseInfo() throws org.apache.thrift.TException;
}
public interface AsyncIface {
public void executeQueryStatementV2(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void executeUpdateStatementV2(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void executeStatementV2(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void executeRawDataQueryV2(TSRawDataQueryReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void executeLastDataQueryV2(TSLastDataQueryReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void fetchResultsV2(TSFetchResultsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void openSession(TSOpenSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void closeSession(TSCloseSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void executeStatement(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void executeBatchStatement(TSExecuteBatchStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void executeQueryStatement(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void executeUpdateStatement(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void fetchResults(TSFetchResultsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void fetchMetadata(TSFetchMetadataReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void cancelOperation(TSCancelOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void closeOperation(TSCloseOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getTimeZone(long sessionId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void setTimeZone(TSSetTimeZoneReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getProperties(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void setStorageGroup(long sessionId, java.lang.String storageGroup, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createTimeseries(TSCreateTimeseriesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createAlignedTimeseries(TSCreateAlignedTimeseriesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createMultiTimeseries(TSCreateMultiTimeseriesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deleteTimeseries(long sessionId, java.util.List path, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deleteStorageGroups(long sessionId, java.util.List storageGroup, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void insertRecord(TSInsertRecordReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void insertStringRecord(TSInsertStringRecordReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void insertTablet(TSInsertTabletReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void insertTablets(TSInsertTabletsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void insertRecords(TSInsertRecordsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void insertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void insertStringRecordsOfOneDevice(TSInsertStringRecordsOfOneDeviceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void insertStringRecords(TSInsertStringRecordsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void testInsertTablet(TSInsertTabletReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void testInsertTablets(TSInsertTabletsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void testInsertRecord(TSInsertRecordReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void testInsertStringRecord(TSInsertStringRecordReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void testInsertRecords(TSInsertRecordsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void testInsertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void testInsertStringRecords(TSInsertStringRecordsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deleteData(TSDeleteDataReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void executeRawDataQuery(TSRawDataQueryReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void executeLastDataQuery(TSLastDataQueryReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void requestStatementId(long sessionId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createSchemaTemplate(TSCreateSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void appendSchemaTemplate(TSAppendSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void pruneSchemaTemplate(TSPruneSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void querySchemaTemplate(TSQueryTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void setSchemaTemplate(TSSetSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void unsetSchemaTemplate(TSUnsetSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void dropSchemaTemplate(TSDropSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void handshake(TSyncIdentityInfo info, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void sendPipeData(java.nio.ByteBuffer buff, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void sendFile(TSyncTransportMetaInfo metaInfo, java.nio.ByteBuffer buff, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getBackupConfiguration(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void fetchAllConnectionsInfo(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getWhiteIpSet(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void updateWhiteList(java.util.Set ipSet, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getLicenseInfo(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 TSExecuteStatementResp executeQueryStatementV2(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
send_executeQueryStatementV2(req);
return recv_executeQueryStatementV2();
}
public void send_executeQueryStatementV2(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
executeQueryStatementV2_args args = new executeQueryStatementV2_args();
args.setReq(req);
sendBase("executeQueryStatementV2", args);
}
public TSExecuteStatementResp recv_executeQueryStatementV2() throws org.apache.thrift.TException
{
executeQueryStatementV2_result result = new executeQueryStatementV2_result();
receiveBase(result, "executeQueryStatementV2");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeQueryStatementV2 failed: unknown result");
}
public TSExecuteStatementResp executeUpdateStatementV2(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
send_executeUpdateStatementV2(req);
return recv_executeUpdateStatementV2();
}
public void send_executeUpdateStatementV2(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
executeUpdateStatementV2_args args = new executeUpdateStatementV2_args();
args.setReq(req);
sendBase("executeUpdateStatementV2", args);
}
public TSExecuteStatementResp recv_executeUpdateStatementV2() throws org.apache.thrift.TException
{
executeUpdateStatementV2_result result = new executeUpdateStatementV2_result();
receiveBase(result, "executeUpdateStatementV2");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeUpdateStatementV2 failed: unknown result");
}
public TSExecuteStatementResp executeStatementV2(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
send_executeStatementV2(req);
return recv_executeStatementV2();
}
public void send_executeStatementV2(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
executeStatementV2_args args = new executeStatementV2_args();
args.setReq(req);
sendBase("executeStatementV2", args);
}
public TSExecuteStatementResp recv_executeStatementV2() throws org.apache.thrift.TException
{
executeStatementV2_result result = new executeStatementV2_result();
receiveBase(result, "executeStatementV2");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeStatementV2 failed: unknown result");
}
public TSExecuteStatementResp executeRawDataQueryV2(TSRawDataQueryReq req) throws org.apache.thrift.TException
{
send_executeRawDataQueryV2(req);
return recv_executeRawDataQueryV2();
}
public void send_executeRawDataQueryV2(TSRawDataQueryReq req) throws org.apache.thrift.TException
{
executeRawDataQueryV2_args args = new executeRawDataQueryV2_args();
args.setReq(req);
sendBase("executeRawDataQueryV2", args);
}
public TSExecuteStatementResp recv_executeRawDataQueryV2() throws org.apache.thrift.TException
{
executeRawDataQueryV2_result result = new executeRawDataQueryV2_result();
receiveBase(result, "executeRawDataQueryV2");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeRawDataQueryV2 failed: unknown result");
}
public TSExecuteStatementResp executeLastDataQueryV2(TSLastDataQueryReq req) throws org.apache.thrift.TException
{
send_executeLastDataQueryV2(req);
return recv_executeLastDataQueryV2();
}
public void send_executeLastDataQueryV2(TSLastDataQueryReq req) throws org.apache.thrift.TException
{
executeLastDataQueryV2_args args = new executeLastDataQueryV2_args();
args.setReq(req);
sendBase("executeLastDataQueryV2", args);
}
public TSExecuteStatementResp recv_executeLastDataQueryV2() throws org.apache.thrift.TException
{
executeLastDataQueryV2_result result = new executeLastDataQueryV2_result();
receiveBase(result, "executeLastDataQueryV2");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeLastDataQueryV2 failed: unknown result");
}
public TSFetchResultsResp fetchResultsV2(TSFetchResultsReq req) throws org.apache.thrift.TException
{
send_fetchResultsV2(req);
return recv_fetchResultsV2();
}
public void send_fetchResultsV2(TSFetchResultsReq req) throws org.apache.thrift.TException
{
fetchResultsV2_args args = new fetchResultsV2_args();
args.setReq(req);
sendBase("fetchResultsV2", args);
}
public TSFetchResultsResp recv_fetchResultsV2() throws org.apache.thrift.TException
{
fetchResultsV2_result result = new fetchResultsV2_result();
receiveBase(result, "fetchResultsV2");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "fetchResultsV2 failed: unknown result");
}
public TSOpenSessionResp openSession(TSOpenSessionReq req) throws org.apache.thrift.TException
{
send_openSession(req);
return recv_openSession();
}
public void send_openSession(TSOpenSessionReq req) throws org.apache.thrift.TException
{
openSession_args args = new openSession_args();
args.setReq(req);
sendBase("openSession", args);
}
public TSOpenSessionResp recv_openSession() throws org.apache.thrift.TException
{
openSession_result result = new openSession_result();
receiveBase(result, "openSession");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "openSession failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus closeSession(TSCloseSessionReq req) throws org.apache.thrift.TException
{
send_closeSession(req);
return recv_closeSession();
}
public void send_closeSession(TSCloseSessionReq req) throws org.apache.thrift.TException
{
closeSession_args args = new closeSession_args();
args.setReq(req);
sendBase("closeSession", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_closeSession() throws org.apache.thrift.TException
{
closeSession_result result = new closeSession_result();
receiveBase(result, "closeSession");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "closeSession failed: unknown result");
}
public TSExecuteStatementResp executeStatement(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
send_executeStatement(req);
return recv_executeStatement();
}
public void send_executeStatement(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
executeStatement_args args = new executeStatement_args();
args.setReq(req);
sendBase("executeStatement", args);
}
public TSExecuteStatementResp recv_executeStatement() throws org.apache.thrift.TException
{
executeStatement_result result = new executeStatement_result();
receiveBase(result, "executeStatement");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeStatement failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus executeBatchStatement(TSExecuteBatchStatementReq req) throws org.apache.thrift.TException
{
send_executeBatchStatement(req);
return recv_executeBatchStatement();
}
public void send_executeBatchStatement(TSExecuteBatchStatementReq req) throws org.apache.thrift.TException
{
executeBatchStatement_args args = new executeBatchStatement_args();
args.setReq(req);
sendBase("executeBatchStatement", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_executeBatchStatement() throws org.apache.thrift.TException
{
executeBatchStatement_result result = new executeBatchStatement_result();
receiveBase(result, "executeBatchStatement");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeBatchStatement failed: unknown result");
}
public TSExecuteStatementResp executeQueryStatement(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
send_executeQueryStatement(req);
return recv_executeQueryStatement();
}
public void send_executeQueryStatement(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
executeQueryStatement_args args = new executeQueryStatement_args();
args.setReq(req);
sendBase("executeQueryStatement", args);
}
public TSExecuteStatementResp recv_executeQueryStatement() throws org.apache.thrift.TException
{
executeQueryStatement_result result = new executeQueryStatement_result();
receiveBase(result, "executeQueryStatement");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeQueryStatement failed: unknown result");
}
public TSExecuteStatementResp executeUpdateStatement(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
send_executeUpdateStatement(req);
return recv_executeUpdateStatement();
}
public void send_executeUpdateStatement(TSExecuteStatementReq req) throws org.apache.thrift.TException
{
executeUpdateStatement_args args = new executeUpdateStatement_args();
args.setReq(req);
sendBase("executeUpdateStatement", args);
}
public TSExecuteStatementResp recv_executeUpdateStatement() throws org.apache.thrift.TException
{
executeUpdateStatement_result result = new executeUpdateStatement_result();
receiveBase(result, "executeUpdateStatement");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeUpdateStatement failed: unknown result");
}
public TSFetchResultsResp fetchResults(TSFetchResultsReq req) throws org.apache.thrift.TException
{
send_fetchResults(req);
return recv_fetchResults();
}
public void send_fetchResults(TSFetchResultsReq req) throws org.apache.thrift.TException
{
fetchResults_args args = new fetchResults_args();
args.setReq(req);
sendBase("fetchResults", args);
}
public TSFetchResultsResp recv_fetchResults() throws org.apache.thrift.TException
{
fetchResults_result result = new fetchResults_result();
receiveBase(result, "fetchResults");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "fetchResults failed: unknown result");
}
public TSFetchMetadataResp fetchMetadata(TSFetchMetadataReq req) throws org.apache.thrift.TException
{
send_fetchMetadata(req);
return recv_fetchMetadata();
}
public void send_fetchMetadata(TSFetchMetadataReq req) throws org.apache.thrift.TException
{
fetchMetadata_args args = new fetchMetadata_args();
args.setReq(req);
sendBase("fetchMetadata", args);
}
public TSFetchMetadataResp recv_fetchMetadata() throws org.apache.thrift.TException
{
fetchMetadata_result result = new fetchMetadata_result();
receiveBase(result, "fetchMetadata");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "fetchMetadata failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus cancelOperation(TSCancelOperationReq req) throws org.apache.thrift.TException
{
send_cancelOperation(req);
return recv_cancelOperation();
}
public void send_cancelOperation(TSCancelOperationReq req) throws org.apache.thrift.TException
{
cancelOperation_args args = new cancelOperation_args();
args.setReq(req);
sendBase("cancelOperation", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_cancelOperation() throws org.apache.thrift.TException
{
cancelOperation_result result = new cancelOperation_result();
receiveBase(result, "cancelOperation");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "cancelOperation failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus closeOperation(TSCloseOperationReq req) throws org.apache.thrift.TException
{
send_closeOperation(req);
return recv_closeOperation();
}
public void send_closeOperation(TSCloseOperationReq req) throws org.apache.thrift.TException
{
closeOperation_args args = new closeOperation_args();
args.setReq(req);
sendBase("closeOperation", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_closeOperation() throws org.apache.thrift.TException
{
closeOperation_result result = new closeOperation_result();
receiveBase(result, "closeOperation");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "closeOperation failed: unknown result");
}
public TSGetTimeZoneResp getTimeZone(long sessionId) throws org.apache.thrift.TException
{
send_getTimeZone(sessionId);
return recv_getTimeZone();
}
public void send_getTimeZone(long sessionId) throws org.apache.thrift.TException
{
getTimeZone_args args = new getTimeZone_args();
args.setSessionId(sessionId);
sendBase("getTimeZone", args);
}
public TSGetTimeZoneResp recv_getTimeZone() throws org.apache.thrift.TException
{
getTimeZone_result result = new getTimeZone_result();
receiveBase(result, "getTimeZone");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTimeZone failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus setTimeZone(TSSetTimeZoneReq req) throws org.apache.thrift.TException
{
send_setTimeZone(req);
return recv_setTimeZone();
}
public void send_setTimeZone(TSSetTimeZoneReq req) throws org.apache.thrift.TException
{
setTimeZone_args args = new setTimeZone_args();
args.setReq(req);
sendBase("setTimeZone", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_setTimeZone() throws org.apache.thrift.TException
{
setTimeZone_result result = new setTimeZone_result();
receiveBase(result, "setTimeZone");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "setTimeZone failed: unknown result");
}
public ServerProperties getProperties() throws org.apache.thrift.TException
{
send_getProperties();
return recv_getProperties();
}
public void send_getProperties() throws org.apache.thrift.TException
{
getProperties_args args = new getProperties_args();
sendBase("getProperties", args);
}
public ServerProperties recv_getProperties() throws org.apache.thrift.TException
{
getProperties_result result = new getProperties_result();
receiveBase(result, "getProperties");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getProperties failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus setStorageGroup(long sessionId, java.lang.String storageGroup) throws org.apache.thrift.TException
{
send_setStorageGroup(sessionId, storageGroup);
return recv_setStorageGroup();
}
public void send_setStorageGroup(long sessionId, java.lang.String storageGroup) throws org.apache.thrift.TException
{
setStorageGroup_args args = new setStorageGroup_args();
args.setSessionId(sessionId);
args.setStorageGroup(storageGroup);
sendBase("setStorageGroup", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_setStorageGroup() throws org.apache.thrift.TException
{
setStorageGroup_result result = new setStorageGroup_result();
receiveBase(result, "setStorageGroup");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "setStorageGroup failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus createTimeseries(TSCreateTimeseriesReq req) throws org.apache.thrift.TException
{
send_createTimeseries(req);
return recv_createTimeseries();
}
public void send_createTimeseries(TSCreateTimeseriesReq req) throws org.apache.thrift.TException
{
createTimeseries_args args = new createTimeseries_args();
args.setReq(req);
sendBase("createTimeseries", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_createTimeseries() throws org.apache.thrift.TException
{
createTimeseries_result result = new createTimeseries_result();
receiveBase(result, "createTimeseries");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createTimeseries failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus createAlignedTimeseries(TSCreateAlignedTimeseriesReq req) throws org.apache.thrift.TException
{
send_createAlignedTimeseries(req);
return recv_createAlignedTimeseries();
}
public void send_createAlignedTimeseries(TSCreateAlignedTimeseriesReq req) throws org.apache.thrift.TException
{
createAlignedTimeseries_args args = new createAlignedTimeseries_args();
args.setReq(req);
sendBase("createAlignedTimeseries", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_createAlignedTimeseries() throws org.apache.thrift.TException
{
createAlignedTimeseries_result result = new createAlignedTimeseries_result();
receiveBase(result, "createAlignedTimeseries");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createAlignedTimeseries failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus createMultiTimeseries(TSCreateMultiTimeseriesReq req) throws org.apache.thrift.TException
{
send_createMultiTimeseries(req);
return recv_createMultiTimeseries();
}
public void send_createMultiTimeseries(TSCreateMultiTimeseriesReq req) throws org.apache.thrift.TException
{
createMultiTimeseries_args args = new createMultiTimeseries_args();
args.setReq(req);
sendBase("createMultiTimeseries", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_createMultiTimeseries() throws org.apache.thrift.TException
{
createMultiTimeseries_result result = new createMultiTimeseries_result();
receiveBase(result, "createMultiTimeseries");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createMultiTimeseries failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteTimeseries(long sessionId, java.util.List path) throws org.apache.thrift.TException
{
send_deleteTimeseries(sessionId, path);
return recv_deleteTimeseries();
}
public void send_deleteTimeseries(long sessionId, java.util.List path) throws org.apache.thrift.TException
{
deleteTimeseries_args args = new deleteTimeseries_args();
args.setSessionId(sessionId);
args.setPath(path);
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 deleteStorageGroups(long sessionId, java.util.List storageGroup) throws org.apache.thrift.TException
{
send_deleteStorageGroups(sessionId, storageGroup);
return recv_deleteStorageGroups();
}
public void send_deleteStorageGroups(long sessionId, java.util.List storageGroup) throws org.apache.thrift.TException
{
deleteStorageGroups_args args = new deleteStorageGroups_args();
args.setSessionId(sessionId);
args.setStorageGroup(storageGroup);
sendBase("deleteStorageGroups", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_deleteStorageGroups() throws org.apache.thrift.TException
{
deleteStorageGroups_result result = new deleteStorageGroups_result();
receiveBase(result, "deleteStorageGroups");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteStorageGroups failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus insertRecord(TSInsertRecordReq req) throws org.apache.thrift.TException
{
send_insertRecord(req);
return recv_insertRecord();
}
public void send_insertRecord(TSInsertRecordReq req) throws org.apache.thrift.TException
{
insertRecord_args args = new insertRecord_args();
args.setReq(req);
sendBase("insertRecord", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_insertRecord() throws org.apache.thrift.TException
{
insertRecord_result result = new insertRecord_result();
receiveBase(result, "insertRecord");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "insertRecord failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus insertStringRecord(TSInsertStringRecordReq req) throws org.apache.thrift.TException
{
send_insertStringRecord(req);
return recv_insertStringRecord();
}
public void send_insertStringRecord(TSInsertStringRecordReq req) throws org.apache.thrift.TException
{
insertStringRecord_args args = new insertStringRecord_args();
args.setReq(req);
sendBase("insertStringRecord", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_insertStringRecord() throws org.apache.thrift.TException
{
insertStringRecord_result result = new insertStringRecord_result();
receiveBase(result, "insertStringRecord");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "insertStringRecord failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus insertTablet(TSInsertTabletReq req) throws org.apache.thrift.TException
{
send_insertTablet(req);
return recv_insertTablet();
}
public void send_insertTablet(TSInsertTabletReq req) throws org.apache.thrift.TException
{
insertTablet_args args = new insertTablet_args();
args.setReq(req);
sendBase("insertTablet", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_insertTablet() throws org.apache.thrift.TException
{
insertTablet_result result = new insertTablet_result();
receiveBase(result, "insertTablet");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "insertTablet failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus insertTablets(TSInsertTabletsReq req) throws org.apache.thrift.TException
{
send_insertTablets(req);
return recv_insertTablets();
}
public void send_insertTablets(TSInsertTabletsReq req) throws org.apache.thrift.TException
{
insertTablets_args args = new insertTablets_args();
args.setReq(req);
sendBase("insertTablets", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_insertTablets() throws org.apache.thrift.TException
{
insertTablets_result result = new insertTablets_result();
receiveBase(result, "insertTablets");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "insertTablets failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus insertRecords(TSInsertRecordsReq req) throws org.apache.thrift.TException
{
send_insertRecords(req);
return recv_insertRecords();
}
public void send_insertRecords(TSInsertRecordsReq req) throws org.apache.thrift.TException
{
insertRecords_args args = new insertRecords_args();
args.setReq(req);
sendBase("insertRecords", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_insertRecords() throws org.apache.thrift.TException
{
insertRecords_result result = new insertRecords_result();
receiveBase(result, "insertRecords");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "insertRecords failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus insertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req) throws org.apache.thrift.TException
{
send_insertRecordsOfOneDevice(req);
return recv_insertRecordsOfOneDevice();
}
public void send_insertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req) throws org.apache.thrift.TException
{
insertRecordsOfOneDevice_args args = new insertRecordsOfOneDevice_args();
args.setReq(req);
sendBase("insertRecordsOfOneDevice", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_insertRecordsOfOneDevice() throws org.apache.thrift.TException
{
insertRecordsOfOneDevice_result result = new insertRecordsOfOneDevice_result();
receiveBase(result, "insertRecordsOfOneDevice");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "insertRecordsOfOneDevice failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus insertStringRecordsOfOneDevice(TSInsertStringRecordsOfOneDeviceReq req) throws org.apache.thrift.TException
{
send_insertStringRecordsOfOneDevice(req);
return recv_insertStringRecordsOfOneDevice();
}
public void send_insertStringRecordsOfOneDevice(TSInsertStringRecordsOfOneDeviceReq req) throws org.apache.thrift.TException
{
insertStringRecordsOfOneDevice_args args = new insertStringRecordsOfOneDevice_args();
args.setReq(req);
sendBase("insertStringRecordsOfOneDevice", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_insertStringRecordsOfOneDevice() throws org.apache.thrift.TException
{
insertStringRecordsOfOneDevice_result result = new insertStringRecordsOfOneDevice_result();
receiveBase(result, "insertStringRecordsOfOneDevice");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "insertStringRecordsOfOneDevice failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus insertStringRecords(TSInsertStringRecordsReq req) throws org.apache.thrift.TException
{
send_insertStringRecords(req);
return recv_insertStringRecords();
}
public void send_insertStringRecords(TSInsertStringRecordsReq req) throws org.apache.thrift.TException
{
insertStringRecords_args args = new insertStringRecords_args();
args.setReq(req);
sendBase("insertStringRecords", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_insertStringRecords() throws org.apache.thrift.TException
{
insertStringRecords_result result = new insertStringRecords_result();
receiveBase(result, "insertStringRecords");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "insertStringRecords failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertTablet(TSInsertTabletReq req) throws org.apache.thrift.TException
{
send_testInsertTablet(req);
return recv_testInsertTablet();
}
public void send_testInsertTablet(TSInsertTabletReq req) throws org.apache.thrift.TException
{
testInsertTablet_args args = new testInsertTablet_args();
args.setReq(req);
sendBase("testInsertTablet", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_testInsertTablet() throws org.apache.thrift.TException
{
testInsertTablet_result result = new testInsertTablet_result();
receiveBase(result, "testInsertTablet");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "testInsertTablet failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertTablets(TSInsertTabletsReq req) throws org.apache.thrift.TException
{
send_testInsertTablets(req);
return recv_testInsertTablets();
}
public void send_testInsertTablets(TSInsertTabletsReq req) throws org.apache.thrift.TException
{
testInsertTablets_args args = new testInsertTablets_args();
args.setReq(req);
sendBase("testInsertTablets", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_testInsertTablets() throws org.apache.thrift.TException
{
testInsertTablets_result result = new testInsertTablets_result();
receiveBase(result, "testInsertTablets");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "testInsertTablets failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertRecord(TSInsertRecordReq req) throws org.apache.thrift.TException
{
send_testInsertRecord(req);
return recv_testInsertRecord();
}
public void send_testInsertRecord(TSInsertRecordReq req) throws org.apache.thrift.TException
{
testInsertRecord_args args = new testInsertRecord_args();
args.setReq(req);
sendBase("testInsertRecord", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_testInsertRecord() throws org.apache.thrift.TException
{
testInsertRecord_result result = new testInsertRecord_result();
receiveBase(result, "testInsertRecord");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "testInsertRecord failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertStringRecord(TSInsertStringRecordReq req) throws org.apache.thrift.TException
{
send_testInsertStringRecord(req);
return recv_testInsertStringRecord();
}
public void send_testInsertStringRecord(TSInsertStringRecordReq req) throws org.apache.thrift.TException
{
testInsertStringRecord_args args = new testInsertStringRecord_args();
args.setReq(req);
sendBase("testInsertStringRecord", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_testInsertStringRecord() throws org.apache.thrift.TException
{
testInsertStringRecord_result result = new testInsertStringRecord_result();
receiveBase(result, "testInsertStringRecord");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "testInsertStringRecord failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertRecords(TSInsertRecordsReq req) throws org.apache.thrift.TException
{
send_testInsertRecords(req);
return recv_testInsertRecords();
}
public void send_testInsertRecords(TSInsertRecordsReq req) throws org.apache.thrift.TException
{
testInsertRecords_args args = new testInsertRecords_args();
args.setReq(req);
sendBase("testInsertRecords", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_testInsertRecords() throws org.apache.thrift.TException
{
testInsertRecords_result result = new testInsertRecords_result();
receiveBase(result, "testInsertRecords");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "testInsertRecords failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req) throws org.apache.thrift.TException
{
send_testInsertRecordsOfOneDevice(req);
return recv_testInsertRecordsOfOneDevice();
}
public void send_testInsertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req) throws org.apache.thrift.TException
{
testInsertRecordsOfOneDevice_args args = new testInsertRecordsOfOneDevice_args();
args.setReq(req);
sendBase("testInsertRecordsOfOneDevice", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_testInsertRecordsOfOneDevice() throws org.apache.thrift.TException
{
testInsertRecordsOfOneDevice_result result = new testInsertRecordsOfOneDevice_result();
receiveBase(result, "testInsertRecordsOfOneDevice");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "testInsertRecordsOfOneDevice failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus testInsertStringRecords(TSInsertStringRecordsReq req) throws org.apache.thrift.TException
{
send_testInsertStringRecords(req);
return recv_testInsertStringRecords();
}
public void send_testInsertStringRecords(TSInsertStringRecordsReq req) throws org.apache.thrift.TException
{
testInsertStringRecords_args args = new testInsertStringRecords_args();
args.setReq(req);
sendBase("testInsertStringRecords", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_testInsertStringRecords() throws org.apache.thrift.TException
{
testInsertStringRecords_result result = new testInsertStringRecords_result();
receiveBase(result, "testInsertStringRecords");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "testInsertStringRecords failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus deleteData(TSDeleteDataReq req) throws org.apache.thrift.TException
{
send_deleteData(req);
return recv_deleteData();
}
public void send_deleteData(TSDeleteDataReq req) throws org.apache.thrift.TException
{
deleteData_args args = new deleteData_args();
args.setReq(req);
sendBase("deleteData", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_deleteData() throws org.apache.thrift.TException
{
deleteData_result result = new deleteData_result();
receiveBase(result, "deleteData");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteData failed: unknown result");
}
public TSExecuteStatementResp executeRawDataQuery(TSRawDataQueryReq req) throws org.apache.thrift.TException
{
send_executeRawDataQuery(req);
return recv_executeRawDataQuery();
}
public void send_executeRawDataQuery(TSRawDataQueryReq req) throws org.apache.thrift.TException
{
executeRawDataQuery_args args = new executeRawDataQuery_args();
args.setReq(req);
sendBase("executeRawDataQuery", args);
}
public TSExecuteStatementResp recv_executeRawDataQuery() throws org.apache.thrift.TException
{
executeRawDataQuery_result result = new executeRawDataQuery_result();
receiveBase(result, "executeRawDataQuery");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeRawDataQuery failed: unknown result");
}
public TSExecuteStatementResp executeLastDataQuery(TSLastDataQueryReq req) throws org.apache.thrift.TException
{
send_executeLastDataQuery(req);
return recv_executeLastDataQuery();
}
public void send_executeLastDataQuery(TSLastDataQueryReq req) throws org.apache.thrift.TException
{
executeLastDataQuery_args args = new executeLastDataQuery_args();
args.setReq(req);
sendBase("executeLastDataQuery", args);
}
public TSExecuteStatementResp recv_executeLastDataQuery() throws org.apache.thrift.TException
{
executeLastDataQuery_result result = new executeLastDataQuery_result();
receiveBase(result, "executeLastDataQuery");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "executeLastDataQuery failed: unknown result");
}
public long requestStatementId(long sessionId) throws org.apache.thrift.TException
{
send_requestStatementId(sessionId);
return recv_requestStatementId();
}
public void send_requestStatementId(long sessionId) throws org.apache.thrift.TException
{
requestStatementId_args args = new requestStatementId_args();
args.setSessionId(sessionId);
sendBase("requestStatementId", args);
}
public long recv_requestStatementId() throws org.apache.thrift.TException
{
requestStatementId_result result = new requestStatementId_result();
receiveBase(result, "requestStatementId");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "requestStatementId failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus createSchemaTemplate(TSCreateSchemaTemplateReq req) throws org.apache.thrift.TException
{
send_createSchemaTemplate(req);
return recv_createSchemaTemplate();
}
public void send_createSchemaTemplate(TSCreateSchemaTemplateReq req) throws org.apache.thrift.TException
{
createSchemaTemplate_args args = new createSchemaTemplate_args();
args.setReq(req);
sendBase("createSchemaTemplate", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_createSchemaTemplate() throws org.apache.thrift.TException
{
createSchemaTemplate_result result = new createSchemaTemplate_result();
receiveBase(result, "createSchemaTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createSchemaTemplate failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus appendSchemaTemplate(TSAppendSchemaTemplateReq req) throws org.apache.thrift.TException
{
send_appendSchemaTemplate(req);
return recv_appendSchemaTemplate();
}
public void send_appendSchemaTemplate(TSAppendSchemaTemplateReq req) throws org.apache.thrift.TException
{
appendSchemaTemplate_args args = new appendSchemaTemplate_args();
args.setReq(req);
sendBase("appendSchemaTemplate", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_appendSchemaTemplate() throws org.apache.thrift.TException
{
appendSchemaTemplate_result result = new appendSchemaTemplate_result();
receiveBase(result, "appendSchemaTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "appendSchemaTemplate failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus pruneSchemaTemplate(TSPruneSchemaTemplateReq req) throws org.apache.thrift.TException
{
send_pruneSchemaTemplate(req);
return recv_pruneSchemaTemplate();
}
public void send_pruneSchemaTemplate(TSPruneSchemaTemplateReq req) throws org.apache.thrift.TException
{
pruneSchemaTemplate_args args = new pruneSchemaTemplate_args();
args.setReq(req);
sendBase("pruneSchemaTemplate", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_pruneSchemaTemplate() throws org.apache.thrift.TException
{
pruneSchemaTemplate_result result = new pruneSchemaTemplate_result();
receiveBase(result, "pruneSchemaTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "pruneSchemaTemplate failed: unknown result");
}
public TSQueryTemplateResp querySchemaTemplate(TSQueryTemplateReq req) throws org.apache.thrift.TException
{
send_querySchemaTemplate(req);
return recv_querySchemaTemplate();
}
public void send_querySchemaTemplate(TSQueryTemplateReq req) throws org.apache.thrift.TException
{
querySchemaTemplate_args args = new querySchemaTemplate_args();
args.setReq(req);
sendBase("querySchemaTemplate", args);
}
public TSQueryTemplateResp recv_querySchemaTemplate() throws org.apache.thrift.TException
{
querySchemaTemplate_result result = new querySchemaTemplate_result();
receiveBase(result, "querySchemaTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "querySchemaTemplate failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus setSchemaTemplate(TSSetSchemaTemplateReq req) throws org.apache.thrift.TException
{
send_setSchemaTemplate(req);
return recv_setSchemaTemplate();
}
public void send_setSchemaTemplate(TSSetSchemaTemplateReq req) throws org.apache.thrift.TException
{
setSchemaTemplate_args args = new setSchemaTemplate_args();
args.setReq(req);
sendBase("setSchemaTemplate", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_setSchemaTemplate() throws org.apache.thrift.TException
{
setSchemaTemplate_result result = new setSchemaTemplate_result();
receiveBase(result, "setSchemaTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "setSchemaTemplate failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus unsetSchemaTemplate(TSUnsetSchemaTemplateReq req) throws org.apache.thrift.TException
{
send_unsetSchemaTemplate(req);
return recv_unsetSchemaTemplate();
}
public void send_unsetSchemaTemplate(TSUnsetSchemaTemplateReq req) throws org.apache.thrift.TException
{
unsetSchemaTemplate_args args = new unsetSchemaTemplate_args();
args.setReq(req);
sendBase("unsetSchemaTemplate", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_unsetSchemaTemplate() throws org.apache.thrift.TException
{
unsetSchemaTemplate_result result = new unsetSchemaTemplate_result();
receiveBase(result, "unsetSchemaTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "unsetSchemaTemplate failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus dropSchemaTemplate(TSDropSchemaTemplateReq req) throws org.apache.thrift.TException
{
send_dropSchemaTemplate(req);
return recv_dropSchemaTemplate();
}
public void send_dropSchemaTemplate(TSDropSchemaTemplateReq req) throws org.apache.thrift.TException
{
dropSchemaTemplate_args args = new dropSchemaTemplate_args();
args.setReq(req);
sendBase("dropSchemaTemplate", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_dropSchemaTemplate() throws org.apache.thrift.TException
{
dropSchemaTemplate_result result = new dropSchemaTemplate_result();
receiveBase(result, "dropSchemaTemplate");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "dropSchemaTemplate failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus handshake(TSyncIdentityInfo info) throws org.apache.thrift.TException
{
send_handshake(info);
return recv_handshake();
}
public void send_handshake(TSyncIdentityInfo info) throws org.apache.thrift.TException
{
handshake_args args = new handshake_args();
args.setInfo(info);
sendBase("handshake", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_handshake() throws org.apache.thrift.TException
{
handshake_result result = new handshake_result();
receiveBase(result, "handshake");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "handshake failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus sendPipeData(java.nio.ByteBuffer buff) throws org.apache.thrift.TException
{
send_sendPipeData(buff);
return recv_sendPipeData();
}
public void send_sendPipeData(java.nio.ByteBuffer buff) throws org.apache.thrift.TException
{
sendPipeData_args args = new sendPipeData_args();
args.setBuff(buff);
sendBase("sendPipeData", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_sendPipeData() throws org.apache.thrift.TException
{
sendPipeData_result result = new sendPipeData_result();
receiveBase(result, "sendPipeData");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "sendPipeData failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus sendFile(TSyncTransportMetaInfo metaInfo, java.nio.ByteBuffer buff) throws org.apache.thrift.TException
{
send_sendFile(metaInfo, buff);
return recv_sendFile();
}
public void send_sendFile(TSyncTransportMetaInfo metaInfo, java.nio.ByteBuffer buff) throws org.apache.thrift.TException
{
sendFile_args args = new sendFile_args();
args.setMetaInfo(metaInfo);
args.setBuff(buff);
sendBase("sendFile", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_sendFile() throws org.apache.thrift.TException
{
sendFile_result result = new sendFile_result();
receiveBase(result, "sendFile");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "sendFile failed: unknown result");
}
public TSBackupConfigurationResp getBackupConfiguration() throws org.apache.thrift.TException
{
send_getBackupConfiguration();
return recv_getBackupConfiguration();
}
public void send_getBackupConfiguration() throws org.apache.thrift.TException
{
getBackupConfiguration_args args = new getBackupConfiguration_args();
sendBase("getBackupConfiguration", args);
}
public TSBackupConfigurationResp recv_getBackupConfiguration() throws org.apache.thrift.TException
{
getBackupConfiguration_result result = new getBackupConfiguration_result();
receiveBase(result, "getBackupConfiguration");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBackupConfiguration failed: unknown result");
}
public TSConnectionInfoResp fetchAllConnectionsInfo() throws org.apache.thrift.TException
{
send_fetchAllConnectionsInfo();
return recv_fetchAllConnectionsInfo();
}
public void send_fetchAllConnectionsInfo() throws org.apache.thrift.TException
{
fetchAllConnectionsInfo_args args = new fetchAllConnectionsInfo_args();
sendBase("fetchAllConnectionsInfo", args);
}
public TSConnectionInfoResp recv_fetchAllConnectionsInfo() throws org.apache.thrift.TException
{
fetchAllConnectionsInfo_result result = new fetchAllConnectionsInfo_result();
receiveBase(result, "fetchAllConnectionsInfo");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "fetchAllConnectionsInfo failed: unknown result");
}
public WhiteListInfoResp getWhiteIpSet() throws org.apache.thrift.TException
{
send_getWhiteIpSet();
return recv_getWhiteIpSet();
}
public void send_getWhiteIpSet() throws org.apache.thrift.TException
{
getWhiteIpSet_args args = new getWhiteIpSet_args();
sendBase("getWhiteIpSet", args);
}
public WhiteListInfoResp recv_getWhiteIpSet() throws org.apache.thrift.TException
{
getWhiteIpSet_result result = new getWhiteIpSet_result();
receiveBase(result, "getWhiteIpSet");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getWhiteIpSet failed: unknown result");
}
public org.apache.iotdb.common.rpc.thrift.TSStatus updateWhiteList(java.util.Set ipSet) throws org.apache.thrift.TException
{
send_updateWhiteList(ipSet);
return recv_updateWhiteList();
}
public void send_updateWhiteList(java.util.Set ipSet) throws org.apache.thrift.TException
{
updateWhiteList_args args = new updateWhiteList_args();
args.setIpSet(ipSet);
sendBase("updateWhiteList", args);
}
public org.apache.iotdb.common.rpc.thrift.TSStatus recv_updateWhiteList() throws org.apache.thrift.TException
{
updateWhiteList_result result = new updateWhiteList_result();
receiveBase(result, "updateWhiteList");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateWhiteList failed: unknown result");
}
public LicenseInfoResp getLicenseInfo() throws org.apache.thrift.TException
{
send_getLicenseInfo();
return recv_getLicenseInfo();
}
public void send_getLicenseInfo() throws org.apache.thrift.TException
{
getLicenseInfo_args args = new getLicenseInfo_args();
sendBase("getLicenseInfo", args);
}
public LicenseInfoResp recv_getLicenseInfo() throws org.apache.thrift.TException
{
getLicenseInfo_result result = new getLicenseInfo_result();
receiveBase(result, "getLicenseInfo");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLicenseInfo 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 executeQueryStatementV2(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeQueryStatementV2_call method_call = new executeQueryStatementV2_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeQueryStatementV2_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSExecuteStatementReq req;
public executeQueryStatementV2_call(TSExecuteStatementReq 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("executeQueryStatementV2", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeQueryStatementV2_args args = new executeQueryStatementV2_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSExecuteStatementResp 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_executeQueryStatementV2();
}
}
public void executeUpdateStatementV2(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeUpdateStatementV2_call method_call = new executeUpdateStatementV2_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeUpdateStatementV2_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSExecuteStatementReq req;
public executeUpdateStatementV2_call(TSExecuteStatementReq 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("executeUpdateStatementV2", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeUpdateStatementV2_args args = new executeUpdateStatementV2_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSExecuteStatementResp 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_executeUpdateStatementV2();
}
}
public void executeStatementV2(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeStatementV2_call method_call = new executeStatementV2_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeStatementV2_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSExecuteStatementReq req;
public executeStatementV2_call(TSExecuteStatementReq 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("executeStatementV2", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeStatementV2_args args = new executeStatementV2_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSExecuteStatementResp 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_executeStatementV2();
}
}
public void executeRawDataQueryV2(TSRawDataQueryReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeRawDataQueryV2_call method_call = new executeRawDataQueryV2_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeRawDataQueryV2_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSRawDataQueryReq req;
public executeRawDataQueryV2_call(TSRawDataQueryReq 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("executeRawDataQueryV2", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeRawDataQueryV2_args args = new executeRawDataQueryV2_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSExecuteStatementResp 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_executeRawDataQueryV2();
}
}
public void executeLastDataQueryV2(TSLastDataQueryReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeLastDataQueryV2_call method_call = new executeLastDataQueryV2_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeLastDataQueryV2_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSLastDataQueryReq req;
public executeLastDataQueryV2_call(TSLastDataQueryReq 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("executeLastDataQueryV2", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeLastDataQueryV2_args args = new executeLastDataQueryV2_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSExecuteStatementResp 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_executeLastDataQueryV2();
}
}
public void fetchResultsV2(TSFetchResultsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
fetchResultsV2_call method_call = new fetchResultsV2_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class fetchResultsV2_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSFetchResultsReq req;
public fetchResultsV2_call(TSFetchResultsReq 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("fetchResultsV2", org.apache.thrift.protocol.TMessageType.CALL, 0));
fetchResultsV2_args args = new fetchResultsV2_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSFetchResultsResp 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_fetchResultsV2();
}
}
public void openSession(TSOpenSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
openSession_call method_call = new openSession_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class openSession_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSOpenSessionReq req;
public openSession_call(TSOpenSessionReq 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("openSession", org.apache.thrift.protocol.TMessageType.CALL, 0));
openSession_args args = new openSession_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSOpenSessionResp 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_openSession();
}
}
public void closeSession(TSCloseSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
closeSession_call method_call = new closeSession_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class closeSession_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSCloseSessionReq req;
public closeSession_call(TSCloseSessionReq 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("closeSession", org.apache.thrift.protocol.TMessageType.CALL, 0));
closeSession_args args = new closeSession_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_closeSession();
}
}
public void executeStatement(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeStatement_call method_call = new executeStatement_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeStatement_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSExecuteStatementReq req;
public executeStatement_call(TSExecuteStatementReq 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("executeStatement", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeStatement_args args = new executeStatement_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSExecuteStatementResp 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_executeStatement();
}
}
public void executeBatchStatement(TSExecuteBatchStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeBatchStatement_call method_call = new executeBatchStatement_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeBatchStatement_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSExecuteBatchStatementReq req;
public executeBatchStatement_call(TSExecuteBatchStatementReq 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("executeBatchStatement", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeBatchStatement_args args = new executeBatchStatement_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_executeBatchStatement();
}
}
public void executeQueryStatement(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeQueryStatement_call method_call = new executeQueryStatement_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeQueryStatement_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSExecuteStatementReq req;
public executeQueryStatement_call(TSExecuteStatementReq 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("executeQueryStatement", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeQueryStatement_args args = new executeQueryStatement_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSExecuteStatementResp 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_executeQueryStatement();
}
}
public void executeUpdateStatement(TSExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeUpdateStatement_call method_call = new executeUpdateStatement_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeUpdateStatement_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSExecuteStatementReq req;
public executeUpdateStatement_call(TSExecuteStatementReq 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("executeUpdateStatement", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeUpdateStatement_args args = new executeUpdateStatement_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSExecuteStatementResp 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_executeUpdateStatement();
}
}
public void fetchResults(TSFetchResultsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
fetchResults_call method_call = new fetchResults_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class fetchResults_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSFetchResultsReq req;
public fetchResults_call(TSFetchResultsReq 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("fetchResults", org.apache.thrift.protocol.TMessageType.CALL, 0));
fetchResults_args args = new fetchResults_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSFetchResultsResp 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_fetchResults();
}
}
public void fetchMetadata(TSFetchMetadataReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
fetchMetadata_call method_call = new fetchMetadata_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class fetchMetadata_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSFetchMetadataReq req;
public fetchMetadata_call(TSFetchMetadataReq 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("fetchMetadata", org.apache.thrift.protocol.TMessageType.CALL, 0));
fetchMetadata_args args = new fetchMetadata_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSFetchMetadataResp 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_fetchMetadata();
}
}
public void cancelOperation(TSCancelOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
cancelOperation_call method_call = new cancelOperation_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class cancelOperation_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSCancelOperationReq req;
public cancelOperation_call(TSCancelOperationReq 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("cancelOperation", org.apache.thrift.protocol.TMessageType.CALL, 0));
cancelOperation_args args = new cancelOperation_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_cancelOperation();
}
}
public void closeOperation(TSCloseOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
closeOperation_call method_call = new closeOperation_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class closeOperation_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSCloseOperationReq req;
public closeOperation_call(TSCloseOperationReq 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("closeOperation", org.apache.thrift.protocol.TMessageType.CALL, 0));
closeOperation_args args = new closeOperation_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_closeOperation();
}
}
public void getTimeZone(long sessionId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getTimeZone_call method_call = new getTimeZone_call(sessionId, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getTimeZone_call extends org.apache.thrift.async.TAsyncMethodCall {
private long sessionId;
public getTimeZone_call(long sessionId, 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.sessionId = sessionId;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTimeZone", org.apache.thrift.protocol.TMessageType.CALL, 0));
getTimeZone_args args = new getTimeZone_args();
args.setSessionId(sessionId);
args.write(prot);
prot.writeMessageEnd();
}
public TSGetTimeZoneResp 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_getTimeZone();
}
}
public void setTimeZone(TSSetTimeZoneReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
setTimeZone_call method_call = new setTimeZone_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class setTimeZone_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSSetTimeZoneReq req;
public setTimeZone_call(TSSetTimeZoneReq 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("setTimeZone", org.apache.thrift.protocol.TMessageType.CALL, 0));
setTimeZone_args args = new setTimeZone_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_setTimeZone();
}
}
public void getProperties(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getProperties_call method_call = new getProperties_call(resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getProperties_call extends org.apache.thrift.async.TAsyncMethodCall {
public getProperties_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("getProperties", org.apache.thrift.protocol.TMessageType.CALL, 0));
getProperties_args args = new getProperties_args();
args.write(prot);
prot.writeMessageEnd();
}
public ServerProperties 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_getProperties();
}
}
public void setStorageGroup(long sessionId, java.lang.String storageGroup, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
setStorageGroup_call method_call = new setStorageGroup_call(sessionId, storageGroup, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class setStorageGroup_call extends org.apache.thrift.async.TAsyncMethodCall {
private long sessionId;
private java.lang.String storageGroup;
public setStorageGroup_call(long sessionId, java.lang.String storageGroup, 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.sessionId = sessionId;
this.storageGroup = storageGroup;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("setStorageGroup", org.apache.thrift.protocol.TMessageType.CALL, 0));
setStorageGroup_args args = new setStorageGroup_args();
args.setSessionId(sessionId);
args.setStorageGroup(storageGroup);
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_setStorageGroup();
}
}
public void createTimeseries(TSCreateTimeseriesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createTimeseries_call method_call = new createTimeseries_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createTimeseries_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSCreateTimeseriesReq req;
public createTimeseries_call(TSCreateTimeseriesReq 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("createTimeseries", org.apache.thrift.protocol.TMessageType.CALL, 0));
createTimeseries_args args = new createTimeseries_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_createTimeseries();
}
}
public void createAlignedTimeseries(TSCreateAlignedTimeseriesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createAlignedTimeseries_call method_call = new createAlignedTimeseries_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createAlignedTimeseries_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSCreateAlignedTimeseriesReq req;
public createAlignedTimeseries_call(TSCreateAlignedTimeseriesReq 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("createAlignedTimeseries", org.apache.thrift.protocol.TMessageType.CALL, 0));
createAlignedTimeseries_args args = new createAlignedTimeseries_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_createAlignedTimeseries();
}
}
public void createMultiTimeseries(TSCreateMultiTimeseriesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createMultiTimeseries_call method_call = new createMultiTimeseries_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createMultiTimeseries_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSCreateMultiTimeseriesReq req;
public createMultiTimeseries_call(TSCreateMultiTimeseriesReq 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("createMultiTimeseries", org.apache.thrift.protocol.TMessageType.CALL, 0));
createMultiTimeseries_args args = new createMultiTimeseries_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_createMultiTimeseries();
}
}
public void deleteTimeseries(long sessionId, java.util.List path, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deleteTimeseries_call method_call = new deleteTimeseries_call(sessionId, path, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class deleteTimeseries_call extends org.apache.thrift.async.TAsyncMethodCall {
private long sessionId;
private java.util.List path;
public deleteTimeseries_call(long sessionId, java.util.List path, 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.sessionId = sessionId;
this.path = path;
}
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.setSessionId(sessionId);
args.setPath(path);
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 deleteStorageGroups(long sessionId, java.util.List storageGroup, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deleteStorageGroups_call method_call = new deleteStorageGroups_call(sessionId, storageGroup, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class deleteStorageGroups_call extends org.apache.thrift.async.TAsyncMethodCall {
private long sessionId;
private java.util.List storageGroup;
public deleteStorageGroups_call(long sessionId, java.util.List storageGroup, 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.sessionId = sessionId;
this.storageGroup = storageGroup;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteStorageGroups", org.apache.thrift.protocol.TMessageType.CALL, 0));
deleteStorageGroups_args args = new deleteStorageGroups_args();
args.setSessionId(sessionId);
args.setStorageGroup(storageGroup);
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_deleteStorageGroups();
}
}
public void insertRecord(TSInsertRecordReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
insertRecord_call method_call = new insertRecord_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class insertRecord_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertRecordReq req;
public insertRecord_call(TSInsertRecordReq 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("insertRecord", org.apache.thrift.protocol.TMessageType.CALL, 0));
insertRecord_args args = new insertRecord_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_insertRecord();
}
}
public void insertStringRecord(TSInsertStringRecordReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
insertStringRecord_call method_call = new insertStringRecord_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class insertStringRecord_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertStringRecordReq req;
public insertStringRecord_call(TSInsertStringRecordReq 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("insertStringRecord", org.apache.thrift.protocol.TMessageType.CALL, 0));
insertStringRecord_args args = new insertStringRecord_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_insertStringRecord();
}
}
public void insertTablet(TSInsertTabletReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
insertTablet_call method_call = new insertTablet_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class insertTablet_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertTabletReq req;
public insertTablet_call(TSInsertTabletReq 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("insertTablet", org.apache.thrift.protocol.TMessageType.CALL, 0));
insertTablet_args args = new insertTablet_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_insertTablet();
}
}
public void insertTablets(TSInsertTabletsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
insertTablets_call method_call = new insertTablets_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class insertTablets_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertTabletsReq req;
public insertTablets_call(TSInsertTabletsReq 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("insertTablets", org.apache.thrift.protocol.TMessageType.CALL, 0));
insertTablets_args args = new insertTablets_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_insertTablets();
}
}
public void insertRecords(TSInsertRecordsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
insertRecords_call method_call = new insertRecords_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class insertRecords_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertRecordsReq req;
public insertRecords_call(TSInsertRecordsReq 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("insertRecords", org.apache.thrift.protocol.TMessageType.CALL, 0));
insertRecords_args args = new insertRecords_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_insertRecords();
}
}
public void insertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
insertRecordsOfOneDevice_call method_call = new insertRecordsOfOneDevice_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class insertRecordsOfOneDevice_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertRecordsOfOneDeviceReq req;
public insertRecordsOfOneDevice_call(TSInsertRecordsOfOneDeviceReq 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("insertRecordsOfOneDevice", org.apache.thrift.protocol.TMessageType.CALL, 0));
insertRecordsOfOneDevice_args args = new insertRecordsOfOneDevice_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_insertRecordsOfOneDevice();
}
}
public void insertStringRecordsOfOneDevice(TSInsertStringRecordsOfOneDeviceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
insertStringRecordsOfOneDevice_call method_call = new insertStringRecordsOfOneDevice_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class insertStringRecordsOfOneDevice_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertStringRecordsOfOneDeviceReq req;
public insertStringRecordsOfOneDevice_call(TSInsertStringRecordsOfOneDeviceReq 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("insertStringRecordsOfOneDevice", org.apache.thrift.protocol.TMessageType.CALL, 0));
insertStringRecordsOfOneDevice_args args = new insertStringRecordsOfOneDevice_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_insertStringRecordsOfOneDevice();
}
}
public void insertStringRecords(TSInsertStringRecordsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
insertStringRecords_call method_call = new insertStringRecords_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class insertStringRecords_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertStringRecordsReq req;
public insertStringRecords_call(TSInsertStringRecordsReq 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("insertStringRecords", org.apache.thrift.protocol.TMessageType.CALL, 0));
insertStringRecords_args args = new insertStringRecords_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_insertStringRecords();
}
}
public void testInsertTablet(TSInsertTabletReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
testInsertTablet_call method_call = new testInsertTablet_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class testInsertTablet_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertTabletReq req;
public testInsertTablet_call(TSInsertTabletReq 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("testInsertTablet", org.apache.thrift.protocol.TMessageType.CALL, 0));
testInsertTablet_args args = new testInsertTablet_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_testInsertTablet();
}
}
public void testInsertTablets(TSInsertTabletsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
testInsertTablets_call method_call = new testInsertTablets_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class testInsertTablets_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertTabletsReq req;
public testInsertTablets_call(TSInsertTabletsReq 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("testInsertTablets", org.apache.thrift.protocol.TMessageType.CALL, 0));
testInsertTablets_args args = new testInsertTablets_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_testInsertTablets();
}
}
public void testInsertRecord(TSInsertRecordReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
testInsertRecord_call method_call = new testInsertRecord_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class testInsertRecord_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertRecordReq req;
public testInsertRecord_call(TSInsertRecordReq 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("testInsertRecord", org.apache.thrift.protocol.TMessageType.CALL, 0));
testInsertRecord_args args = new testInsertRecord_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_testInsertRecord();
}
}
public void testInsertStringRecord(TSInsertStringRecordReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
testInsertStringRecord_call method_call = new testInsertStringRecord_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class testInsertStringRecord_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertStringRecordReq req;
public testInsertStringRecord_call(TSInsertStringRecordReq 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("testInsertStringRecord", org.apache.thrift.protocol.TMessageType.CALL, 0));
testInsertStringRecord_args args = new testInsertStringRecord_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_testInsertStringRecord();
}
}
public void testInsertRecords(TSInsertRecordsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
testInsertRecords_call method_call = new testInsertRecords_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class testInsertRecords_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertRecordsReq req;
public testInsertRecords_call(TSInsertRecordsReq 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("testInsertRecords", org.apache.thrift.protocol.TMessageType.CALL, 0));
testInsertRecords_args args = new testInsertRecords_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_testInsertRecords();
}
}
public void testInsertRecordsOfOneDevice(TSInsertRecordsOfOneDeviceReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
testInsertRecordsOfOneDevice_call method_call = new testInsertRecordsOfOneDevice_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class testInsertRecordsOfOneDevice_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertRecordsOfOneDeviceReq req;
public testInsertRecordsOfOneDevice_call(TSInsertRecordsOfOneDeviceReq 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("testInsertRecordsOfOneDevice", org.apache.thrift.protocol.TMessageType.CALL, 0));
testInsertRecordsOfOneDevice_args args = new testInsertRecordsOfOneDevice_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_testInsertRecordsOfOneDevice();
}
}
public void testInsertStringRecords(TSInsertStringRecordsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
testInsertStringRecords_call method_call = new testInsertStringRecords_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class testInsertStringRecords_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSInsertStringRecordsReq req;
public testInsertStringRecords_call(TSInsertStringRecordsReq 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("testInsertStringRecords", org.apache.thrift.protocol.TMessageType.CALL, 0));
testInsertStringRecords_args args = new testInsertStringRecords_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_testInsertStringRecords();
}
}
public void deleteData(TSDeleteDataReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deleteData_call method_call = new deleteData_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class deleteData_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSDeleteDataReq req;
public deleteData_call(TSDeleteDataReq 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("deleteData", org.apache.thrift.protocol.TMessageType.CALL, 0));
deleteData_args args = new deleteData_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_deleteData();
}
}
public void executeRawDataQuery(TSRawDataQueryReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeRawDataQuery_call method_call = new executeRawDataQuery_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeRawDataQuery_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSRawDataQueryReq req;
public executeRawDataQuery_call(TSRawDataQueryReq 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("executeRawDataQuery", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeRawDataQuery_args args = new executeRawDataQuery_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSExecuteStatementResp 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_executeRawDataQuery();
}
}
public void executeLastDataQuery(TSLastDataQueryReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
executeLastDataQuery_call method_call = new executeLastDataQuery_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class executeLastDataQuery_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSLastDataQueryReq req;
public executeLastDataQuery_call(TSLastDataQueryReq 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("executeLastDataQuery", org.apache.thrift.protocol.TMessageType.CALL, 0));
executeLastDataQuery_args args = new executeLastDataQuery_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSExecuteStatementResp 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_executeLastDataQuery();
}
}
public void requestStatementId(long sessionId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
requestStatementId_call method_call = new requestStatementId_call(sessionId, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class requestStatementId_call extends org.apache.thrift.async.TAsyncMethodCall {
private long sessionId;
public requestStatementId_call(long sessionId, 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.sessionId = sessionId;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("requestStatementId", org.apache.thrift.protocol.TMessageType.CALL, 0));
requestStatementId_args args = new requestStatementId_args();
args.setSessionId(sessionId);
args.write(prot);
prot.writeMessageEnd();
}
public java.lang.Long 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_requestStatementId();
}
}
public void createSchemaTemplate(TSCreateSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createSchemaTemplate_call method_call = new createSchemaTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createSchemaTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSCreateSchemaTemplateReq req;
public createSchemaTemplate_call(TSCreateSchemaTemplateReq 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("createSchemaTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
createSchemaTemplate_args args = new createSchemaTemplate_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_createSchemaTemplate();
}
}
public void appendSchemaTemplate(TSAppendSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
appendSchemaTemplate_call method_call = new appendSchemaTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class appendSchemaTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSAppendSchemaTemplateReq req;
public appendSchemaTemplate_call(TSAppendSchemaTemplateReq 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("appendSchemaTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
appendSchemaTemplate_args args = new appendSchemaTemplate_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_appendSchemaTemplate();
}
}
public void pruneSchemaTemplate(TSPruneSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
pruneSchemaTemplate_call method_call = new pruneSchemaTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class pruneSchemaTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSPruneSchemaTemplateReq req;
public pruneSchemaTemplate_call(TSPruneSchemaTemplateReq 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("pruneSchemaTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
pruneSchemaTemplate_args args = new pruneSchemaTemplate_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_pruneSchemaTemplate();
}
}
public void querySchemaTemplate(TSQueryTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
querySchemaTemplate_call method_call = new querySchemaTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class querySchemaTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSQueryTemplateReq req;
public querySchemaTemplate_call(TSQueryTemplateReq 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("querySchemaTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
querySchemaTemplate_args args = new querySchemaTemplate_args();
args.setReq(req);
args.write(prot);
prot.writeMessageEnd();
}
public TSQueryTemplateResp 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_querySchemaTemplate();
}
}
public void setSchemaTemplate(TSSetSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
setSchemaTemplate_call method_call = new setSchemaTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class setSchemaTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSSetSchemaTemplateReq req;
public setSchemaTemplate_call(TSSetSchemaTemplateReq 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("setSchemaTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
setSchemaTemplate_args args = new setSchemaTemplate_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_setSchemaTemplate();
}
}
public void unsetSchemaTemplate(TSUnsetSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
unsetSchemaTemplate_call method_call = new unsetSchemaTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class unsetSchemaTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSUnsetSchemaTemplateReq req;
public unsetSchemaTemplate_call(TSUnsetSchemaTemplateReq 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("unsetSchemaTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
unsetSchemaTemplate_args args = new unsetSchemaTemplate_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_unsetSchemaTemplate();
}
}
public void dropSchemaTemplate(TSDropSchemaTemplateReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
dropSchemaTemplate_call method_call = new dropSchemaTemplate_call(req, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class dropSchemaTemplate_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSDropSchemaTemplateReq req;
public dropSchemaTemplate_call(TSDropSchemaTemplateReq 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("dropSchemaTemplate", org.apache.thrift.protocol.TMessageType.CALL, 0));
dropSchemaTemplate_args args = new dropSchemaTemplate_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_dropSchemaTemplate();
}
}
public void handshake(TSyncIdentityInfo info, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
handshake_call method_call = new handshake_call(info, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class handshake_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSyncIdentityInfo info;
public handshake_call(TSyncIdentityInfo info, 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.info = info;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("handshake", org.apache.thrift.protocol.TMessageType.CALL, 0));
handshake_args args = new handshake_args();
args.setInfo(info);
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_handshake();
}
}
public void sendPipeData(java.nio.ByteBuffer buff, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
sendPipeData_call method_call = new sendPipeData_call(buff, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class sendPipeData_call extends org.apache.thrift.async.TAsyncMethodCall {
private java.nio.ByteBuffer buff;
public sendPipeData_call(java.nio.ByteBuffer buff, 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.buff = buff;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("sendPipeData", org.apache.thrift.protocol.TMessageType.CALL, 0));
sendPipeData_args args = new sendPipeData_args();
args.setBuff(buff);
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_sendPipeData();
}
}
public void sendFile(TSyncTransportMetaInfo metaInfo, java.nio.ByteBuffer buff, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
sendFile_call method_call = new sendFile_call(metaInfo, buff, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class sendFile_call extends org.apache.thrift.async.TAsyncMethodCall {
private TSyncTransportMetaInfo metaInfo;
private java.nio.ByteBuffer buff;
public sendFile_call(TSyncTransportMetaInfo metaInfo, java.nio.ByteBuffer buff, 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.metaInfo = metaInfo;
this.buff = buff;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("sendFile", org.apache.thrift.protocol.TMessageType.CALL, 0));
sendFile_args args = new sendFile_args();
args.setMetaInfo(metaInfo);
args.setBuff(buff);
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_sendFile();
}
}
public void getBackupConfiguration(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getBackupConfiguration_call method_call = new getBackupConfiguration_call(resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getBackupConfiguration_call extends org.apache.thrift.async.TAsyncMethodCall {
public getBackupConfiguration_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("getBackupConfiguration", org.apache.thrift.protocol.TMessageType.CALL, 0));
getBackupConfiguration_args args = new getBackupConfiguration_args();
args.write(prot);
prot.writeMessageEnd();
}
public TSBackupConfigurationResp 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_getBackupConfiguration();
}
}
public void fetchAllConnectionsInfo(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
fetchAllConnectionsInfo_call method_call = new fetchAllConnectionsInfo_call(resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class fetchAllConnectionsInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
public fetchAllConnectionsInfo_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("fetchAllConnectionsInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
fetchAllConnectionsInfo_args args = new fetchAllConnectionsInfo_args();
args.write(prot);
prot.writeMessageEnd();
}
public TSConnectionInfoResp 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_fetchAllConnectionsInfo();
}
}
public void getWhiteIpSet(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getWhiteIpSet_call method_call = new getWhiteIpSet_call(resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getWhiteIpSet_call extends org.apache.thrift.async.TAsyncMethodCall {
public getWhiteIpSet_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("getWhiteIpSet", org.apache.thrift.protocol.TMessageType.CALL, 0));
getWhiteIpSet_args args = new getWhiteIpSet_args();
args.write(prot);
prot.writeMessageEnd();
}
public WhiteListInfoResp 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_getWhiteIpSet();
}
}
public void updateWhiteList(java.util.Set ipSet, org.apache.thrift.async.AsyncMethodCallback