You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2023/11/02 11:39:00 UTC

(iotdb) 02/02: delete useless

This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch CacheImprove
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 3b3971346fda666ec21cd0f45020a76a976c70f8
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Thu Nov 2 19:38:45 2023 +0800

    delete useless
---
 iotdb-core/mlnode/iotdb/thrift/__init__.py         |     0
 iotdb-core/mlnode/iotdb/thrift/common/__init__.py  |     1 -
 iotdb-core/mlnode/iotdb/thrift/common/constants.py |    14 -
 iotdb-core/mlnode/iotdb/thrift/common/ttypes.py    |  1961 --
 .../thrift/confignode/IConfigNodeRPCService-remote |   866 -
 .../thrift/confignode/IConfigNodeRPCService.py     | 20325 -------------------
 .../mlnode/iotdb/thrift/confignode/__init__.py     |     1 -
 .../mlnode/iotdb/thrift/confignode/constants.py    |    14 -
 .../mlnode/iotdb/thrift/confignode/ttypes.py       | 11912 -----------
 .../thrift/datanode/IDataNodeRPCService-remote     |   572 -
 .../iotdb/thrift/datanode/IDataNodeRPCService.py   | 12547 ------------
 .../datanode/IMLNodeInternalRPCService-remote      |   138 -
 .../thrift/datanode/IMLNodeInternalRPCService.py   |   819 -
 .../thrift/datanode/MPPDataExchangeService-remote  |   145 -
 .../thrift/datanode/MPPDataExchangeService.py      |   905 -
 .../mlnode/iotdb/thrift/datanode/__init__.py       |     1 -
 .../mlnode/iotdb/thrift/datanode/constants.py      |    14 -
 iotdb-core/mlnode/iotdb/thrift/datanode/ttypes.py  |  7796 -------
 .../iotdb/thrift/mlnode/IMLNodeRPCService-remote   |   131 -
 .../iotdb/thrift/mlnode/IMLNodeRPCService.py       |   617 -
 iotdb-core/mlnode/iotdb/thrift/mlnode/__init__.py  |     1 -
 iotdb-core/mlnode/iotdb/thrift/mlnode/constants.py |    14 -
 iotdb-core/mlnode/iotdb/thrift/mlnode/ttypes.py    |   436 -
 23 files changed, 59230 deletions(-)

diff --git a/iotdb-core/mlnode/iotdb/thrift/__init__.py b/iotdb-core/mlnode/iotdb/thrift/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/iotdb-core/mlnode/iotdb/thrift/common/__init__.py b/iotdb-core/mlnode/iotdb/thrift/common/__init__.py
deleted file mode 100644
index adefd8e51fc..00000000000
--- a/iotdb-core/mlnode/iotdb/thrift/common/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-__all__ = ['ttypes', 'constants']
diff --git a/iotdb-core/mlnode/iotdb/thrift/common/constants.py b/iotdb-core/mlnode/iotdb/thrift/common/constants.py
deleted file mode 100644
index 69c181ade38..00000000000
--- a/iotdb-core/mlnode/iotdb/thrift/common/constants.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# Autogenerated by Thrift Compiler (0.14.1)
-#
-# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
-#
-#  options string: py
-#
-
-from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
-from thrift.protocol.TProtocol import TProtocolException
-from thrift.TRecursive import fix_spec
-
-import sys
-from .ttypes import *
diff --git a/iotdb-core/mlnode/iotdb/thrift/common/ttypes.py b/iotdb-core/mlnode/iotdb/thrift/common/ttypes.py
deleted file mode 100644
index 3a48323d2cc..00000000000
--- a/iotdb-core/mlnode/iotdb/thrift/common/ttypes.py
+++ /dev/null
@@ -1,1961 +0,0 @@
-#
-# Autogenerated by Thrift Compiler (0.14.1)
-#
-# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
-#
-#  options string: py
-#
-
-from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
-from thrift.protocol.TProtocol import TProtocolException
-from thrift.TRecursive import fix_spec
-
-import sys
-
-from thrift.transport import TTransport
-all_structs = []
-
-
-class TConsensusGroupType(object):
-    ConfigRegion = 0
-    DataRegion = 1
-    SchemaRegion = 2
-
-    _VALUES_TO_NAMES = {
-        0: "ConfigRegion",
-        1: "DataRegion",
-        2: "SchemaRegion",
-    }
-
-    _NAMES_TO_VALUES = {
-        "ConfigRegion": 0,
-        "DataRegion": 1,
-        "SchemaRegion": 2,
-    }
-
-
-class TRegionMigrateFailedType(object):
-    AddPeerFailed = 0
-    RemovePeerFailed = 1
-    RemoveConsensusGroupFailed = 2
-    DeleteRegionFailed = 3
-    CreateRegionFailed = 4
-
-    _VALUES_TO_NAMES = {
-        0: "AddPeerFailed",
-        1: "RemovePeerFailed",
-        2: "RemoveConsensusGroupFailed",
-        3: "DeleteRegionFailed",
-        4: "CreateRegionFailed",
-    }
-
-    _NAMES_TO_VALUES = {
-        "AddPeerFailed": 0,
-        "RemovePeerFailed": 1,
-        "RemoveConsensusGroupFailed": 2,
-        "DeleteRegionFailed": 3,
-        "CreateRegionFailed": 4,
-    }
-
-
-class ThrottleType(object):
-    REQUEST_NUMBER = 0
-    REQUEST_SIZE = 1
-    WRITE_NUMBER = 2
-    WRITE_SIZE = 3
-    READ_NUMBER = 4
-    READ_SIZE = 5
-
-    _VALUES_TO_NAMES = {
-        0: "REQUEST_NUMBER",
-        1: "REQUEST_SIZE",
-        2: "WRITE_NUMBER",
-        3: "WRITE_SIZE",
-        4: "READ_NUMBER",
-        5: "READ_SIZE",
-    }
-
-    _NAMES_TO_VALUES = {
-        "REQUEST_NUMBER": 0,
-        "REQUEST_SIZE": 1,
-        "WRITE_NUMBER": 2,
-        "WRITE_SIZE": 3,
-        "READ_NUMBER": 4,
-        "READ_SIZE": 5,
-    }
-
-
-class TAggregationType(object):
-    COUNT = 0
-    AVG = 1
-    SUM = 2
-    FIRST_VALUE = 3
-    LAST_VALUE = 4
-    MAX_TIME = 5
-    MIN_TIME = 6
-    MAX_VALUE = 7
-    MIN_VALUE = 8
-    EXTREME = 9
-    COUNT_IF = 10
-    TIME_DURATION = 11
-    MODE = 12
-    COUNT_TIME = 13
-
-    _VALUES_TO_NAMES = {
-        0: "COUNT",
-        1: "AVG",
-        2: "SUM",
-        3: "FIRST_VALUE",
-        4: "LAST_VALUE",
-        5: "MAX_TIME",
-        6: "MIN_TIME",
-        7: "MAX_VALUE",
-        8: "MIN_VALUE",
-        9: "EXTREME",
-        10: "COUNT_IF",
-        11: "TIME_DURATION",
-        12: "MODE",
-        13: "COUNT_TIME",
-    }
-
-    _NAMES_TO_VALUES = {
-        "COUNT": 0,
-        "AVG": 1,
-        "SUM": 2,
-        "FIRST_VALUE": 3,
-        "LAST_VALUE": 4,
-        "MAX_TIME": 5,
-        "MIN_TIME": 6,
-        "MAX_VALUE": 7,
-        "MIN_VALUE": 8,
-        "EXTREME": 9,
-        "COUNT_IF": 10,
-        "TIME_DURATION": 11,
-        "MODE": 12,
-        "COUNT_TIME": 13,
-    }
-
-
-class TrainingState(object):
-    PENDING = 0
-    RUNNING = 1
-    FINISHED = 2
-    FAILED = 3
-    DROPPING = 4
-
-    _VALUES_TO_NAMES = {
-        0: "PENDING",
-        1: "RUNNING",
-        2: "FINISHED",
-        3: "FAILED",
-        4: "DROPPING",
-    }
-
-    _NAMES_TO_VALUES = {
-        "PENDING": 0,
-        "RUNNING": 1,
-        "FINISHED": 2,
-        "FAILED": 3,
-        "DROPPING": 4,
-    }
-
-
-class TaskType(object):
-    FORECAST = 0
-    ANOMALY_DETECTION = 1
-
-    _VALUES_TO_NAMES = {
-        0: "FORECAST",
-        1: "ANOMALY_DETECTION",
-    }
-
-    _NAMES_TO_VALUES = {
-        "FORECAST": 0,
-        "ANOMALY_DETECTION": 1,
-    }
-
-
-class TEndPoint(object):
-    """
-    Attributes:
-     - ip
-     - port
-
-    """
-
-
-    def __init__(self, ip=None, port=None,):
-        self.ip = ip
-        self.port = port
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.STRING:
-                    self.ip = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.I32:
-                    self.port = iprot.readI32()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TEndPoint')
-        if self.ip is not None:
-            oprot.writeFieldBegin('ip', TType.STRING, 1)
-            oprot.writeString(self.ip.encode('utf-8') if sys.version_info[0] == 2 else self.ip)
-            oprot.writeFieldEnd()
-        if self.port is not None:
-            oprot.writeFieldBegin('port', TType.I32, 2)
-            oprot.writeI32(self.port)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.ip is None:
-            raise TProtocolException(message='Required field ip is unset!')
-        if self.port is None:
-            raise TProtocolException(message='Required field port is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TSStatus(object):
-    """
-    Attributes:
-     - code
-     - message
-     - subStatus
-     - redirectNode
-
-    """
-
-
-    def __init__(self, code=None, message=None, subStatus=None, redirectNode=None,):
-        self.code = code
-        self.message = message
-        self.subStatus = subStatus
-        self.redirectNode = redirectNode
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.I32:
-                    self.code = iprot.readI32()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.STRING:
-                    self.message = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 3:
-                if ftype == TType.LIST:
-                    self.subStatus = []
-                    (_etype3, _size0) = iprot.readListBegin()
-                    for _i4 in range(_size0):
-                        _elem5 = TSStatus()
-                        _elem5.read(iprot)
-                        self.subStatus.append(_elem5)
-                    iprot.readListEnd()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 4:
-                if ftype == TType.STRUCT:
-                    self.redirectNode = TEndPoint()
-                    self.redirectNode.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TSStatus')
-        if self.code is not None:
-            oprot.writeFieldBegin('code', TType.I32, 1)
-            oprot.writeI32(self.code)
-            oprot.writeFieldEnd()
-        if self.message is not None:
-            oprot.writeFieldBegin('message', TType.STRING, 2)
-            oprot.writeString(self.message.encode('utf-8') if sys.version_info[0] == 2 else self.message)
-            oprot.writeFieldEnd()
-        if self.subStatus is not None:
-            oprot.writeFieldBegin('subStatus', TType.LIST, 3)
-            oprot.writeListBegin(TType.STRUCT, len(self.subStatus))
-            for iter6 in self.subStatus:
-                iter6.write(oprot)
-            oprot.writeListEnd()
-            oprot.writeFieldEnd()
-        if self.redirectNode is not None:
-            oprot.writeFieldBegin('redirectNode', TType.STRUCT, 4)
-            self.redirectNode.write(oprot)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.code is None:
-            raise TProtocolException(message='Required field code is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TConsensusGroupId(object):
-    """
-    Attributes:
-     - type
-     - id
-
-    """
-
-
-    def __init__(self, type=None, id=None,):
-        self.type = type
-        self.id = id
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.I32:
-                    self.type = iprot.readI32()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.I32:
-                    self.id = iprot.readI32()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TConsensusGroupId')
-        if self.type is not None:
-            oprot.writeFieldBegin('type', TType.I32, 1)
-            oprot.writeI32(self.type)
-            oprot.writeFieldEnd()
-        if self.id is not None:
-            oprot.writeFieldBegin('id', TType.I32, 2)
-            oprot.writeI32(self.id)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.type is None:
-            raise TProtocolException(message='Required field type is unset!')
-        if self.id is None:
-            raise TProtocolException(message='Required field id is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TSeriesPartitionSlot(object):
-    """
-    Attributes:
-     - slotId
-
-    """
-
-
-    def __init__(self, slotId=None,):
-        self.slotId = slotId
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.I32:
-                    self.slotId = iprot.readI32()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TSeriesPartitionSlot')
-        if self.slotId is not None:
-            oprot.writeFieldBegin('slotId', TType.I32, 1)
-            oprot.writeI32(self.slotId)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.slotId is None:
-            raise TProtocolException(message='Required field slotId is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TTimePartitionSlot(object):
-    """
-    Attributes:
-     - startTime
-
-    """
-
-
-    def __init__(self, startTime=None,):
-        self.startTime = startTime
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.I64:
-                    self.startTime = iprot.readI64()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TTimePartitionSlot')
-        if self.startTime is not None:
-            oprot.writeFieldBegin('startTime', TType.I64, 1)
-            oprot.writeI64(self.startTime)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.startTime is None:
-            raise TProtocolException(message='Required field startTime is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TRegionReplicaSet(object):
-    """
-    Attributes:
-     - regionId
-     - dataNodeLocations
-
-    """
-
-
-    def __init__(self, regionId=None, dataNodeLocations=None,):
-        self.regionId = regionId
-        self.dataNodeLocations = dataNodeLocations
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.STRUCT:
-                    self.regionId = TConsensusGroupId()
-                    self.regionId.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.LIST:
-                    self.dataNodeLocations = []
-                    (_etype10, _size7) = iprot.readListBegin()
-                    for _i11 in range(_size7):
-                        _elem12 = TDataNodeLocation()
-                        _elem12.read(iprot)
-                        self.dataNodeLocations.append(_elem12)
-                    iprot.readListEnd()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TRegionReplicaSet')
-        if self.regionId is not None:
-            oprot.writeFieldBegin('regionId', TType.STRUCT, 1)
-            self.regionId.write(oprot)
-            oprot.writeFieldEnd()
-        if self.dataNodeLocations is not None:
-            oprot.writeFieldBegin('dataNodeLocations', TType.LIST, 2)
-            oprot.writeListBegin(TType.STRUCT, len(self.dataNodeLocations))
-            for iter13 in self.dataNodeLocations:
-                iter13.write(oprot)
-            oprot.writeListEnd()
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.regionId is None:
-            raise TProtocolException(message='Required field regionId is unset!')
-        if self.dataNodeLocations is None:
-            raise TProtocolException(message='Required field dataNodeLocations is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TNodeResource(object):
-    """
-    Attributes:
-     - cpuCoreNum
-     - maxMemory
-
-    """
-
-
-    def __init__(self, cpuCoreNum=None, maxMemory=None,):
-        self.cpuCoreNum = cpuCoreNum
-        self.maxMemory = maxMemory
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.I32:
-                    self.cpuCoreNum = iprot.readI32()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.I64:
-                    self.maxMemory = iprot.readI64()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TNodeResource')
-        if self.cpuCoreNum is not None:
-            oprot.writeFieldBegin('cpuCoreNum', TType.I32, 1)
-            oprot.writeI32(self.cpuCoreNum)
-            oprot.writeFieldEnd()
-        if self.maxMemory is not None:
-            oprot.writeFieldBegin('maxMemory', TType.I64, 2)
-            oprot.writeI64(self.maxMemory)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.cpuCoreNum is None:
-            raise TProtocolException(message='Required field cpuCoreNum is unset!')
-        if self.maxMemory is None:
-            raise TProtocolException(message='Required field maxMemory is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TConfigNodeLocation(object):
-    """
-    Attributes:
-     - configNodeId
-     - internalEndPoint
-     - consensusEndPoint
-
-    """
-
-
-    def __init__(self, configNodeId=None, internalEndPoint=None, consensusEndPoint=None,):
-        self.configNodeId = configNodeId
-        self.internalEndPoint = internalEndPoint
-        self.consensusEndPoint = consensusEndPoint
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.I32:
-                    self.configNodeId = iprot.readI32()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.STRUCT:
-                    self.internalEndPoint = TEndPoint()
-                    self.internalEndPoint.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            elif fid == 3:
-                if ftype == TType.STRUCT:
-                    self.consensusEndPoint = TEndPoint()
-                    self.consensusEndPoint.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TConfigNodeLocation')
-        if self.configNodeId is not None:
-            oprot.writeFieldBegin('configNodeId', TType.I32, 1)
-            oprot.writeI32(self.configNodeId)
-            oprot.writeFieldEnd()
-        if self.internalEndPoint is not None:
-            oprot.writeFieldBegin('internalEndPoint', TType.STRUCT, 2)
-            self.internalEndPoint.write(oprot)
-            oprot.writeFieldEnd()
-        if self.consensusEndPoint is not None:
-            oprot.writeFieldBegin('consensusEndPoint', TType.STRUCT, 3)
-            self.consensusEndPoint.write(oprot)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.configNodeId is None:
-            raise TProtocolException(message='Required field configNodeId is unset!')
-        if self.internalEndPoint is None:
-            raise TProtocolException(message='Required field internalEndPoint is unset!')
-        if self.consensusEndPoint is None:
-            raise TProtocolException(message='Required field consensusEndPoint is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TDataNodeLocation(object):
-    """
-    Attributes:
-     - dataNodeId
-     - clientRpcEndPoint
-     - internalEndPoint
-     - mPPDataExchangeEndPoint
-     - dataRegionConsensusEndPoint
-     - schemaRegionConsensusEndPoint
-
-    """
-
-
-    def __init__(self, dataNodeId=None, clientRpcEndPoint=None, internalEndPoint=None, mPPDataExchangeEndPoint=None, dataRegionConsensusEndPoint=None, schemaRegionConsensusEndPoint=None,):
-        self.dataNodeId = dataNodeId
-        self.clientRpcEndPoint = clientRpcEndPoint
-        self.internalEndPoint = internalEndPoint
-        self.mPPDataExchangeEndPoint = mPPDataExchangeEndPoint
-        self.dataRegionConsensusEndPoint = dataRegionConsensusEndPoint
-        self.schemaRegionConsensusEndPoint = schemaRegionConsensusEndPoint
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.I32:
-                    self.dataNodeId = iprot.readI32()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.STRUCT:
-                    self.clientRpcEndPoint = TEndPoint()
-                    self.clientRpcEndPoint.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            elif fid == 3:
-                if ftype == TType.STRUCT:
-                    self.internalEndPoint = TEndPoint()
-                    self.internalEndPoint.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            elif fid == 4:
-                if ftype == TType.STRUCT:
-                    self.mPPDataExchangeEndPoint = TEndPoint()
-                    self.mPPDataExchangeEndPoint.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            elif fid == 5:
-                if ftype == TType.STRUCT:
-                    self.dataRegionConsensusEndPoint = TEndPoint()
-                    self.dataRegionConsensusEndPoint.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            elif fid == 6:
-                if ftype == TType.STRUCT:
-                    self.schemaRegionConsensusEndPoint = TEndPoint()
-                    self.schemaRegionConsensusEndPoint.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TDataNodeLocation')
-        if self.dataNodeId is not None:
-            oprot.writeFieldBegin('dataNodeId', TType.I32, 1)
-            oprot.writeI32(self.dataNodeId)
-            oprot.writeFieldEnd()
-        if self.clientRpcEndPoint is not None:
-            oprot.writeFieldBegin('clientRpcEndPoint', TType.STRUCT, 2)
-            self.clientRpcEndPoint.write(oprot)
-            oprot.writeFieldEnd()
-        if self.internalEndPoint is not None:
-            oprot.writeFieldBegin('internalEndPoint', TType.STRUCT, 3)
-            self.internalEndPoint.write(oprot)
-            oprot.writeFieldEnd()
-        if self.mPPDataExchangeEndPoint is not None:
-            oprot.writeFieldBegin('mPPDataExchangeEndPoint', TType.STRUCT, 4)
-            self.mPPDataExchangeEndPoint.write(oprot)
-            oprot.writeFieldEnd()
-        if self.dataRegionConsensusEndPoint is not None:
-            oprot.writeFieldBegin('dataRegionConsensusEndPoint', TType.STRUCT, 5)
-            self.dataRegionConsensusEndPoint.write(oprot)
-            oprot.writeFieldEnd()
-        if self.schemaRegionConsensusEndPoint is not None:
-            oprot.writeFieldBegin('schemaRegionConsensusEndPoint', TType.STRUCT, 6)
-            self.schemaRegionConsensusEndPoint.write(oprot)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.dataNodeId is None:
-            raise TProtocolException(message='Required field dataNodeId is unset!')
-        if self.clientRpcEndPoint is None:
-            raise TProtocolException(message='Required field clientRpcEndPoint is unset!')
-        if self.internalEndPoint is None:
-            raise TProtocolException(message='Required field internalEndPoint is unset!')
-        if self.mPPDataExchangeEndPoint is None:
-            raise TProtocolException(message='Required field mPPDataExchangeEndPoint is unset!')
-        if self.dataRegionConsensusEndPoint is None:
-            raise TProtocolException(message='Required field dataRegionConsensusEndPoint is unset!')
-        if self.schemaRegionConsensusEndPoint is None:
-            raise TProtocolException(message='Required field schemaRegionConsensusEndPoint is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TDataNodeConfiguration(object):
-    """
-    Attributes:
-     - location
-     - resource
-
-    """
-
-
-    def __init__(self, location=None, resource=None,):
-        self.location = location
-        self.resource = resource
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.STRUCT:
-                    self.location = TDataNodeLocation()
-                    self.location.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.STRUCT:
-                    self.resource = TNodeResource()
-                    self.resource.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TDataNodeConfiguration')
-        if self.location is not None:
-            oprot.writeFieldBegin('location', TType.STRUCT, 1)
-            self.location.write(oprot)
-            oprot.writeFieldEnd()
-        if self.resource is not None:
-            oprot.writeFieldBegin('resource', TType.STRUCT, 2)
-            self.resource.write(oprot)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.location is None:
-            raise TProtocolException(message='Required field location is unset!')
-        if self.resource is None:
-            raise TProtocolException(message='Required field resource is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TFlushReq(object):
-    """
-    Attributes:
-     - isSeq
-     - storageGroups
-
-    """
-
-
-    def __init__(self, isSeq=None, storageGroups=None,):
-        self.isSeq = isSeq
-        self.storageGroups = storageGroups
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.STRING:
-                    self.isSeq = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.LIST:
-                    self.storageGroups = []
-                    (_etype17, _size14) = iprot.readListBegin()
-                    for _i18 in range(_size14):
-                        _elem19 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
-                        self.storageGroups.append(_elem19)
-                    iprot.readListEnd()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TFlushReq')
-        if self.isSeq is not None:
-            oprot.writeFieldBegin('isSeq', TType.STRING, 1)
-            oprot.writeString(self.isSeq.encode('utf-8') if sys.version_info[0] == 2 else self.isSeq)
-            oprot.writeFieldEnd()
-        if self.storageGroups is not None:
-            oprot.writeFieldBegin('storageGroups', TType.LIST, 2)
-            oprot.writeListBegin(TType.STRING, len(self.storageGroups))
-            for iter20 in self.storageGroups:
-                oprot.writeString(iter20.encode('utf-8') if sys.version_info[0] == 2 else iter20)
-            oprot.writeListEnd()
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TSettleReq(object):
-    """
-    Attributes:
-     - paths
-
-    """
-
-
-    def __init__(self, paths=None,):
-        self.paths = paths
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.LIST:
-                    self.paths = []
-                    (_etype24, _size21) = iprot.readListBegin()
-                    for _i25 in range(_size21):
-                        _elem26 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
-                        self.paths.append(_elem26)
-                    iprot.readListEnd()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TSettleReq')
-        if self.paths is not None:
-            oprot.writeFieldBegin('paths', TType.LIST, 1)
-            oprot.writeListBegin(TType.STRING, len(self.paths))
-            for iter27 in self.paths:
-                oprot.writeString(iter27.encode('utf-8') if sys.version_info[0] == 2 else iter27)
-            oprot.writeListEnd()
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.paths is None:
-            raise TProtocolException(message='Required field paths is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TSchemaNode(object):
-    """
-    Attributes:
-     - nodeName
-     - nodeType
-
-    """
-
-
-    def __init__(self, nodeName=None, nodeType=None,):
-        self.nodeName = nodeName
-        self.nodeType = nodeType
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.STRING:
-                    self.nodeName = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.BYTE:
-                    self.nodeType = iprot.readByte()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TSchemaNode')
-        if self.nodeName is not None:
-            oprot.writeFieldBegin('nodeName', TType.STRING, 1)
-            oprot.writeString(self.nodeName.encode('utf-8') if sys.version_info[0] == 2 else self.nodeName)
-            oprot.writeFieldEnd()
-        if self.nodeType is not None:
-            oprot.writeFieldBegin('nodeType', TType.BYTE, 2)
-            oprot.writeByte(self.nodeType)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.nodeName is None:
-            raise TProtocolException(message='Required field nodeName is unset!')
-        if self.nodeType is None:
-            raise TProtocolException(message='Required field nodeType is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TSetTTLReq(object):
-    """
-    Attributes:
-     - storageGroupPathPattern
-     - TTL
-
-    """
-
-
-    def __init__(self, storageGroupPathPattern=None, TTL=None,):
-        self.storageGroupPathPattern = storageGroupPathPattern
-        self.TTL = TTL
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.LIST:
-                    self.storageGroupPathPattern = []
-                    (_etype31, _size28) = iprot.readListBegin()
-                    for _i32 in range(_size28):
-                        _elem33 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
-                        self.storageGroupPathPattern.append(_elem33)
-                    iprot.readListEnd()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.I64:
-                    self.TTL = iprot.readI64()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TSetTTLReq')
-        if self.storageGroupPathPattern is not None:
-            oprot.writeFieldBegin('storageGroupPathPattern', TType.LIST, 1)
-            oprot.writeListBegin(TType.STRING, len(self.storageGroupPathPattern))
-            for iter34 in self.storageGroupPathPattern:
-                oprot.writeString(iter34.encode('utf-8') if sys.version_info[0] == 2 else iter34)
-            oprot.writeListEnd()
-            oprot.writeFieldEnd()
-        if self.TTL is not None:
-            oprot.writeFieldBegin('TTL', TType.I64, 2)
-            oprot.writeI64(self.TTL)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.storageGroupPathPattern is None:
-            raise TProtocolException(message='Required field storageGroupPathPattern is unset!')
-        if self.TTL is None:
-            raise TProtocolException(message='Required field TTL is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TFile(object):
-    """
-    Attributes:
-     - fileName
-     - file
-
-    """
-
-
-    def __init__(self, fileName=None, file=None,):
-        self.fileName = fileName
-        self.file = file
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.STRING:
-                    self.fileName = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.STRING:
-                    self.file = iprot.readBinary()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TFile')
-        if self.fileName is not None:
-            oprot.writeFieldBegin('fileName', TType.STRING, 1)
-            oprot.writeString(self.fileName.encode('utf-8') if sys.version_info[0] == 2 else self.fileName)
-            oprot.writeFieldEnd()
-        if self.file is not None:
-            oprot.writeFieldBegin('file', TType.STRING, 2)
-            oprot.writeBinary(self.file)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.fileName is None:
-            raise TProtocolException(message='Required field fileName is unset!')
-        if self.file is None:
-            raise TProtocolException(message='Required field file is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TFilesResp(object):
-    """
-    Attributes:
-     - status
-     - files
-
-    """
-
-
-    def __init__(self, status=None, files=None,):
-        self.status = status
-        self.files = files
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.STRUCT:
-                    self.status = TSStatus()
-                    self.status.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.LIST:
-                    self.files = []
-                    (_etype38, _size35) = iprot.readListBegin()
-                    for _i39 in range(_size35):
-                        _elem40 = TFile()
-                        _elem40.read(iprot)
-                        self.files.append(_elem40)
-                    iprot.readListEnd()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TFilesResp')
-        if self.status is not None:
-            oprot.writeFieldBegin('status', TType.STRUCT, 1)
-            self.status.write(oprot)
-            oprot.writeFieldEnd()
-        if self.files is not None:
-            oprot.writeFieldBegin('files', TType.LIST, 2)
-            oprot.writeListBegin(TType.STRUCT, len(self.files))
-            for iter41 in self.files:
-                iter41.write(oprot)
-            oprot.writeListEnd()
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.status is None:
-            raise TProtocolException(message='Required field status is unset!')
-        if self.files is None:
-            raise TProtocolException(message='Required field files is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TSpaceQuota(object):
-    """
-    Attributes:
-     - diskSize
-     - deviceNum
-     - timeserieNum
-
-    """
-
-
-    def __init__(self, diskSize=None, deviceNum=None, timeserieNum=None,):
-        self.diskSize = diskSize
-        self.deviceNum = deviceNum
-        self.timeserieNum = timeserieNum
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.I64:
-                    self.diskSize = iprot.readI64()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.I64:
-                    self.deviceNum = iprot.readI64()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 3:
-                if ftype == TType.I64:
-                    self.timeserieNum = iprot.readI64()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TSpaceQuota')
-        if self.diskSize is not None:
-            oprot.writeFieldBegin('diskSize', TType.I64, 1)
-            oprot.writeI64(self.diskSize)
-            oprot.writeFieldEnd()
-        if self.deviceNum is not None:
-            oprot.writeFieldBegin('deviceNum', TType.I64, 2)
-            oprot.writeI64(self.deviceNum)
-            oprot.writeFieldEnd()
-        if self.timeserieNum is not None:
-            oprot.writeFieldBegin('timeserieNum', TType.I64, 3)
-            oprot.writeI64(self.timeserieNum)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TTimedQuota(object):
-    """
-    Attributes:
-     - timeUnit
-     - softLimit
-
-    """
-
-
-    def __init__(self, timeUnit=None, softLimit=None,):
-        self.timeUnit = timeUnit
-        self.softLimit = softLimit
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.I64:
-                    self.timeUnit = iprot.readI64()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.I64:
-                    self.softLimit = iprot.readI64()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TTimedQuota')
-        if self.timeUnit is not None:
-            oprot.writeFieldBegin('timeUnit', TType.I64, 1)
-            oprot.writeI64(self.timeUnit)
-            oprot.writeFieldEnd()
-        if self.softLimit is not None:
-            oprot.writeFieldBegin('softLimit', TType.I64, 2)
-            oprot.writeI64(self.softLimit)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.timeUnit is None:
-            raise TProtocolException(message='Required field timeUnit is unset!')
-        if self.softLimit is None:
-            raise TProtocolException(message='Required field softLimit is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TThrottleQuota(object):
-    """
-    Attributes:
-     - throttleLimit
-     - memLimit
-     - cpuLimit
-
-    """
-
-
-    def __init__(self, throttleLimit=None, memLimit=None, cpuLimit=None,):
-        self.throttleLimit = throttleLimit
-        self.memLimit = memLimit
-        self.cpuLimit = cpuLimit
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.MAP:
-                    self.throttleLimit = {}
-                    (_ktype43, _vtype44, _size42) = iprot.readMapBegin()
-                    for _i46 in range(_size42):
-                        _key47 = iprot.readI32()
-                        _val48 = TTimedQuota()
-                        _val48.read(iprot)
-                        self.throttleLimit[_key47] = _val48
-                    iprot.readMapEnd()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.I64:
-                    self.memLimit = iprot.readI64()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 3:
-                if ftype == TType.I32:
-                    self.cpuLimit = iprot.readI32()
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TThrottleQuota')
-        if self.throttleLimit is not None:
-            oprot.writeFieldBegin('throttleLimit', TType.MAP, 1)
-            oprot.writeMapBegin(TType.I32, TType.STRUCT, len(self.throttleLimit))
-            for kiter49, viter50 in self.throttleLimit.items():
-                oprot.writeI32(kiter49)
-                viter50.write(oprot)
-            oprot.writeMapEnd()
-            oprot.writeFieldEnd()
-        if self.memLimit is not None:
-            oprot.writeFieldBegin('memLimit', TType.I64, 2)
-            oprot.writeI64(self.memLimit)
-            oprot.writeFieldEnd()
-        if self.cpuLimit is not None:
-            oprot.writeFieldBegin('cpuLimit', TType.I32, 3)
-            oprot.writeI32(self.cpuLimit)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TSetSpaceQuotaReq(object):
-    """
-    Attributes:
-     - database
-     - spaceLimit
-
-    """
-
-
-    def __init__(self, database=None, spaceLimit=None,):
-        self.database = database
-        self.spaceLimit = spaceLimit
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.LIST:
-                    self.database = []
-                    (_etype54, _size51) = iprot.readListBegin()
-                    for _i55 in range(_size51):
-                        _elem56 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
-                        self.database.append(_elem56)
-                    iprot.readListEnd()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.STRUCT:
-                    self.spaceLimit = TSpaceQuota()
-                    self.spaceLimit.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TSetSpaceQuotaReq')
-        if self.database is not None:
-            oprot.writeFieldBegin('database', TType.LIST, 1)
-            oprot.writeListBegin(TType.STRING, len(self.database))
-            for iter57 in self.database:
-                oprot.writeString(iter57.encode('utf-8') if sys.version_info[0] == 2 else iter57)
-            oprot.writeListEnd()
-            oprot.writeFieldEnd()
-        if self.spaceLimit is not None:
-            oprot.writeFieldBegin('spaceLimit', TType.STRUCT, 2)
-            self.spaceLimit.write(oprot)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.database is None:
-            raise TProtocolException(message='Required field database is unset!')
-        if self.spaceLimit is None:
-            raise TProtocolException(message='Required field spaceLimit is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-
-
-class TSetThrottleQuotaReq(object):
-    """
-    Attributes:
-     - userName
-     - throttleQuota
-
-    """
-
-
-    def __init__(self, userName=None, throttleQuota=None,):
-        self.userName = userName
-        self.throttleQuota = throttleQuota
-
-    def read(self, iprot):
-        if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
-            iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
-            return
-        iprot.readStructBegin()
-        while True:
-            (fname, ftype, fid) = iprot.readFieldBegin()
-            if ftype == TType.STOP:
-                break
-            if fid == 1:
-                if ftype == TType.STRING:
-                    self.userName = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
-                else:
-                    iprot.skip(ftype)
-            elif fid == 2:
-                if ftype == TType.STRUCT:
-                    self.throttleQuota = TThrottleQuota()
-                    self.throttleQuota.read(iprot)
-                else:
-                    iprot.skip(ftype)
-            else:
-                iprot.skip(ftype)
-            iprot.readFieldEnd()
-        iprot.readStructEnd()
-
-    def write(self, oprot):
-        if oprot._fast_encode is not None and self.thrift_spec is not None:
-            oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
-            return
-        oprot.writeStructBegin('TSetThrottleQuotaReq')
-        if self.userName is not None:
-            oprot.writeFieldBegin('userName', TType.STRING, 1)
-            oprot.writeString(self.userName.encode('utf-8') if sys.version_info[0] == 2 else self.userName)
-            oprot.writeFieldEnd()
-        if self.throttleQuota is not None:
-            oprot.writeFieldBegin('throttleQuota', TType.STRUCT, 2)
-            self.throttleQuota.write(oprot)
-            oprot.writeFieldEnd()
-        oprot.writeFieldStop()
-        oprot.writeStructEnd()
-
-    def validate(self):
-        if self.userName is None:
-            raise TProtocolException(message='Required field userName is unset!')
-        if self.throttleQuota is None:
-            raise TProtocolException(message='Required field throttleQuota is unset!')
-        return
-
-    def __repr__(self):
-        L = ['%s=%r' % (key, value)
-             for key, value in self.__dict__.items()]
-        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
-    def __eq__(self, other):
-        return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
-    def __ne__(self, other):
-        return not (self == other)
-all_structs.append(TEndPoint)
-TEndPoint.thrift_spec = (
-    None,  # 0
-    (1, TType.STRING, 'ip', 'UTF8', None, ),  # 1
-    (2, TType.I32, 'port', None, None, ),  # 2
-)
-all_structs.append(TSStatus)
-TSStatus.thrift_spec = (
-    None,  # 0
-    (1, TType.I32, 'code', None, None, ),  # 1
-    (2, TType.STRING, 'message', 'UTF8', None, ),  # 2
-    (3, TType.LIST, 'subStatus', (TType.STRUCT, [TSStatus, None], False), None, ),  # 3
-    (4, TType.STRUCT, 'redirectNode', [TEndPoint, None], None, ),  # 4
-)
-all_structs.append(TConsensusGroupId)
-TConsensusGroupId.thrift_spec = (
-    None,  # 0
-    (1, TType.I32, 'type', None, None, ),  # 1
-    (2, TType.I32, 'id', None, None, ),  # 2
-)
-all_structs.append(TSeriesPartitionSlot)
-TSeriesPartitionSlot.thrift_spec = (
-    None,  # 0
-    (1, TType.I32, 'slotId', None, None, ),  # 1
-)
-all_structs.append(TTimePartitionSlot)
-TTimePartitionSlot.thrift_spec = (
-    None,  # 0
-    (1, TType.I64, 'startTime', None, None, ),  # 1
-)
-all_structs.append(TRegionReplicaSet)
-TRegionReplicaSet.thrift_spec = (
-    None,  # 0
-    (1, TType.STRUCT, 'regionId', [TConsensusGroupId, None], None, ),  # 1
-    (2, TType.LIST, 'dataNodeLocations', (TType.STRUCT, [TDataNodeLocation, None], False), None, ),  # 2
-)
-all_structs.append(TNodeResource)
-TNodeResource.thrift_spec = (
-    None,  # 0
-    (1, TType.I32, 'cpuCoreNum', None, None, ),  # 1
-    (2, TType.I64, 'maxMemory', None, None, ),  # 2
-)
-all_structs.append(TConfigNodeLocation)
-TConfigNodeLocation.thrift_spec = (
-    None,  # 0
-    (1, TType.I32, 'configNodeId', None, None, ),  # 1
-    (2, TType.STRUCT, 'internalEndPoint', [TEndPoint, None], None, ),  # 2
-    (3, TType.STRUCT, 'consensusEndPoint', [TEndPoint, None], None, ),  # 3
-)
-all_structs.append(TDataNodeLocation)
-TDataNodeLocation.thrift_spec = (
-    None,  # 0
-    (1, TType.I32, 'dataNodeId', None, None, ),  # 1
-    (2, TType.STRUCT, 'clientRpcEndPoint', [TEndPoint, None], None, ),  # 2
-    (3, TType.STRUCT, 'internalEndPoint', [TEndPoint, None], None, ),  # 3
-    (4, TType.STRUCT, 'mPPDataExchangeEndPoint', [TEndPoint, None], None, ),  # 4
-    (5, TType.STRUCT, 'dataRegionConsensusEndPoint', [TEndPoint, None], None, ),  # 5
-    (6, TType.STRUCT, 'schemaRegionConsensusEndPoint', [TEndPoint, None], None, ),  # 6
-)
-all_structs.append(TDataNodeConfiguration)
-TDataNodeConfiguration.thrift_spec = (
-    None,  # 0
-    (1, TType.STRUCT, 'location', [TDataNodeLocation, None], None, ),  # 1
-    (2, TType.STRUCT, 'resource', [TNodeResource, None], None, ),  # 2
-)
-all_structs.append(TFlushReq)
-TFlushReq.thrift_spec = (
-    None,  # 0
-    (1, TType.STRING, 'isSeq', 'UTF8', None, ),  # 1
-    (2, TType.LIST, 'storageGroups', (TType.STRING, 'UTF8', False), None, ),  # 2
-)
-all_structs.append(TSettleReq)
-TSettleReq.thrift_spec = (
-    None,  # 0
-    (1, TType.LIST, 'paths', (TType.STRING, 'UTF8', False), None, ),  # 1
-)
-all_structs.append(TSchemaNode)
-TSchemaNode.thrift_spec = (
-    None,  # 0
-    (1, TType.STRING, 'nodeName', 'UTF8', None, ),  # 1
-    (2, TType.BYTE, 'nodeType', None, None, ),  # 2
-)
-all_structs.append(TSetTTLReq)
-TSetTTLReq.thrift_spec = (
-    None,  # 0
-    (1, TType.LIST, 'storageGroupPathPattern', (TType.STRING, 'UTF8', False), None, ),  # 1
-    (2, TType.I64, 'TTL', None, None, ),  # 2
-)
-all_structs.append(TFile)
-TFile.thrift_spec = (
-    None,  # 0
-    (1, TType.STRING, 'fileName', 'UTF8', None, ),  # 1
-    (2, TType.STRING, 'file', 'BINARY', None, ),  # 2
-)
-all_structs.append(TFilesResp)
-TFilesResp.thrift_spec = (
-    None,  # 0
-    (1, TType.STRUCT, 'status', [TSStatus, None], None, ),  # 1
-    (2, TType.LIST, 'files', (TType.STRUCT, [TFile, None], False), None, ),  # 2
-)
-all_structs.append(TSpaceQuota)
-TSpaceQuota.thrift_spec = (
-    None,  # 0
-    (1, TType.I64, 'diskSize', None, None, ),  # 1
-    (2, TType.I64, 'deviceNum', None, None, ),  # 2
-    (3, TType.I64, 'timeserieNum', None, None, ),  # 3
-)
-all_structs.append(TTimedQuota)
-TTimedQuota.thrift_spec = (
-    None,  # 0
-    (1, TType.I64, 'timeUnit', None, None, ),  # 1
-    (2, TType.I64, 'softLimit', None, None, ),  # 2
-)
-all_structs.append(TThrottleQuota)
-TThrottleQuota.thrift_spec = (
-    None,  # 0
-    (1, TType.MAP, 'throttleLimit', (TType.I32, None, TType.STRUCT, [TTimedQuota, None], False), None, ),  # 1
-    (2, TType.I64, 'memLimit', None, None, ),  # 2
-    (3, TType.I32, 'cpuLimit', None, None, ),  # 3
-)
-all_structs.append(TSetSpaceQuotaReq)
-TSetSpaceQuotaReq.thrift_spec = (
-    None,  # 0
-    (1, TType.LIST, 'database', (TType.STRING, 'UTF8', False), None, ),  # 1
-    (2, TType.STRUCT, 'spaceLimit', [TSpaceQuota, None], None, ),  # 2
-)
-all_structs.append(TSetThrottleQuotaReq)
-TSetThrottleQuotaReq.thrift_spec = (
-    None,  # 0
-    (1, TType.STRING, 'userName', 'UTF8', None, ),  # 1
-    (2, TType.STRUCT, 'throttleQuota', [TThrottleQuota, None], None, ),  # 2
-)
-fix_spec(all_structs)
-del all_structs
diff --git a/iotdb-core/mlnode/iotdb/thrift/confignode/IConfigNodeRPCService-remote b/iotdb-core/mlnode/iotdb/thrift/confignode/IConfigNodeRPCService-remote
deleted file mode 100644
index cbea83259ad..00000000000
--- a/iotdb-core/mlnode/iotdb/thrift/confignode/IConfigNodeRPCService-remote
+++ /dev/null
@@ -1,866 +0,0 @@
-#!/usr/bin/env python
-#
-# Autogenerated by Thrift Compiler (0.14.1)
-#
-# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
-#
-#  options string: py
-#
-
-import sys
-import pprint
-if sys.version_info[0] > 2:
-    from urllib.parse import urlparse
-else:
-    from urlparse import urlparse
-from thrift.transport import TTransport, TSocket, TSSLSocket, THttpClient
-from thrift.protocol.TBinaryProtocol import TBinaryProtocol
-
-from iotdb.thrift.confignode import IConfigNodeRPCService
-from iotdb.thrift.confignode.ttypes import *
-
-if len(sys.argv) <= 1 or sys.argv[1] == '--help':
-    print('')
-    print('Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] [-s[sl]] [-novalidate] [-ca_certs certs] [-keyfile keyfile] [-certfile certfile] function [arg1 [arg2...]]')
-    print('')
-    print('Functions:')
-    print('  TDataNodeRegisterResp registerDataNode(TDataNodeRegisterReq req)')
-    print('  TDataNodeRestartResp restartDataNode(TDataNodeRestartReq req)')
-    print('  TSystemConfigurationResp getSystemConfiguration()')
-    print('  TDataNodeRemoveResp removeDataNode(TDataNodeRemoveReq req)')
-    print('  TSStatus reportDataNodeShutdown(TDataNodeLocation dataNodeLocation)')
-    print('  TDataNodeConfigurationResp getDataNodeConfiguration(i32 dataNodeId)')
-    print('  TSStatus reportRegionMigrateResult(TRegionMigrateResultReportReq req)')
-    print('  TSStatus setDatabase(TDatabaseSchema databaseSchema)')
-    print('  TSStatus alterDatabase(TDatabaseSchema databaseSchema)')
-    print('  TSStatus deleteDatabase(TDeleteDatabaseReq req)')
-    print('  TSStatus deleteDatabases(TDeleteDatabasesReq req)')
-    print('  TSStatus setTTL(TSetTTLReq req)')
-    print('  TSStatus setSchemaReplicationFactor(TSetSchemaReplicationFactorReq req)')
-    print('  TSStatus setDataReplicationFactor(TSetDataReplicationFactorReq req)')
-    print('  TSStatus setTimePartitionInterval(TSetTimePartitionIntervalReq req)')
-    print('  TCountDatabaseResp countMatchedDatabases(TGetDatabaseReq req)')
-    print('  TDatabaseSchemaResp getMatchedDatabaseSchemas(TGetDatabaseReq req)')
-    print('  TSchemaPartitionTableResp getSchemaPartitionTable(TSchemaPartitionReq req)')
-    print('  TSchemaPartitionTableResp getOrCreateSchemaPartitionTable(TSchemaPartitionReq req)')
-    print('  TSchemaNodeManagementResp getSchemaNodeManagementPartition(TSchemaNodeManagementReq req)')
-    print('  TDataPartitionTableResp getDataPartitionTable(TDataPartitionReq req)')
-    print('  TDataPartitionTableResp getOrCreateDataPartitionTable(TDataPartitionReq req)')
-    print('  TSStatus operatePermission(TAuthorizerReq req)')
-    print('  TAuthorizerResp queryPermission(TAuthorizerReq req)')
-    print('  TPermissionInfoResp login(TLoginReq req)')
-    print('  TPermissionInfoResp checkUserPrivileges(TCheckUserPrivilegesReq req)')
-    print('  TAuthizedPatternTreeResp fetchAuthizedPatternTree(TCheckUserPrivilegesReq req)')
-    print('  TPermissionInfoResp checkUserPrivilegeGrantOpt(TCheckUserPrivilegesReq req)')
-    print('  TPermissionInfoResp checkRoleOfUser(TAuthorizerReq req)')
-    print('  TConfigNodeRegisterResp registerConfigNode(TConfigNodeRegisterReq req)')
-    print('  TSStatus addConsensusGroup(TAddConsensusGroupReq req)')
-    print('  TSStatus notifyRegisterSuccess()')
-    print('  TSStatus removeConfigNode(TConfigNodeLocation configNodeLocation)')
-    print('  TSStatus deleteConfigNodePeer(TConfigNodeLocation configNodeLocation)')
-    print('  TSStatus reportConfigNodeShutdown(TConfigNodeLocation configNodeLocation)')
-    print('  TSStatus stopConfigNode(TConfigNodeLocation configNodeLocation)')
-    print('  i64 getConfigNodeHeartBeat(i64 timestamp)')
-    print('  TSStatus createFunction(TCreateFunctionReq req)')
-    print('  TSStatus dropFunction(TDropFunctionReq req)')
-    print('  TGetUDFTableResp getUDFTable()')
-    print('  TGetJarInListResp getUDFJar(TGetJarInListReq req)')
-    print('  TSStatus createTrigger(TCreateTriggerReq req)')
-    print('  TSStatus dropTrigger(TDropTriggerReq req)')
-    print('  TGetLocationForTriggerResp getLocationOfStatefulTrigger(string triggerName)')
-    print('  TGetTriggerTableResp getTriggerTable()')
-    print('  TGetTriggerTableResp getStatefulTriggerTable()')
-    print('  TGetJarInListResp getTriggerJar(TGetJarInListReq req)')
-    print('  TSStatus createPipePlugin(TCreatePipePluginReq req)')
-    print('  TSStatus dropPipePlugin(TDropPipePluginReq req)')
-    print('  TGetPipePluginTableResp getPipePluginTable()')
-    print('  TGetJarInListResp getPipePluginJar(TGetJarInListReq req)')
-    print('  TSStatus merge()')
-    print('  TSStatus flush(TFlushReq req)')
-    print('  TSStatus clearCache()')
-    print('  TSStatus loadConfiguration()')
-    print('  TSStatus setSystemStatus(string status)')
-    print('  TSStatus setDataNodeStatus(TSetDataNodeStatusReq req)')
-    print('  TSStatus migrateRegion(TMigrateRegionReq req)')
-    print('  TSStatus killQuery(string queryId, i32 dataNodeId)')
-    print('  TGetDataNodeLocationsResp getRunningDataNodeLocations()')
-    print('  TShowClusterResp showCluster()')
-    print('  TShowVariablesResp showVariables()')
-    print('  TShowDataNodesResp showDataNodes()')
-    print('  TShowConfigNodesResp showConfigNodes()')
-    print('  TShowDatabaseResp showDatabase(TGetDatabaseReq req)')
-    print('  TShowRegionResp showRegion(TShowRegionReq req)')
-    print('  TRegionRouteMapResp getLatestRegionRouteMap()')
-    print('  TSStatus createSchemaTemplate(TCreateSchemaTemplateReq req)')
-    print('  TGetAllTemplatesResp getAllTemplates()')
-    print('  TGetTemplateResp getTemplate(string req)')
-    print('  TSStatus setSchemaTemplate(TSetSchemaTemplateReq req)')
-    print('  TGetPathsSetTemplatesResp getPathsSetTemplate(TGetPathsSetTemplatesReq req)')
-    print('  TSStatus deactivateSchemaTemplate(TDeactivateSchemaTemplateReq req)')
-    print('  TSStatus unsetSchemaTemplate(TUnsetSchemaTemplateReq req)')
-    print('  TSStatus dropSchemaTemplate(string req)')
-    print('  TSStatus alterSchemaTemplate(TAlterSchemaTemplateReq req)')
-    print('  TSStatus deleteTimeSeries(TDeleteTimeSeriesReq req)')
-    print('  TSStatus deleteLogicalView(TDeleteLogicalViewReq req)')
-    print('  TSStatus alterLogicalView(TAlterLogicalViewReq req)')
-    print('  TSStatus createPipeSink(TPipeSinkInfo req)')
-    print('  TSStatus dropPipeSink(TDropPipeSinkReq req)')
-    print('  TGetPipeSinkResp getPipeSink(TGetPipeSinkReq req)')
-    print('  TSStatus createPipe(TCreatePipeReq req)')
-    print('  TSStatus startPipe(string pipeName)')
-    print('  TSStatus stopPipe(string pipeName)')
-    print('  TSStatus dropPipe(string pipeName)')
-    print('  TShowPipeResp showPipe(TShowPipeReq req)')
-    print('  TGetAllPipeInfoResp getAllPipeInfo()')
-    print('  TGetRegionIdResp getRegionId(TGetRegionIdReq req)')
-    print('  TGetTimeSlotListResp getTimeSlotList(TGetTimeSlotListReq req)')
-    print('  TCountTimeSlotListResp countTimeSlotList(TCountTimeSlotListReq req)')
-    print('  TGetSeriesSlotListResp getSeriesSlotList(TGetSeriesSlotListReq req)')
-    print('  TSStatus createCQ(TCreateCQReq req)')
-    print('  TSStatus dropCQ(TDropCQReq req)')
-    print('  TShowCQResp showCQ()')
-    print('  TSStatus createModel(TCreateModelReq req)')
-    print('  TSStatus dropModel(TDropModelReq req)')
-    print('  TShowModelResp showModel(TShowModelReq req)')
-    print('  TShowTrialResp showTrial(TShowTrialReq req)')
-    print('  TSStatus updateModelInfo(TUpdateModelInfoReq req)')
-    print('  TSStatus updateModelState(TUpdateModelStateReq req)')
-    print('  TGetModelInfoResp getModelInfo(TGetModelInfoReq req)')
-    print('  TSStatus setSpaceQuota(TSetSpaceQuotaReq req)')
-    print('  TSpaceQuotaResp showSpaceQuota( databases)')
-    print('  TSpaceQuotaResp getSpaceQuota()')
-    print('  TSStatus setThrottleQuota(TSetThrottleQuotaReq req)')
-    print('  TThrottleQuotaResp showThrottleQuota(TShowThrottleReq req)')
-    print('  TThrottleQuotaResp getThrottleQuota()')
-    print('')
-    sys.exit(0)
-
-pp = pprint.PrettyPrinter(indent=2)
-host = 'localhost'
-port = 9090
-uri = ''
-framed = False
-ssl = False
-validate = True
-ca_certs = None
-keyfile = None
-certfile = None
-http = False
-argi = 1
-
-if sys.argv[argi] == '-h':
-    parts = sys.argv[argi + 1].split(':')
-    host = parts[0]
-    if len(parts) > 1:
-        port = int(parts[1])
-    argi += 2
-
-if sys.argv[argi] == '-u':
-    url = urlparse(sys.argv[argi + 1])
-    parts = url[1].split(':')
-    host = parts[0]
-    if len(parts) > 1:
-        port = int(parts[1])
-    else:
-        port = 80
-    uri = url[2]
-    if url[4]:
-        uri += '?%s' % url[4]
-    http = True
-    argi += 2
-
-if sys.argv[argi] == '-f' or sys.argv[argi] == '-framed':
-    framed = True
-    argi += 1
-
-if sys.argv[argi] == '-s' or sys.argv[argi] == '-ssl':
-    ssl = True
-    argi += 1
-
-if sys.argv[argi] == '-novalidate':
-    validate = False
-    argi += 1
-
-if sys.argv[argi] == '-ca_certs':
-    ca_certs = sys.argv[argi+1]
-    argi += 2
-
-if sys.argv[argi] == '-keyfile':
-    keyfile = sys.argv[argi+1]
-    argi += 2
-
-if sys.argv[argi] == '-certfile':
-    certfile = sys.argv[argi+1]
-    argi += 2
-
-cmd = sys.argv[argi]
-args = sys.argv[argi + 1:]
-
-if http:
-    transport = THttpClient.THttpClient(host, port, uri)
-else:
-    if ssl:
-        socket = TSSLSocket.TSSLSocket(host, port, validate=validate, ca_certs=ca_certs, keyfile=keyfile, certfile=certfile)
-    else:
-        socket = TSocket.TSocket(host, port)
-    if framed:
-        transport = TTransport.TFramedTransport(socket)
-    else:
-        transport = TTransport.TBufferedTransport(socket)
-protocol = TBinaryProtocol(transport)
-client = IConfigNodeRPCService.Client(protocol)
-transport.open()
-
-if cmd == 'registerDataNode':
-    if len(args) != 1:
-        print('registerDataNode requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.registerDataNode(eval(args[0]),))
-
-elif cmd == 'restartDataNode':
-    if len(args) != 1:
-        print('restartDataNode requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.restartDataNode(eval(args[0]),))
-
-elif cmd == 'getSystemConfiguration':
-    if len(args) != 0:
-        print('getSystemConfiguration requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.getSystemConfiguration())
-
-elif cmd == 'removeDataNode':
-    if len(args) != 1:
-        print('removeDataNode requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.removeDataNode(eval(args[0]),))
-
-elif cmd == 'reportDataNodeShutdown':
-    if len(args) != 1:
-        print('reportDataNodeShutdown requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.reportDataNodeShutdown(eval(args[0]),))
-
-elif cmd == 'getDataNodeConfiguration':
-    if len(args) != 1:
-        print('getDataNodeConfiguration requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getDataNodeConfiguration(eval(args[0]),))
-
-elif cmd == 'reportRegionMigrateResult':
-    if len(args) != 1:
-        print('reportRegionMigrateResult requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.reportRegionMigrateResult(eval(args[0]),))
-
-elif cmd == 'setDatabase':
-    if len(args) != 1:
-        print('setDatabase requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.setDatabase(eval(args[0]),))
-
-elif cmd == 'alterDatabase':
-    if len(args) != 1:
-        print('alterDatabase requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.alterDatabase(eval(args[0]),))
-
-elif cmd == 'deleteDatabase':
-    if len(args) != 1:
-        print('deleteDatabase requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.deleteDatabase(eval(args[0]),))
-
-elif cmd == 'deleteDatabases':
-    if len(args) != 1:
-        print('deleteDatabases requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.deleteDatabases(eval(args[0]),))
-
-elif cmd == 'setTTL':
-    if len(args) != 1:
-        print('setTTL requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.setTTL(eval(args[0]),))
-
-elif cmd == 'setSchemaReplicationFactor':
-    if len(args) != 1:
-        print('setSchemaReplicationFactor requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.setSchemaReplicationFactor(eval(args[0]),))
-
-elif cmd == 'setDataReplicationFactor':
-    if len(args) != 1:
-        print('setDataReplicationFactor requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.setDataReplicationFactor(eval(args[0]),))
-
-elif cmd == 'setTimePartitionInterval':
-    if len(args) != 1:
-        print('setTimePartitionInterval requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.setTimePartitionInterval(eval(args[0]),))
-
-elif cmd == 'countMatchedDatabases':
-    if len(args) != 1:
-        print('countMatchedDatabases requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.countMatchedDatabases(eval(args[0]),))
-
-elif cmd == 'getMatchedDatabaseSchemas':
-    if len(args) != 1:
-        print('getMatchedDatabaseSchemas requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getMatchedDatabaseSchemas(eval(args[0]),))
-
-elif cmd == 'getSchemaPartitionTable':
-    if len(args) != 1:
-        print('getSchemaPartitionTable requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getSchemaPartitionTable(eval(args[0]),))
-
-elif cmd == 'getOrCreateSchemaPartitionTable':
-    if len(args) != 1:
-        print('getOrCreateSchemaPartitionTable requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getOrCreateSchemaPartitionTable(eval(args[0]),))
-
-elif cmd == 'getSchemaNodeManagementPartition':
-    if len(args) != 1:
-        print('getSchemaNodeManagementPartition requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getSchemaNodeManagementPartition(eval(args[0]),))
-
-elif cmd == 'getDataPartitionTable':
-    if len(args) != 1:
-        print('getDataPartitionTable requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getDataPartitionTable(eval(args[0]),))
-
-elif cmd == 'getOrCreateDataPartitionTable':
-    if len(args) != 1:
-        print('getOrCreateDataPartitionTable requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getOrCreateDataPartitionTable(eval(args[0]),))
-
-elif cmd == 'operatePermission':
-    if len(args) != 1:
-        print('operatePermission requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.operatePermission(eval(args[0]),))
-
-elif cmd == 'queryPermission':
-    if len(args) != 1:
-        print('queryPermission requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.queryPermission(eval(args[0]),))
-
-elif cmd == 'login':
-    if len(args) != 1:
-        print('login requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.login(eval(args[0]),))
-
-elif cmd == 'checkUserPrivileges':
-    if len(args) != 1:
-        print('checkUserPrivileges requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.checkUserPrivileges(eval(args[0]),))
-
-elif cmd == 'fetchAuthizedPatternTree':
-    if len(args) != 1:
-        print('fetchAuthizedPatternTree requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.fetchAuthizedPatternTree(eval(args[0]),))
-
-elif cmd == 'checkUserPrivilegeGrantOpt':
-    if len(args) != 1:
-        print('checkUserPrivilegeGrantOpt requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.checkUserPrivilegeGrantOpt(eval(args[0]),))
-
-elif cmd == 'checkRoleOfUser':
-    if len(args) != 1:
-        print('checkRoleOfUser requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.checkRoleOfUser(eval(args[0]),))
-
-elif cmd == 'registerConfigNode':
-    if len(args) != 1:
-        print('registerConfigNode requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.registerConfigNode(eval(args[0]),))
-
-elif cmd == 'addConsensusGroup':
-    if len(args) != 1:
-        print('addConsensusGroup requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.addConsensusGroup(eval(args[0]),))
-
-elif cmd == 'notifyRegisterSuccess':
-    if len(args) != 0:
-        print('notifyRegisterSuccess requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.notifyRegisterSuccess())
-
-elif cmd == 'removeConfigNode':
-    if len(args) != 1:
-        print('removeConfigNode requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.removeConfigNode(eval(args[0]),))
-
-elif cmd == 'deleteConfigNodePeer':
-    if len(args) != 1:
-        print('deleteConfigNodePeer requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.deleteConfigNodePeer(eval(args[0]),))
-
-elif cmd == 'reportConfigNodeShutdown':
-    if len(args) != 1:
-        print('reportConfigNodeShutdown requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.reportConfigNodeShutdown(eval(args[0]),))
-
-elif cmd == 'stopConfigNode':
-    if len(args) != 1:
-        print('stopConfigNode requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.stopConfigNode(eval(args[0]),))
-
-elif cmd == 'getConfigNodeHeartBeat':
-    if len(args) != 1:
-        print('getConfigNodeHeartBeat requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getConfigNodeHeartBeat(eval(args[0]),))
-
-elif cmd == 'createFunction':
-    if len(args) != 1:
-        print('createFunction requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.createFunction(eval(args[0]),))
-
-elif cmd == 'dropFunction':
-    if len(args) != 1:
-        print('dropFunction requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.dropFunction(eval(args[0]),))
-
-elif cmd == 'getUDFTable':
-    if len(args) != 0:
-        print('getUDFTable requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.getUDFTable())
-
-elif cmd == 'getUDFJar':
-    if len(args) != 1:
-        print('getUDFJar requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getUDFJar(eval(args[0]),))
-
-elif cmd == 'createTrigger':
-    if len(args) != 1:
-        print('createTrigger requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.createTrigger(eval(args[0]),))
-
-elif cmd == 'dropTrigger':
-    if len(args) != 1:
-        print('dropTrigger requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.dropTrigger(eval(args[0]),))
-
-elif cmd == 'getLocationOfStatefulTrigger':
-    if len(args) != 1:
-        print('getLocationOfStatefulTrigger requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getLocationOfStatefulTrigger(args[0],))
-
-elif cmd == 'getTriggerTable':
-    if len(args) != 0:
-        print('getTriggerTable requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.getTriggerTable())
-
-elif cmd == 'getStatefulTriggerTable':
-    if len(args) != 0:
-        print('getStatefulTriggerTable requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.getStatefulTriggerTable())
-
-elif cmd == 'getTriggerJar':
-    if len(args) != 1:
-        print('getTriggerJar requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getTriggerJar(eval(args[0]),))
-
-elif cmd == 'createPipePlugin':
-    if len(args) != 1:
-        print('createPipePlugin requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.createPipePlugin(eval(args[0]),))
-
-elif cmd == 'dropPipePlugin':
-    if len(args) != 1:
-        print('dropPipePlugin requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.dropPipePlugin(eval(args[0]),))
-
-elif cmd == 'getPipePluginTable':
-    if len(args) != 0:
-        print('getPipePluginTable requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.getPipePluginTable())
-
-elif cmd == 'getPipePluginJar':
-    if len(args) != 1:
-        print('getPipePluginJar requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getPipePluginJar(eval(args[0]),))
-
-elif cmd == 'merge':
-    if len(args) != 0:
-        print('merge requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.merge())
-
-elif cmd == 'flush':
-    if len(args) != 1:
-        print('flush requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.flush(eval(args[0]),))
-
-elif cmd == 'clearCache':
-    if len(args) != 0:
-        print('clearCache requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.clearCache())
-
-elif cmd == 'loadConfiguration':
-    if len(args) != 0:
-        print('loadConfiguration requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.loadConfiguration())
-
-elif cmd == 'setSystemStatus':
-    if len(args) != 1:
-        print('setSystemStatus requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.setSystemStatus(args[0],))
-
-elif cmd == 'setDataNodeStatus':
-    if len(args) != 1:
-        print('setDataNodeStatus requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.setDataNodeStatus(eval(args[0]),))
-
-elif cmd == 'migrateRegion':
-    if len(args) != 1:
-        print('migrateRegion requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.migrateRegion(eval(args[0]),))
-
-elif cmd == 'killQuery':
-    if len(args) != 2:
-        print('killQuery requires 2 args')
-        sys.exit(1)
-    pp.pprint(client.killQuery(args[0], eval(args[1]),))
-
-elif cmd == 'getRunningDataNodeLocations':
-    if len(args) != 0:
-        print('getRunningDataNodeLocations requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.getRunningDataNodeLocations())
-
-elif cmd == 'showCluster':
-    if len(args) != 0:
-        print('showCluster requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.showCluster())
-
-elif cmd == 'showVariables':
-    if len(args) != 0:
-        print('showVariables requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.showVariables())
-
-elif cmd == 'showDataNodes':
-    if len(args) != 0:
-        print('showDataNodes requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.showDataNodes())
-
-elif cmd == 'showConfigNodes':
-    if len(args) != 0:
-        print('showConfigNodes requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.showConfigNodes())
-
-elif cmd == 'showDatabase':
-    if len(args) != 1:
-        print('showDatabase requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.showDatabase(eval(args[0]),))
-
-elif cmd == 'showRegion':
-    if len(args) != 1:
-        print('showRegion requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.showRegion(eval(args[0]),))
-
-elif cmd == 'getLatestRegionRouteMap':
-    if len(args) != 0:
-        print('getLatestRegionRouteMap requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.getLatestRegionRouteMap())
-
-elif cmd == 'createSchemaTemplate':
-    if len(args) != 1:
-        print('createSchemaTemplate requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.createSchemaTemplate(eval(args[0]),))
-
-elif cmd == 'getAllTemplates':
-    if len(args) != 0:
-        print('getAllTemplates requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.getAllTemplates())
-
-elif cmd == 'getTemplate':
-    if len(args) != 1:
-        print('getTemplate requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getTemplate(args[0],))
-
-elif cmd == 'setSchemaTemplate':
-    if len(args) != 1:
-        print('setSchemaTemplate requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.setSchemaTemplate(eval(args[0]),))
-
-elif cmd == 'getPathsSetTemplate':
-    if len(args) != 1:
-        print('getPathsSetTemplate requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getPathsSetTemplate(eval(args[0]),))
-
-elif cmd == 'deactivateSchemaTemplate':
-    if len(args) != 1:
-        print('deactivateSchemaTemplate requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.deactivateSchemaTemplate(eval(args[0]),))
-
-elif cmd == 'unsetSchemaTemplate':
-    if len(args) != 1:
-        print('unsetSchemaTemplate requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.unsetSchemaTemplate(eval(args[0]),))
-
-elif cmd == 'dropSchemaTemplate':
-    if len(args) != 1:
-        print('dropSchemaTemplate requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.dropSchemaTemplate(args[0],))
-
-elif cmd == 'alterSchemaTemplate':
-    if len(args) != 1:
-        print('alterSchemaTemplate requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.alterSchemaTemplate(eval(args[0]),))
-
-elif cmd == 'deleteTimeSeries':
-    if len(args) != 1:
-        print('deleteTimeSeries requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.deleteTimeSeries(eval(args[0]),))
-
-elif cmd == 'deleteLogicalView':
-    if len(args) != 1:
-        print('deleteLogicalView requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.deleteLogicalView(eval(args[0]),))
-
-elif cmd == 'alterLogicalView':
-    if len(args) != 1:
-        print('alterLogicalView requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.alterLogicalView(eval(args[0]),))
-
-elif cmd == 'createPipeSink':
-    if len(args) != 1:
-        print('createPipeSink requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.createPipeSink(eval(args[0]),))
-
-elif cmd == 'dropPipeSink':
-    if len(args) != 1:
-        print('dropPipeSink requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.dropPipeSink(eval(args[0]),))
-
-elif cmd == 'getPipeSink':
-    if len(args) != 1:
-        print('getPipeSink requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getPipeSink(eval(args[0]),))
-
-elif cmd == 'createPipe':
-    if len(args) != 1:
-        print('createPipe requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.createPipe(eval(args[0]),))
-
-elif cmd == 'startPipe':
-    if len(args) != 1:
-        print('startPipe requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.startPipe(args[0],))
-
-elif cmd == 'stopPipe':
-    if len(args) != 1:
-        print('stopPipe requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.stopPipe(args[0],))
-
-elif cmd == 'dropPipe':
-    if len(args) != 1:
-        print('dropPipe requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.dropPipe(args[0],))
-
-elif cmd == 'showPipe':
-    if len(args) != 1:
-        print('showPipe requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.showPipe(eval(args[0]),))
-
-elif cmd == 'getAllPipeInfo':
-    if len(args) != 0:
-        print('getAllPipeInfo requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.getAllPipeInfo())
-
-elif cmd == 'getRegionId':
-    if len(args) != 1:
-        print('getRegionId requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getRegionId(eval(args[0]),))
-
-elif cmd == 'getTimeSlotList':
-    if len(args) != 1:
-        print('getTimeSlotList requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getTimeSlotList(eval(args[0]),))
-
-elif cmd == 'countTimeSlotList':
-    if len(args) != 1:
-        print('countTimeSlotList requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.countTimeSlotList(eval(args[0]),))
-
-elif cmd == 'getSeriesSlotList':
-    if len(args) != 1:
-        print('getSeriesSlotList requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getSeriesSlotList(eval(args[0]),))
-
-elif cmd == 'createCQ':
-    if len(args) != 1:
-        print('createCQ requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.createCQ(eval(args[0]),))
-
-elif cmd == 'dropCQ':
-    if len(args) != 1:
-        print('dropCQ requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.dropCQ(eval(args[0]),))
-
-elif cmd == 'showCQ':
-    if len(args) != 0:
-        print('showCQ requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.showCQ())
-
-elif cmd == 'createModel':
-    if len(args) != 1:
-        print('createModel requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.createModel(eval(args[0]),))
-
-elif cmd == 'dropModel':
-    if len(args) != 1:
-        print('dropModel requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.dropModel(eval(args[0]),))
-
-elif cmd == 'showModel':
-    if len(args) != 1:
-        print('showModel requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.showModel(eval(args[0]),))
-
-elif cmd == 'showTrial':
-    if len(args) != 1:
-        print('showTrial requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.showTrial(eval(args[0]),))
-
-elif cmd == 'updateModelInfo':
-    if len(args) != 1:
-        print('updateModelInfo requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.updateModelInfo(eval(args[0]),))
-
-elif cmd == 'updateModelState':
-    if len(args) != 1:
-        print('updateModelState requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.updateModelState(eval(args[0]),))
-
-elif cmd == 'getModelInfo':
-    if len(args) != 1:
-        print('getModelInfo requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.getModelInfo(eval(args[0]),))
-
-elif cmd == 'setSpaceQuota':
-    if len(args) != 1:
-        print('setSpaceQuota requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.setSpaceQuota(eval(args[0]),))
-
-elif cmd == 'showSpaceQuota':
-    if len(args) != 1:
-        print('showSpaceQuota requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.showSpaceQuota(eval(args[0]),))
-
-elif cmd == 'getSpaceQuota':
-    if len(args) != 0:
-        print('getSpaceQuota requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.getSpaceQuota())
-
-elif cmd == 'setThrottleQuota':
-    if len(args) != 1:
-        print('setThrottleQuota requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.setThrottleQuota(eval(args[0]),))
-
-elif cmd == 'showThrottleQuota':
-    if len(args) != 1:
-        print('showThrottleQuota requires 1 args')
-        sys.exit(1)
-    pp.pprint(client.showThrottleQuota(eval(args[0]),))
-
-elif cmd == 'getThrottleQuota':
-    if len(args) != 0:
-        print('getThrottleQuota requires 0 args')
-        sys.exit(1)
-    pp.pprint(client.getThrottleQuota())
-
-else:
-    print('Unrecognized method %s' % cmd)
-    sys.exit(1)
-
-transport.close()
diff --git a/iotdb-core/mlnode/iotdb/thrift/confignode/IConfigNodeRPCService.py b/iotdb-core/mlnode/iotdb/thrift/confignode/IConfigNodeRPCService.py
deleted file mode 100644
index 133b88660ca..00000000000
--- a/iotdb-core/mlnode/iotdb/thrift/confignode/IConfigNodeRPCService.py
+++ /dev/null
@@ -1,20325 +0,0 @@
-#
-# Autogenerated by Thrift Compiler (0.14.1)
-#
-# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
-#
-#  options string: py
-#
-
-from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
-from thrift.protocol.TProtocol import TProtocolException
-from thrift.TRecursive import fix_spec
-
-import sys
-import logging
-from .ttypes import *
-from thrift.Thrift import TProcessor
-from thrift.transport import TTransport
-all_structs = []
-
-
-class Iface(object):
-    def registerDataNode(self, req):
-        """
-        Register a new DataNode into the cluster
-
-        @return SUCCESS_STATUS if the new DataNode registered successfully
-                REJECT_NODE_START if the configuration chek of the DataNode to be registered fails,
-                                  and a detailed error message will be returned.
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def restartDataNode(self, req):
-        """
-        Restart an existed DataNode
-
-        @return SUCCESS_STATUS if DataNode restart request is accepted
-                REJECT_NODE_START if the configuration chek of the DataNode to be restarted fails,
-                                  and a detailed error message will be returned.
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getSystemConfiguration(self):
-        """
-        Get system configurations. i.e. configurations that is not associated with the DataNodeId
-
-        """
-        pass
-
-    def removeDataNode(self, req):
-        """
-        Generate a set of DataNodeRemoveProcedure to remove some specific DataNodes from the cluster
-
-        @return SUCCESS_STATUS if the DataNodeRemoveProcedure submitted successfully
-                LACK_REPLICATION if the number of DataNodes will be too small to maintain
-                                 RegionReplicas after remove these DataNodes
-                DATANODE_NOT_EXIST if one of the DataNodes in the TDataNodeRemoveReq doesn't exist in the cluster
-                NODE_DELETE_FAILED_ERROR if failed to submit the DataNodeRemoveProcedure
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def reportDataNodeShutdown(self, dataNodeLocation):
-        """
-        Report that the specified DataNode will be shutdown.
-        The ConfigNode-leader will mark it as Unknown.
-
-        @return SUCCESS_STATUS if reporting successfully
-
-        Parameters:
-         - dataNodeLocation
-
-        """
-        pass
-
-    def getDataNodeConfiguration(self, dataNodeId):
-        """
-        Get one or more DataNodes' configuration
-
-        @param dataNodeId, the specific DataNode's index
-        @return The specific DataNode's configuration if the DataNode exists,
-                or all DataNodes' configuration if dataNodeId is -1
-
-        Parameters:
-         - dataNodeId
-
-        """
-        pass
-
-    def reportRegionMigrateResult(self, req):
-        """
-        Report region migration complete
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def setDatabase(self, databaseSchema):
-        """
-        Set a new Databse, all fields in TDatabaseSchema can be customized
-        while the undefined fields will automatically use default values
-
-        @return SUCCESS_STATUS if the new Database set successfully
-                ILLEGAL_PATH if the new Database name is illegal
-                DATABASE_CONFIG_ERROR if some of the DatabaseSchema is illeagal
-                DATABASE_ALREADY_EXISTS if the Database already exist
-
-        Parameters:
-         - databaseSchema
-
-        """
-        pass
-
-    def alterDatabase(self, databaseSchema):
-        """
-        Alter a Database's schema, including
-        TTL, ReplicationFactor, timePartitionInterval and RegionGroupNum
-
-        @return SUCCESS_STATUS if the specified DatabaseSchema is altered successfully
-                ILLEGAL_PATH if the new Database name is illegal
-                DATABASE_CONFIG_ERROR if some of the DatabaseSchema is illeagal
-                DATABASE_NOT_EXIST if the specified Database doesn't exist
-
-        Parameters:
-         - databaseSchema
-
-        """
-        pass
-
-    def deleteDatabase(self, req):
-        """
-        Generate a DeleteDatabaseProcedure to delete a specified Database
-
-        @return SUCCESS_STATUS if the DeleteDatabaseProcedure submitted successfully
-                TIMESERIES_NOT_EXIST if the specific Database doesn't exist
-                EXECUTE_STATEMENT_ERROR if failed to submit the DeleteDatabaseProcedure
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def deleteDatabases(self, req):
-        """
-        Generate a set of DeleteDatabaseProcedure to delete some specific Databases
-
-        @return SUCCESS_STATUS if the DeleteDatabaseProcedure submitted successfully
-                TIMESERIES_NOT_EXIST if the specific Database doesn't exist
-                EXECUTE_STATEMENT_ERROR if failed to submit the DeleteDatabaseProcedure
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def setTTL(self, req):
-        """
-        Update the specific Database's TTL
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def setSchemaReplicationFactor(self, req):
-        """
-        Update the specific Database's SchemaReplicationFactor
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def setDataReplicationFactor(self, req):
-        """
-        Update the specific Database's DataReplicationFactor
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def setTimePartitionInterval(self, req):
-        """
-        Update the specific Database's PartitionInterval
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def countMatchedDatabases(self, req):
-        """
-        Count the matched Databases
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getMatchedDatabaseSchemas(self, req):
-        """
-        Get the matched Databases' TDatabaseSchema
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getSchemaPartitionTable(self, req):
-        """
-        Get SchemaPartitionTable by specific PathPatternTree,
-        the returned SchemaPartitionTable will not contain the unallocated SeriesPartitionSlots
-        See https://apache-iotdb.feishu.cn/docs/doccnqe3PLPEKwsCX1xadXQ2JOg for detailed matching rules
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getOrCreateSchemaPartitionTable(self, req):
-        """
-        Get or create SchemaPartitionTable by specific PathPatternTree,
-        the returned SchemaPartitionTable always contains all the SeriesPartitionSlots
-        since the unallocated SeriesPartitionSlots will be allocated by the way
-
-        @return SUCCESS_STATUS if the SchemaPartitionTable got or created successfully
-                NOT_ENOUGH_DATA_NODE if the number of cluster DataNodes is not enough for creating new SchemaRegions
-                DATABASE_NOT_EXIST if some Databases don't exist
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getSchemaNodeManagementPartition(self, req):
-        """
-        Get the partition info used for schema node query and get the node info in CluterSchemaInfo.
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getDataPartitionTable(self, req):
-        """
-        Get DataPartitionTable by specific PartitionSlotsMap,
-        the returned DataPartitionTable will not contain the unallocated SeriesPartitionSlots and TimePartitionSlots
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getOrCreateDataPartitionTable(self, req):
-        """
-        Get or create DataPartitionTable by specific PartitionSlotsMap,
-        the returned SchemaPartitionTable always contains all the SeriesPartitionSlots and TimePartitionSlots
-        since the unallocated SeriesPartitionSlots and TimePartitionSlots will be allocated by the way
-
-        @return SUCCESS_STATUS if the DataPartitionTable got or created successfully
-                NOT_ENOUGH_DATA_NODE if the number of cluster DataNodes is not enough for creating new DataRegions
-                DATABASE_NOT_EXIST if some Databases don't exist
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def operatePermission(self, req):
-        """
-        Execute permission write operations such as create user, create role, and grant permission.
-        There is no need to update the cache information of the DataNode for creating users and roles
-
-        @return SUCCESS_STATUS if the permission write operation is executed successfully
-                INVALIDATE_PERMISSION_CACHE_ERROR if the update cache of the permission information in the datanode fails
-                EXECUTE_PERMISSION_EXCEPTION_ERROR if the permission write operation fails, like the user doesn't exist
-                INTERNAL_SERVER_ERROR if the permission type does not exist
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def queryPermission(self, req):
-        """
-        Execute permission read operations such as list user
-
-        @return SUCCESS_STATUS if the permission read operation is executed successfully
-                ROLE_NOT_EXIST_ERROR if the role does not exist
-                USER_NOT_EXIST_ERROR if the user does not exist
-                INTERNAL_SERVER_ERROR if the permission type does not exist
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def login(self, req):
-        """
-        Authenticate user login
-
-        @return SUCCESS_STATUS if the user exists and the correct username and password are entered
-                WRONG_LOGIN_PASSWORD_ERROR if the user enters the wrong username or password
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def checkUserPrivileges(self, req):
-        """
-        Permission checking for user operations
-
-        @return SUCCESS_STATUS if the user has the permission
-                EXECUTE_PERMISSION_EXCEPTION_ERROR if the seriesPath or the privilege is illegal.
-                NO_PERMISSION_ERROR if the user does not have this permission
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def fetchAuthizedPatternTree(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def checkUserPrivilegeGrantOpt(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def checkRoleOfUser(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def registerConfigNode(self, req):
-        """
-        The Non-Seed-ConfigNode submit a registration request to the ConfigNode-leader when first startup
-
-        @return SUCCESS_STATUS if the AddConfigNodeProcedure submitted successfully.
-                REJECT_NODE_START if the configuration chek of the ConfigNode to be registered fails,
-                                  and a detailed error message will be returned.
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def addConsensusGroup(self, req):
-        """
-        The ConfigNode-leader will guide the Non-Seed-ConfigNode to join the ConsensusGroup when first startup
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def notifyRegisterSuccess(self):
-        """
-        The ConfigNode-leader will notify the Non-Seed-ConfigNode that the registration success
-
-        """
-        pass
-
-    def removeConfigNode(self, configNodeLocation):
-        """
-        Remove the specific ConfigNode from the cluster
-
-        @return SUCCESS_STATUS if the RemoveConfigNodeProcedure submitted successfully
-                REMOVE_CONFIGNODE_FAILED if the number of ConfigNode is less than 1
-                                         or the specific ConfigNode doesn't exist
-                                         or the specific ConfigNode is leader
-
-        Parameters:
-         - configNodeLocation
-
-        """
-        pass
-
-    def deleteConfigNodePeer(self, configNodeLocation):
-        """
-        Let the specific ConfigNode delete the peer
-
-        @return SUCCESS_STATUS if delete peer  successfully
-                REMOVE_CONFIGNODE_FAILED if the specific ConfigNode doesn't exist in the current cluster
-                                         or Ratis internal failure
-
-        Parameters:
-         - configNodeLocation
-
-        """
-        pass
-
-    def reportConfigNodeShutdown(self, configNodeLocation):
-        """
-        Report that the specified ConfigNode will be shutdown.
-        The ConfigNode-leader will mark it as Unknown.
-
-        @return SUCCESS_STATUS if reporting successfully
-
-        Parameters:
-         - configNodeLocation
-
-        """
-        pass
-
-    def stopConfigNode(self, configNodeLocation):
-        """
-        Stop the specific ConfigNode
-
-        Parameters:
-         - configNodeLocation
-
-        """
-        pass
-
-    def getConfigNodeHeartBeat(self, timestamp):
-        """
-        The ConfigNode-leader will ping other ConfigNodes periodically
-
-        Parameters:
-         - timestamp
-
-        """
-        pass
-
-    def createFunction(self, req):
-        """
-        Create a function on all online ConfigNodes and DataNodes
-
-        @return SUCCESS_STATUS if the function was created successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def dropFunction(self, req):
-        """
-        Remove a function on all online ConfigNodes and DataNodes
-
-        @return SUCCESS_STATUS if the function was removed successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getUDFTable(self):
-        """
-        Return the UDF table
-
-        """
-        pass
-
-    def getUDFJar(self, req):
-        """
-        Return the UDF jar list of the jar name list
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def createTrigger(self, req):
-        """
-        Create a statless trigger on all online DataNodes or Create a stateful trigger on a specific DataNode
-        and sync Information of it to all ConfigNodes
-
-        @return SUCCESS_STATUS if the trigger was created successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def dropTrigger(self, req):
-        """
-        Remove a trigger on all online ConfigNodes and DataNodes
-
-        @return SUCCESS_STATUS if the function was removed successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getLocationOfStatefulTrigger(self, triggerName):
-        """
-        Get TDataNodeLocation of a stateful trigger
-
-        Parameters:
-         - triggerName
-
-        """
-        pass
-
-    def getTriggerTable(self):
-        """
-        Return the trigger table
-
-        """
-        pass
-
-    def getStatefulTriggerTable(self):
-        """
-        Return the Stateful trigger table
-
-        """
-        pass
-
-    def getTriggerJar(self, req):
-        """
-        Return the trigger jar list of the trigger name list
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def createPipePlugin(self, req):
-        """
-        Create a pipe plugin on the specified DataNode
-
-        @return SUCCESS_STATUS if the pipe plugin was created successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def dropPipePlugin(self, req):
-        """
-        Remove a pipe plugin on the DataNodes
-
-        @return SUCCESS_STATUS if the pipe plugin was removed successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getPipePluginTable(self):
-        """
-        Return the pipe plugin table
-
-        """
-        pass
-
-    def getPipePluginJar(self, req):
-        """
-        Return the pipe plugin jar list of the plugin name list
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def merge(self):
-        """
-        Execute Level Compaction and unsequence Compaction task on all DataNodes
-
-        """
-        pass
-
-    def flush(self, req):
-        """
-        Persist all the data points in the memory table of the database to the disk, and seal the data file on all DataNodes
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def clearCache(self):
-        """
-        Clear the cache of chunk, chunk metadata and timeseries metadata to release the memory footprint on all DataNodes
-
-        """
-        pass
-
-    def loadConfiguration(self):
-        """
-        Load configuration on all DataNodes
-
-        """
-        pass
-
-    def setSystemStatus(self, status):
-        """
-        Set system status on DataNodes
-
-        Parameters:
-         - status
-
-        """
-        pass
-
-    def setDataNodeStatus(self, req):
-        """
-        TestOnly. Set the target DataNode to the specified status
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def migrateRegion(self, req):
-        """
-        Migrate a region replica from one dataNode to another
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def killQuery(self, queryId, dataNodeId):
-        """
-        Kill query
-
-        Parameters:
-         - queryId
-         - dataNodeId
-
-        """
-        pass
-
-    def getRunningDataNodeLocations(self):
-        """
-        Get all DataNodeLocations of Running DataNodes
-
-        """
-        pass
-
-    def showCluster(self):
-        """
-        Show cluster ConfigNodes' and DataNodes' information
-
-        """
-        pass
-
-    def showVariables(self):
-        """
-        Show variables who should be consist in the same cluster
-
-        """
-        pass
-
-    def showDataNodes(self):
-        """
-        Show cluster DataNodes' information
-
-        """
-        pass
-
-    def showConfigNodes(self):
-        """
-        Show cluster ConfigNodes' information
-
-        """
-        pass
-
-    def showDatabase(self, req):
-        """
-        Show cluster Databases' information
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def showRegion(self, req):
-        """
-        Show the matched cluster Regions' information
-        See https://apache-iotdb.feishu.cn/docx/doxcnOzmIlaE2MX5tKjmYWuMSRg for detailed matching rules
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getLatestRegionRouteMap(self):
-        """
-        The ConfigNode-leader will generate and return a latest RegionRouteMap
-
-        """
-        pass
-
-    def createSchemaTemplate(self, req):
-        """
-        Create device template
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getAllTemplates(self):
-        """
-        Get all device template info and template set info for DataNode registeration
-
-        """
-        pass
-
-    def getTemplate(self, req):
-        """
-        Get one device template info
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def setSchemaTemplate(self, req):
-        """
-        Set given device template to given path
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getPathsSetTemplate(self, req):
-        """
-        Get paths setting given device template
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def deactivateSchemaTemplate(self, req):
-        """
-        Deactivate device template from paths matched by given pattern tree in cluster
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def unsetSchemaTemplate(self, req):
-        """
-        Unset device template from given path
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def dropSchemaTemplate(self, req):
-        """
-        Drop device template
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def alterSchemaTemplate(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def deleteTimeSeries(self, req):
-        """
-        Generate a set of DeleteTimeSeriesProcedure to delete some specific TimeSeries
-
-        @return SUCCESS_STATUS if the DeleteTimeSeriesProcedure submitted and executed successfully
-                TIMESERIES_NOT_EXIST if the specific TimeSeries doesn't exist
-                EXECUTE_STATEMENT_ERROR if failed to submit or execute the DeleteTimeSeriesProcedure
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def deleteLogicalView(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def alterLogicalView(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def createPipeSink(self, req):
-        """
-        Create PipeSink
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def dropPipeSink(self, req):
-        """
-        Drop PipeSink
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getPipeSink(self, req):
-        """
-        Get PipeSink by name, if name is empty, get all PipeSink
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def createPipe(self, req):
-        """
-        Create Pipe
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def startPipe(self, pipeName):
-        """
-        Start Pipe
-
-        Parameters:
-         - pipeName
-
-        """
-        pass
-
-    def stopPipe(self, pipeName):
-        """
-        Stop Pipe
-
-        Parameters:
-         - pipeName
-
-        """
-        pass
-
-    def dropPipe(self, pipeName):
-        """
-        Drop Pipe
-
-        Parameters:
-         - pipeName
-
-        """
-        pass
-
-    def showPipe(self, req):
-        """
-        Show Pipe by name, if name is empty, show all Pipe
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getAllPipeInfo(self):
-        pass
-
-    def getRegionId(self, req):
-        """
-        Get a particular DataPartition's corresponding Regions
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getTimeSlotList(self, req):
-        """
-        Get a specific SeriesSlot's TimeSlots by start time and end time
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def countTimeSlotList(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getSeriesSlotList(self, req):
-        """
-        Get the given database's assigned SeriesSlots
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def createCQ(self, req):
-        """
-        Create a CQ
-
-        @return SUCCESS_STATUS if the cq was created successfully
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def dropCQ(self, req):
-        """
-        Drop a CQ
-
-        @return SUCCESS_STATUS if the CQ was removed successfully
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def showCQ(self):
-        """
-        Return the cq table of config leader
-
-        """
-        pass
-
-    def createModel(self, req):
-        """
-        Create a model
-
-        @return SUCCESS_STATUS if the model was created successfully
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def dropModel(self, req):
-        """
-        Drop a model
-
-        @return SUCCESS_STATUS if the model was removed successfully
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def showModel(self, req):
-        """
-        Return the model table
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def showTrial(self, req):
-        """
-        Return the trial table
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def updateModelInfo(self, req):
-        """
-        Update the model info
-
-        @return SUCCESS_STATUS if the model was removed successfully
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def updateModelState(self, req):
-        """
-        Update the model state
-
-        @return SUCCESS_STATUS if the model was removed successfully
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getModelInfo(self, req):
-        """
-        Return the model info by model_id
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def setSpaceQuota(self, req):
-        """
-        Set Space Quota
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def showSpaceQuota(self, databases):
-        """
-        Show space quota
-
-        Parameters:
-         - databases
-
-        """
-        pass
-
-    def getSpaceQuota(self):
-        """
-        Get space quota information
-
-        """
-        pass
-
-    def setThrottleQuota(self, req):
-        """
-        Set throttle quota
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def showThrottleQuota(self, req):
-        """
-        Show throttle quota
-
-        Parameters:
-         - req
-
-        """
-        pass
-
-    def getThrottleQuota(self):
-        """
-        Get throttle quota information
-
-        """
-        pass
-
-
-class Client(Iface):
-    def __init__(self, iprot, oprot=None):
-        self._iprot = self._oprot = iprot
-        if oprot is not None:
-            self._oprot = oprot
-        self._seqid = 0
-
-    def registerDataNode(self, req):
-        """
-        Register a new DataNode into the cluster
-
-        @return SUCCESS_STATUS if the new DataNode registered successfully
-                REJECT_NODE_START if the configuration chek of the DataNode to be registered fails,
-                                  and a detailed error message will be returned.
-
-        Parameters:
-         - req
-
-        """
-        self.send_registerDataNode(req)
-        return self.recv_registerDataNode()
-
-    def send_registerDataNode(self, req):
-        self._oprot.writeMessageBegin('registerDataNode', TMessageType.CALL, self._seqid)
-        args = registerDataNode_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_registerDataNode(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = registerDataNode_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "registerDataNode failed: unknown result")
-
-    def restartDataNode(self, req):
-        """
-        Restart an existed DataNode
-
-        @return SUCCESS_STATUS if DataNode restart request is accepted
-                REJECT_NODE_START if the configuration chek of the DataNode to be restarted fails,
-                                  and a detailed error message will be returned.
-
-        Parameters:
-         - req
-
-        """
-        self.send_restartDataNode(req)
-        return self.recv_restartDataNode()
-
-    def send_restartDataNode(self, req):
-        self._oprot.writeMessageBegin('restartDataNode', TMessageType.CALL, self._seqid)
-        args = restartDataNode_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_restartDataNode(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = restartDataNode_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "restartDataNode failed: unknown result")
-
-    def getSystemConfiguration(self):
-        """
-        Get system configurations. i.e. configurations that is not associated with the DataNodeId
-
-        """
-        self.send_getSystemConfiguration()
-        return self.recv_getSystemConfiguration()
-
-    def send_getSystemConfiguration(self):
-        self._oprot.writeMessageBegin('getSystemConfiguration', TMessageType.CALL, self._seqid)
-        args = getSystemConfiguration_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getSystemConfiguration(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getSystemConfiguration_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getSystemConfiguration failed: unknown result")
-
-    def removeDataNode(self, req):
-        """
-        Generate a set of DataNodeRemoveProcedure to remove some specific DataNodes from the cluster
-
-        @return SUCCESS_STATUS if the DataNodeRemoveProcedure submitted successfully
-                LACK_REPLICATION if the number of DataNodes will be too small to maintain
-                                 RegionReplicas after remove these DataNodes
-                DATANODE_NOT_EXIST if one of the DataNodes in the TDataNodeRemoveReq doesn't exist in the cluster
-                NODE_DELETE_FAILED_ERROR if failed to submit the DataNodeRemoveProcedure
-
-        Parameters:
-         - req
-
-        """
-        self.send_removeDataNode(req)
-        return self.recv_removeDataNode()
-
-    def send_removeDataNode(self, req):
-        self._oprot.writeMessageBegin('removeDataNode', TMessageType.CALL, self._seqid)
-        args = removeDataNode_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_removeDataNode(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = removeDataNode_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "removeDataNode failed: unknown result")
-
-    def reportDataNodeShutdown(self, dataNodeLocation):
-        """
-        Report that the specified DataNode will be shutdown.
-        The ConfigNode-leader will mark it as Unknown.
-
-        @return SUCCESS_STATUS if reporting successfully
-
-        Parameters:
-         - dataNodeLocation
-
-        """
-        self.send_reportDataNodeShutdown(dataNodeLocation)
-        return self.recv_reportDataNodeShutdown()
-
-    def send_reportDataNodeShutdown(self, dataNodeLocation):
-        self._oprot.writeMessageBegin('reportDataNodeShutdown', TMessageType.CALL, self._seqid)
-        args = reportDataNodeShutdown_args()
-        args.dataNodeLocation = dataNodeLocation
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_reportDataNodeShutdown(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = reportDataNodeShutdown_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "reportDataNodeShutdown failed: unknown result")
-
-    def getDataNodeConfiguration(self, dataNodeId):
-        """
-        Get one or more DataNodes' configuration
-
-        @param dataNodeId, the specific DataNode's index
-        @return The specific DataNode's configuration if the DataNode exists,
-                or all DataNodes' configuration if dataNodeId is -1
-
-        Parameters:
-         - dataNodeId
-
-        """
-        self.send_getDataNodeConfiguration(dataNodeId)
-        return self.recv_getDataNodeConfiguration()
-
-    def send_getDataNodeConfiguration(self, dataNodeId):
-        self._oprot.writeMessageBegin('getDataNodeConfiguration', TMessageType.CALL, self._seqid)
-        args = getDataNodeConfiguration_args()
-        args.dataNodeId = dataNodeId
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getDataNodeConfiguration(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getDataNodeConfiguration_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getDataNodeConfiguration failed: unknown result")
-
-    def reportRegionMigrateResult(self, req):
-        """
-        Report region migration complete
-
-        Parameters:
-         - req
-
-        """
-        self.send_reportRegionMigrateResult(req)
-        return self.recv_reportRegionMigrateResult()
-
-    def send_reportRegionMigrateResult(self, req):
-        self._oprot.writeMessageBegin('reportRegionMigrateResult', TMessageType.CALL, self._seqid)
-        args = reportRegionMigrateResult_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_reportRegionMigrateResult(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = reportRegionMigrateResult_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "reportRegionMigrateResult failed: unknown result")
-
-    def setDatabase(self, databaseSchema):
-        """
-        Set a new Databse, all fields in TDatabaseSchema can be customized
-        while the undefined fields will automatically use default values
-
-        @return SUCCESS_STATUS if the new Database set successfully
-                ILLEGAL_PATH if the new Database name is illegal
-                DATABASE_CONFIG_ERROR if some of the DatabaseSchema is illeagal
-                DATABASE_ALREADY_EXISTS if the Database already exist
-
-        Parameters:
-         - databaseSchema
-
-        """
-        self.send_setDatabase(databaseSchema)
-        return self.recv_setDatabase()
-
-    def send_setDatabase(self, databaseSchema):
-        self._oprot.writeMessageBegin('setDatabase', TMessageType.CALL, self._seqid)
-        args = setDatabase_args()
-        args.databaseSchema = databaseSchema
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_setDatabase(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = setDatabase_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "setDatabase failed: unknown result")
-
-    def alterDatabase(self, databaseSchema):
-        """
-        Alter a Database's schema, including
-        TTL, ReplicationFactor, timePartitionInterval and RegionGroupNum
-
-        @return SUCCESS_STATUS if the specified DatabaseSchema is altered successfully
-                ILLEGAL_PATH if the new Database name is illegal
-                DATABASE_CONFIG_ERROR if some of the DatabaseSchema is illeagal
-                DATABASE_NOT_EXIST if the specified Database doesn't exist
-
-        Parameters:
-         - databaseSchema
-
-        """
-        self.send_alterDatabase(databaseSchema)
-        return self.recv_alterDatabase()
-
-    def send_alterDatabase(self, databaseSchema):
-        self._oprot.writeMessageBegin('alterDatabase', TMessageType.CALL, self._seqid)
-        args = alterDatabase_args()
-        args.databaseSchema = databaseSchema
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_alterDatabase(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = alterDatabase_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "alterDatabase failed: unknown result")
-
-    def deleteDatabase(self, req):
-        """
-        Generate a DeleteDatabaseProcedure to delete a specified Database
-
-        @return SUCCESS_STATUS if the DeleteDatabaseProcedure submitted successfully
-                TIMESERIES_NOT_EXIST if the specific Database doesn't exist
-                EXECUTE_STATEMENT_ERROR if failed to submit the DeleteDatabaseProcedure
-
-        Parameters:
-         - req
-
-        """
-        self.send_deleteDatabase(req)
-        return self.recv_deleteDatabase()
-
-    def send_deleteDatabase(self, req):
-        self._oprot.writeMessageBegin('deleteDatabase', TMessageType.CALL, self._seqid)
-        args = deleteDatabase_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_deleteDatabase(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = deleteDatabase_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteDatabase failed: unknown result")
-
-    def deleteDatabases(self, req):
-        """
-        Generate a set of DeleteDatabaseProcedure to delete some specific Databases
-
-        @return SUCCESS_STATUS if the DeleteDatabaseProcedure submitted successfully
-                TIMESERIES_NOT_EXIST if the specific Database doesn't exist
-                EXECUTE_STATEMENT_ERROR if failed to submit the DeleteDatabaseProcedure
-
-        Parameters:
-         - req
-
-        """
-        self.send_deleteDatabases(req)
-        return self.recv_deleteDatabases()
-
-    def send_deleteDatabases(self, req):
-        self._oprot.writeMessageBegin('deleteDatabases', TMessageType.CALL, self._seqid)
-        args = deleteDatabases_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_deleteDatabases(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = deleteDatabases_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteDatabases failed: unknown result")
-
-    def setTTL(self, req):
-        """
-        Update the specific Database's TTL
-
-        Parameters:
-         - req
-
-        """
-        self.send_setTTL(req)
-        return self.recv_setTTL()
-
-    def send_setTTL(self, req):
-        self._oprot.writeMessageBegin('setTTL', TMessageType.CALL, self._seqid)
-        args = setTTL_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_setTTL(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = setTTL_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "setTTL failed: unknown result")
-
-    def setSchemaReplicationFactor(self, req):
-        """
-        Update the specific Database's SchemaReplicationFactor
-
-        Parameters:
-         - req
-
-        """
-        self.send_setSchemaReplicationFactor(req)
-        return self.recv_setSchemaReplicationFactor()
-
-    def send_setSchemaReplicationFactor(self, req):
-        self._oprot.writeMessageBegin('setSchemaReplicationFactor', TMessageType.CALL, self._seqid)
-        args = setSchemaReplicationFactor_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_setSchemaReplicationFactor(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = setSchemaReplicationFactor_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "setSchemaReplicationFactor failed: unknown result")
-
-    def setDataReplicationFactor(self, req):
-        """
-        Update the specific Database's DataReplicationFactor
-
-        Parameters:
-         - req
-
-        """
-        self.send_setDataReplicationFactor(req)
-        return self.recv_setDataReplicationFactor()
-
-    def send_setDataReplicationFactor(self, req):
-        self._oprot.writeMessageBegin('setDataReplicationFactor', TMessageType.CALL, self._seqid)
-        args = setDataReplicationFactor_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_setDataReplicationFactor(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = setDataReplicationFactor_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "setDataReplicationFactor failed: unknown result")
-
-    def setTimePartitionInterval(self, req):
-        """
-        Update the specific Database's PartitionInterval
-
-        Parameters:
-         - req
-
-        """
-        self.send_setTimePartitionInterval(req)
-        return self.recv_setTimePartitionInterval()
-
-    def send_setTimePartitionInterval(self, req):
-        self._oprot.writeMessageBegin('setTimePartitionInterval', TMessageType.CALL, self._seqid)
-        args = setTimePartitionInterval_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_setTimePartitionInterval(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = setTimePartitionInterval_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "setTimePartitionInterval failed: unknown result")
-
-    def countMatchedDatabases(self, req):
-        """
-        Count the matched Databases
-
-        Parameters:
-         - req
-
-        """
-        self.send_countMatchedDatabases(req)
-        return self.recv_countMatchedDatabases()
-
-    def send_countMatchedDatabases(self, req):
-        self._oprot.writeMessageBegin('countMatchedDatabases', TMessageType.CALL, self._seqid)
-        args = countMatchedDatabases_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_countMatchedDatabases(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = countMatchedDatabases_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "countMatchedDatabases failed: unknown result")
-
-    def getMatchedDatabaseSchemas(self, req):
-        """
-        Get the matched Databases' TDatabaseSchema
-
-        Parameters:
-         - req
-
-        """
-        self.send_getMatchedDatabaseSchemas(req)
-        return self.recv_getMatchedDatabaseSchemas()
-
-    def send_getMatchedDatabaseSchemas(self, req):
-        self._oprot.writeMessageBegin('getMatchedDatabaseSchemas', TMessageType.CALL, self._seqid)
-        args = getMatchedDatabaseSchemas_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getMatchedDatabaseSchemas(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getMatchedDatabaseSchemas_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getMatchedDatabaseSchemas failed: unknown result")
-
-    def getSchemaPartitionTable(self, req):
-        """
-        Get SchemaPartitionTable by specific PathPatternTree,
-        the returned SchemaPartitionTable will not contain the unallocated SeriesPartitionSlots
-        See https://apache-iotdb.feishu.cn/docs/doccnqe3PLPEKwsCX1xadXQ2JOg for detailed matching rules
-
-        Parameters:
-         - req
-
-        """
-        self.send_getSchemaPartitionTable(req)
-        return self.recv_getSchemaPartitionTable()
-
-    def send_getSchemaPartitionTable(self, req):
-        self._oprot.writeMessageBegin('getSchemaPartitionTable', TMessageType.CALL, self._seqid)
-        args = getSchemaPartitionTable_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getSchemaPartitionTable(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getSchemaPartitionTable_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getSchemaPartitionTable failed: unknown result")
-
-    def getOrCreateSchemaPartitionTable(self, req):
-        """
-        Get or create SchemaPartitionTable by specific PathPatternTree,
-        the returned SchemaPartitionTable always contains all the SeriesPartitionSlots
-        since the unallocated SeriesPartitionSlots will be allocated by the way
-
-        @return SUCCESS_STATUS if the SchemaPartitionTable got or created successfully
-                NOT_ENOUGH_DATA_NODE if the number of cluster DataNodes is not enough for creating new SchemaRegions
-                DATABASE_NOT_EXIST if some Databases don't exist
-
-        Parameters:
-         - req
-
-        """
-        self.send_getOrCreateSchemaPartitionTable(req)
-        return self.recv_getOrCreateSchemaPartitionTable()
-
-    def send_getOrCreateSchemaPartitionTable(self, req):
-        self._oprot.writeMessageBegin('getOrCreateSchemaPartitionTable', TMessageType.CALL, self._seqid)
-        args = getOrCreateSchemaPartitionTable_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getOrCreateSchemaPartitionTable(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getOrCreateSchemaPartitionTable_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getOrCreateSchemaPartitionTable failed: unknown result")
-
-    def getSchemaNodeManagementPartition(self, req):
-        """
-        Get the partition info used for schema node query and get the node info in CluterSchemaInfo.
-
-        Parameters:
-         - req
-
-        """
-        self.send_getSchemaNodeManagementPartition(req)
-        return self.recv_getSchemaNodeManagementPartition()
-
-    def send_getSchemaNodeManagementPartition(self, req):
-        self._oprot.writeMessageBegin('getSchemaNodeManagementPartition', TMessageType.CALL, self._seqid)
-        args = getSchemaNodeManagementPartition_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getSchemaNodeManagementPartition(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getSchemaNodeManagementPartition_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getSchemaNodeManagementPartition failed: unknown result")
-
-    def getDataPartitionTable(self, req):
-        """
-        Get DataPartitionTable by specific PartitionSlotsMap,
-        the returned DataPartitionTable will not contain the unallocated SeriesPartitionSlots and TimePartitionSlots
-
-        Parameters:
-         - req
-
-        """
-        self.send_getDataPartitionTable(req)
-        return self.recv_getDataPartitionTable()
-
-    def send_getDataPartitionTable(self, req):
-        self._oprot.writeMessageBegin('getDataPartitionTable', TMessageType.CALL, self._seqid)
-        args = getDataPartitionTable_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getDataPartitionTable(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getDataPartitionTable_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getDataPartitionTable failed: unknown result")
-
-    def getOrCreateDataPartitionTable(self, req):
-        """
-        Get or create DataPartitionTable by specific PartitionSlotsMap,
-        the returned SchemaPartitionTable always contains all the SeriesPartitionSlots and TimePartitionSlots
-        since the unallocated SeriesPartitionSlots and TimePartitionSlots will be allocated by the way
-
-        @return SUCCESS_STATUS if the DataPartitionTable got or created successfully
-                NOT_ENOUGH_DATA_NODE if the number of cluster DataNodes is not enough for creating new DataRegions
-                DATABASE_NOT_EXIST if some Databases don't exist
-
-        Parameters:
-         - req
-
-        """
-        self.send_getOrCreateDataPartitionTable(req)
-        return self.recv_getOrCreateDataPartitionTable()
-
-    def send_getOrCreateDataPartitionTable(self, req):
-        self._oprot.writeMessageBegin('getOrCreateDataPartitionTable', TMessageType.CALL, self._seqid)
-        args = getOrCreateDataPartitionTable_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getOrCreateDataPartitionTable(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getOrCreateDataPartitionTable_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getOrCreateDataPartitionTable failed: unknown result")
-
-    def operatePermission(self, req):
-        """
-        Execute permission write operations such as create user, create role, and grant permission.
-        There is no need to update the cache information of the DataNode for creating users and roles
-
-        @return SUCCESS_STATUS if the permission write operation is executed successfully
-                INVALIDATE_PERMISSION_CACHE_ERROR if the update cache of the permission information in the datanode fails
-                EXECUTE_PERMISSION_EXCEPTION_ERROR if the permission write operation fails, like the user doesn't exist
-                INTERNAL_SERVER_ERROR if the permission type does not exist
-
-        Parameters:
-         - req
-
-        """
-        self.send_operatePermission(req)
-        return self.recv_operatePermission()
-
-    def send_operatePermission(self, req):
-        self._oprot.writeMessageBegin('operatePermission', TMessageType.CALL, self._seqid)
-        args = operatePermission_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_operatePermission(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = operatePermission_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "operatePermission failed: unknown result")
-
-    def queryPermission(self, req):
-        """
-        Execute permission read operations such as list user
-
-        @return SUCCESS_STATUS if the permission read operation is executed successfully
-                ROLE_NOT_EXIST_ERROR if the role does not exist
-                USER_NOT_EXIST_ERROR if the user does not exist
-                INTERNAL_SERVER_ERROR if the permission type does not exist
-
-        Parameters:
-         - req
-
-        """
-        self.send_queryPermission(req)
-        return self.recv_queryPermission()
-
-    def send_queryPermission(self, req):
-        self._oprot.writeMessageBegin('queryPermission', TMessageType.CALL, self._seqid)
-        args = queryPermission_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_queryPermission(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = queryPermission_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "queryPermission failed: unknown result")
-
-    def login(self, req):
-        """
-        Authenticate user login
-
-        @return SUCCESS_STATUS if the user exists and the correct username and password are entered
-                WRONG_LOGIN_PASSWORD_ERROR if the user enters the wrong username or password
-
-        Parameters:
-         - req
-
-        """
-        self.send_login(req)
-        return self.recv_login()
-
-    def send_login(self, req):
-        self._oprot.writeMessageBegin('login', TMessageType.CALL, self._seqid)
-        args = login_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_login(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = login_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "login failed: unknown result")
-
-    def checkUserPrivileges(self, req):
-        """
-        Permission checking for user operations
-
-        @return SUCCESS_STATUS if the user has the permission
-                EXECUTE_PERMISSION_EXCEPTION_ERROR if the seriesPath or the privilege is illegal.
-                NO_PERMISSION_ERROR if the user does not have this permission
-
-        Parameters:
-         - req
-
-        """
-        self.send_checkUserPrivileges(req)
-        return self.recv_checkUserPrivileges()
-
-    def send_checkUserPrivileges(self, req):
-        self._oprot.writeMessageBegin('checkUserPrivileges', TMessageType.CALL, self._seqid)
-        args = checkUserPrivileges_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_checkUserPrivileges(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = checkUserPrivileges_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "checkUserPrivileges failed: unknown result")
-
-    def fetchAuthizedPatternTree(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        self.send_fetchAuthizedPatternTree(req)
-        return self.recv_fetchAuthizedPatternTree()
-
-    def send_fetchAuthizedPatternTree(self, req):
-        self._oprot.writeMessageBegin('fetchAuthizedPatternTree', TMessageType.CALL, self._seqid)
-        args = fetchAuthizedPatternTree_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_fetchAuthizedPatternTree(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = fetchAuthizedPatternTree_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchAuthizedPatternTree failed: unknown result")
-
-    def checkUserPrivilegeGrantOpt(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        self.send_checkUserPrivilegeGrantOpt(req)
-        return self.recv_checkUserPrivilegeGrantOpt()
-
-    def send_checkUserPrivilegeGrantOpt(self, req):
-        self._oprot.writeMessageBegin('checkUserPrivilegeGrantOpt', TMessageType.CALL, self._seqid)
-        args = checkUserPrivilegeGrantOpt_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_checkUserPrivilegeGrantOpt(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = checkUserPrivilegeGrantOpt_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "checkUserPrivilegeGrantOpt failed: unknown result")
-
-    def checkRoleOfUser(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        self.send_checkRoleOfUser(req)
-        return self.recv_checkRoleOfUser()
-
-    def send_checkRoleOfUser(self, req):
-        self._oprot.writeMessageBegin('checkRoleOfUser', TMessageType.CALL, self._seqid)
-        args = checkRoleOfUser_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_checkRoleOfUser(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = checkRoleOfUser_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "checkRoleOfUser failed: unknown result")
-
-    def registerConfigNode(self, req):
-        """
-        The Non-Seed-ConfigNode submit a registration request to the ConfigNode-leader when first startup
-
-        @return SUCCESS_STATUS if the AddConfigNodeProcedure submitted successfully.
-                REJECT_NODE_START if the configuration chek of the ConfigNode to be registered fails,
-                                  and a detailed error message will be returned.
-
-        Parameters:
-         - req
-
-        """
-        self.send_registerConfigNode(req)
-        return self.recv_registerConfigNode()
-
-    def send_registerConfigNode(self, req):
-        self._oprot.writeMessageBegin('registerConfigNode', TMessageType.CALL, self._seqid)
-        args = registerConfigNode_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_registerConfigNode(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = registerConfigNode_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "registerConfigNode failed: unknown result")
-
-    def addConsensusGroup(self, req):
-        """
-        The ConfigNode-leader will guide the Non-Seed-ConfigNode to join the ConsensusGroup when first startup
-
-        Parameters:
-         - req
-
-        """
-        self.send_addConsensusGroup(req)
-        return self.recv_addConsensusGroup()
-
-    def send_addConsensusGroup(self, req):
-        self._oprot.writeMessageBegin('addConsensusGroup', TMessageType.CALL, self._seqid)
-        args = addConsensusGroup_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_addConsensusGroup(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = addConsensusGroup_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "addConsensusGroup failed: unknown result")
-
-    def notifyRegisterSuccess(self):
-        """
-        The ConfigNode-leader will notify the Non-Seed-ConfigNode that the registration success
-
-        """
-        self.send_notifyRegisterSuccess()
-        return self.recv_notifyRegisterSuccess()
-
-    def send_notifyRegisterSuccess(self):
-        self._oprot.writeMessageBegin('notifyRegisterSuccess', TMessageType.CALL, self._seqid)
-        args = notifyRegisterSuccess_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_notifyRegisterSuccess(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = notifyRegisterSuccess_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "notifyRegisterSuccess failed: unknown result")
-
-    def removeConfigNode(self, configNodeLocation):
-        """
-        Remove the specific ConfigNode from the cluster
-
-        @return SUCCESS_STATUS if the RemoveConfigNodeProcedure submitted successfully
-                REMOVE_CONFIGNODE_FAILED if the number of ConfigNode is less than 1
-                                         or the specific ConfigNode doesn't exist
-                                         or the specific ConfigNode is leader
-
-        Parameters:
-         - configNodeLocation
-
-        """
-        self.send_removeConfigNode(configNodeLocation)
-        return self.recv_removeConfigNode()
-
-    def send_removeConfigNode(self, configNodeLocation):
-        self._oprot.writeMessageBegin('removeConfigNode', TMessageType.CALL, self._seqid)
-        args = removeConfigNode_args()
-        args.configNodeLocation = configNodeLocation
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_removeConfigNode(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = removeConfigNode_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "removeConfigNode failed: unknown result")
-
-    def deleteConfigNodePeer(self, configNodeLocation):
-        """
-        Let the specific ConfigNode delete the peer
-
-        @return SUCCESS_STATUS if delete peer  successfully
-                REMOVE_CONFIGNODE_FAILED if the specific ConfigNode doesn't exist in the current cluster
-                                         or Ratis internal failure
-
-        Parameters:
-         - configNodeLocation
-
-        """
-        self.send_deleteConfigNodePeer(configNodeLocation)
-        return self.recv_deleteConfigNodePeer()
-
-    def send_deleteConfigNodePeer(self, configNodeLocation):
-        self._oprot.writeMessageBegin('deleteConfigNodePeer', TMessageType.CALL, self._seqid)
-        args = deleteConfigNodePeer_args()
-        args.configNodeLocation = configNodeLocation
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_deleteConfigNodePeer(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = deleteConfigNodePeer_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteConfigNodePeer failed: unknown result")
-
-    def reportConfigNodeShutdown(self, configNodeLocation):
-        """
-        Report that the specified ConfigNode will be shutdown.
-        The ConfigNode-leader will mark it as Unknown.
-
-        @return SUCCESS_STATUS if reporting successfully
-
-        Parameters:
-         - configNodeLocation
-
-        """
-        self.send_reportConfigNodeShutdown(configNodeLocation)
-        return self.recv_reportConfigNodeShutdown()
-
-    def send_reportConfigNodeShutdown(self, configNodeLocation):
-        self._oprot.writeMessageBegin('reportConfigNodeShutdown', TMessageType.CALL, self._seqid)
-        args = reportConfigNodeShutdown_args()
-        args.configNodeLocation = configNodeLocation
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_reportConfigNodeShutdown(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = reportConfigNodeShutdown_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "reportConfigNodeShutdown failed: unknown result")
-
-    def stopConfigNode(self, configNodeLocation):
-        """
-        Stop the specific ConfigNode
-
-        Parameters:
-         - configNodeLocation
-
-        """
-        self.send_stopConfigNode(configNodeLocation)
-        return self.recv_stopConfigNode()
-
-    def send_stopConfigNode(self, configNodeLocation):
-        self._oprot.writeMessageBegin('stopConfigNode', TMessageType.CALL, self._seqid)
-        args = stopConfigNode_args()
-        args.configNodeLocation = configNodeLocation
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_stopConfigNode(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = stopConfigNode_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "stopConfigNode failed: unknown result")
-
-    def getConfigNodeHeartBeat(self, timestamp):
-        """
-        The ConfigNode-leader will ping other ConfigNodes periodically
-
-        Parameters:
-         - timestamp
-
-        """
-        self.send_getConfigNodeHeartBeat(timestamp)
-        return self.recv_getConfigNodeHeartBeat()
-
-    def send_getConfigNodeHeartBeat(self, timestamp):
-        self._oprot.writeMessageBegin('getConfigNodeHeartBeat', TMessageType.CALL, self._seqid)
-        args = getConfigNodeHeartBeat_args()
-        args.timestamp = timestamp
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getConfigNodeHeartBeat(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getConfigNodeHeartBeat_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getConfigNodeHeartBeat failed: unknown result")
-
-    def createFunction(self, req):
-        """
-        Create a function on all online ConfigNodes and DataNodes
-
-        @return SUCCESS_STATUS if the function was created successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        self.send_createFunction(req)
-        return self.recv_createFunction()
-
-    def send_createFunction(self, req):
-        self._oprot.writeMessageBegin('createFunction', TMessageType.CALL, self._seqid)
-        args = createFunction_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_createFunction(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = createFunction_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "createFunction failed: unknown result")
-
-    def dropFunction(self, req):
-        """
-        Remove a function on all online ConfigNodes and DataNodes
-
-        @return SUCCESS_STATUS if the function was removed successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        self.send_dropFunction(req)
-        return self.recv_dropFunction()
-
-    def send_dropFunction(self, req):
-        self._oprot.writeMessageBegin('dropFunction', TMessageType.CALL, self._seqid)
-        args = dropFunction_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_dropFunction(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = dropFunction_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "dropFunction failed: unknown result")
-
-    def getUDFTable(self):
-        """
-        Return the UDF table
-
-        """
-        self.send_getUDFTable()
-        return self.recv_getUDFTable()
-
-    def send_getUDFTable(self):
-        self._oprot.writeMessageBegin('getUDFTable', TMessageType.CALL, self._seqid)
-        args = getUDFTable_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getUDFTable(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getUDFTable_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getUDFTable failed: unknown result")
-
-    def getUDFJar(self, req):
-        """
-        Return the UDF jar list of the jar name list
-
-        Parameters:
-         - req
-
-        """
-        self.send_getUDFJar(req)
-        return self.recv_getUDFJar()
-
-    def send_getUDFJar(self, req):
-        self._oprot.writeMessageBegin('getUDFJar', TMessageType.CALL, self._seqid)
-        args = getUDFJar_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getUDFJar(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getUDFJar_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getUDFJar failed: unknown result")
-
-    def createTrigger(self, req):
-        """
-        Create a statless trigger on all online DataNodes or Create a stateful trigger on a specific DataNode
-        and sync Information of it to all ConfigNodes
-
-        @return SUCCESS_STATUS if the trigger was created successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        self.send_createTrigger(req)
-        return self.recv_createTrigger()
-
-    def send_createTrigger(self, req):
-        self._oprot.writeMessageBegin('createTrigger', TMessageType.CALL, self._seqid)
-        args = createTrigger_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_createTrigger(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = createTrigger_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "createTrigger failed: unknown result")
-
-    def dropTrigger(self, req):
-        """
-        Remove a trigger on all online ConfigNodes and DataNodes
-
-        @return SUCCESS_STATUS if the function was removed successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        self.send_dropTrigger(req)
-        return self.recv_dropTrigger()
-
-    def send_dropTrigger(self, req):
-        self._oprot.writeMessageBegin('dropTrigger', TMessageType.CALL, self._seqid)
-        args = dropTrigger_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_dropTrigger(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = dropTrigger_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "dropTrigger failed: unknown result")
-
-    def getLocationOfStatefulTrigger(self, triggerName):
-        """
-        Get TDataNodeLocation of a stateful trigger
-
-        Parameters:
-         - triggerName
-
-        """
-        self.send_getLocationOfStatefulTrigger(triggerName)
-        return self.recv_getLocationOfStatefulTrigger()
-
-    def send_getLocationOfStatefulTrigger(self, triggerName):
-        self._oprot.writeMessageBegin('getLocationOfStatefulTrigger', TMessageType.CALL, self._seqid)
-        args = getLocationOfStatefulTrigger_args()
-        args.triggerName = triggerName
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getLocationOfStatefulTrigger(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getLocationOfStatefulTrigger_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getLocationOfStatefulTrigger failed: unknown result")
-
-    def getTriggerTable(self):
-        """
-        Return the trigger table
-
-        """
-        self.send_getTriggerTable()
-        return self.recv_getTriggerTable()
-
-    def send_getTriggerTable(self):
-        self._oprot.writeMessageBegin('getTriggerTable', TMessageType.CALL, self._seqid)
-        args = getTriggerTable_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getTriggerTable(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getTriggerTable_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getTriggerTable failed: unknown result")
-
-    def getStatefulTriggerTable(self):
-        """
-        Return the Stateful trigger table
-
-        """
-        self.send_getStatefulTriggerTable()
-        return self.recv_getStatefulTriggerTable()
-
-    def send_getStatefulTriggerTable(self):
-        self._oprot.writeMessageBegin('getStatefulTriggerTable', TMessageType.CALL, self._seqid)
-        args = getStatefulTriggerTable_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getStatefulTriggerTable(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getStatefulTriggerTable_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getStatefulTriggerTable failed: unknown result")
-
-    def getTriggerJar(self, req):
-        """
-        Return the trigger jar list of the trigger name list
-
-        Parameters:
-         - req
-
-        """
-        self.send_getTriggerJar(req)
-        return self.recv_getTriggerJar()
-
-    def send_getTriggerJar(self, req):
-        self._oprot.writeMessageBegin('getTriggerJar', TMessageType.CALL, self._seqid)
-        args = getTriggerJar_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getTriggerJar(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getTriggerJar_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getTriggerJar failed: unknown result")
-
-    def createPipePlugin(self, req):
-        """
-        Create a pipe plugin on the specified DataNode
-
-        @return SUCCESS_STATUS if the pipe plugin was created successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        self.send_createPipePlugin(req)
-        return self.recv_createPipePlugin()
-
-    def send_createPipePlugin(self, req):
-        self._oprot.writeMessageBegin('createPipePlugin', TMessageType.CALL, self._seqid)
-        args = createPipePlugin_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_createPipePlugin(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = createPipePlugin_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "createPipePlugin failed: unknown result")
-
-    def dropPipePlugin(self, req):
-        """
-        Remove a pipe plugin on the DataNodes
-
-        @return SUCCESS_STATUS if the pipe plugin was removed successfully
-                EXECUTE_STATEMENT_ERROR if operations on any node failed
-
-        Parameters:
-         - req
-
-        """
-        self.send_dropPipePlugin(req)
-        return self.recv_dropPipePlugin()
-
-    def send_dropPipePlugin(self, req):
-        self._oprot.writeMessageBegin('dropPipePlugin', TMessageType.CALL, self._seqid)
-        args = dropPipePlugin_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_dropPipePlugin(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = dropPipePlugin_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "dropPipePlugin failed: unknown result")
-
-    def getPipePluginTable(self):
-        """
-        Return the pipe plugin table
-
-        """
-        self.send_getPipePluginTable()
-        return self.recv_getPipePluginTable()
-
-    def send_getPipePluginTable(self):
-        self._oprot.writeMessageBegin('getPipePluginTable', TMessageType.CALL, self._seqid)
-        args = getPipePluginTable_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getPipePluginTable(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getPipePluginTable_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getPipePluginTable failed: unknown result")
-
-    def getPipePluginJar(self, req):
-        """
-        Return the pipe plugin jar list of the plugin name list
-
-        Parameters:
-         - req
-
-        """
-        self.send_getPipePluginJar(req)
-        return self.recv_getPipePluginJar()
-
-    def send_getPipePluginJar(self, req):
-        self._oprot.writeMessageBegin('getPipePluginJar', TMessageType.CALL, self._seqid)
-        args = getPipePluginJar_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getPipePluginJar(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getPipePluginJar_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getPipePluginJar failed: unknown result")
-
-    def merge(self):
-        """
-        Execute Level Compaction and unsequence Compaction task on all DataNodes
-
-        """
-        self.send_merge()
-        return self.recv_merge()
-
-    def send_merge(self):
-        self._oprot.writeMessageBegin('merge', TMessageType.CALL, self._seqid)
-        args = merge_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_merge(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = merge_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "merge failed: unknown result")
-
-    def flush(self, req):
-        """
-        Persist all the data points in the memory table of the database to the disk, and seal the data file on all DataNodes
-
-        Parameters:
-         - req
-
-        """
-        self.send_flush(req)
-        return self.recv_flush()
-
-    def send_flush(self, req):
-        self._oprot.writeMessageBegin('flush', TMessageType.CALL, self._seqid)
-        args = flush_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_flush(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = flush_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "flush failed: unknown result")
-
-    def clearCache(self):
-        """
-        Clear the cache of chunk, chunk metadata and timeseries metadata to release the memory footprint on all DataNodes
-
-        """
-        self.send_clearCache()
-        return self.recv_clearCache()
-
-    def send_clearCache(self):
-        self._oprot.writeMessageBegin('clearCache', TMessageType.CALL, self._seqid)
-        args = clearCache_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_clearCache(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = clearCache_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "clearCache failed: unknown result")
-
-    def loadConfiguration(self):
-        """
-        Load configuration on all DataNodes
-
-        """
-        self.send_loadConfiguration()
-        return self.recv_loadConfiguration()
-
-    def send_loadConfiguration(self):
-        self._oprot.writeMessageBegin('loadConfiguration', TMessageType.CALL, self._seqid)
-        args = loadConfiguration_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_loadConfiguration(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = loadConfiguration_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "loadConfiguration failed: unknown result")
-
-    def setSystemStatus(self, status):
-        """
-        Set system status on DataNodes
-
-        Parameters:
-         - status
-
-        """
-        self.send_setSystemStatus(status)
-        return self.recv_setSystemStatus()
-
-    def send_setSystemStatus(self, status):
-        self._oprot.writeMessageBegin('setSystemStatus', TMessageType.CALL, self._seqid)
-        args = setSystemStatus_args()
-        args.status = status
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_setSystemStatus(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = setSystemStatus_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "setSystemStatus failed: unknown result")
-
-    def setDataNodeStatus(self, req):
-        """
-        TestOnly. Set the target DataNode to the specified status
-
-        Parameters:
-         - req
-
-        """
-        self.send_setDataNodeStatus(req)
-        return self.recv_setDataNodeStatus()
-
-    def send_setDataNodeStatus(self, req):
-        self._oprot.writeMessageBegin('setDataNodeStatus', TMessageType.CALL, self._seqid)
-        args = setDataNodeStatus_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_setDataNodeStatus(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = setDataNodeStatus_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "setDataNodeStatus failed: unknown result")
-
-    def migrateRegion(self, req):
-        """
-        Migrate a region replica from one dataNode to another
-
-        Parameters:
-         - req
-
-        """
-        self.send_migrateRegion(req)
-        return self.recv_migrateRegion()
-
-    def send_migrateRegion(self, req):
-        self._oprot.writeMessageBegin('migrateRegion', TMessageType.CALL, self._seqid)
-        args = migrateRegion_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_migrateRegion(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = migrateRegion_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "migrateRegion failed: unknown result")
-
-    def killQuery(self, queryId, dataNodeId):
-        """
-        Kill query
-
-        Parameters:
-         - queryId
-         - dataNodeId
-
-        """
-        self.send_killQuery(queryId, dataNodeId)
-        return self.recv_killQuery()
-
-    def send_killQuery(self, queryId, dataNodeId):
-        self._oprot.writeMessageBegin('killQuery', TMessageType.CALL, self._seqid)
-        args = killQuery_args()
-        args.queryId = queryId
-        args.dataNodeId = dataNodeId
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_killQuery(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = killQuery_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "killQuery failed: unknown result")
-
-    def getRunningDataNodeLocations(self):
-        """
-        Get all DataNodeLocations of Running DataNodes
-
-        """
-        self.send_getRunningDataNodeLocations()
-        return self.recv_getRunningDataNodeLocations()
-
-    def send_getRunningDataNodeLocations(self):
-        self._oprot.writeMessageBegin('getRunningDataNodeLocations', TMessageType.CALL, self._seqid)
-        args = getRunningDataNodeLocations_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getRunningDataNodeLocations(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getRunningDataNodeLocations_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getRunningDataNodeLocations failed: unknown result")
-
-    def showCluster(self):
-        """
-        Show cluster ConfigNodes' and DataNodes' information
-
-        """
-        self.send_showCluster()
-        return self.recv_showCluster()
-
-    def send_showCluster(self):
-        self._oprot.writeMessageBegin('showCluster', TMessageType.CALL, self._seqid)
-        args = showCluster_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showCluster(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showCluster_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showCluster failed: unknown result")
-
-    def showVariables(self):
-        """
-        Show variables who should be consist in the same cluster
-
-        """
-        self.send_showVariables()
-        return self.recv_showVariables()
-
-    def send_showVariables(self):
-        self._oprot.writeMessageBegin('showVariables', TMessageType.CALL, self._seqid)
-        args = showVariables_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showVariables(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showVariables_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showVariables failed: unknown result")
-
-    def showDataNodes(self):
-        """
-        Show cluster DataNodes' information
-
-        """
-        self.send_showDataNodes()
-        return self.recv_showDataNodes()
-
-    def send_showDataNodes(self):
-        self._oprot.writeMessageBegin('showDataNodes', TMessageType.CALL, self._seqid)
-        args = showDataNodes_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showDataNodes(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showDataNodes_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showDataNodes failed: unknown result")
-
-    def showConfigNodes(self):
-        """
-        Show cluster ConfigNodes' information
-
-        """
-        self.send_showConfigNodes()
-        return self.recv_showConfigNodes()
-
-    def send_showConfigNodes(self):
-        self._oprot.writeMessageBegin('showConfigNodes', TMessageType.CALL, self._seqid)
-        args = showConfigNodes_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showConfigNodes(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showConfigNodes_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showConfigNodes failed: unknown result")
-
-    def showDatabase(self, req):
-        """
-        Show cluster Databases' information
-
-        Parameters:
-         - req
-
-        """
-        self.send_showDatabase(req)
-        return self.recv_showDatabase()
-
-    def send_showDatabase(self, req):
-        self._oprot.writeMessageBegin('showDatabase', TMessageType.CALL, self._seqid)
-        args = showDatabase_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showDatabase(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showDatabase_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showDatabase failed: unknown result")
-
-    def showRegion(self, req):
-        """
-        Show the matched cluster Regions' information
-        See https://apache-iotdb.feishu.cn/docx/doxcnOzmIlaE2MX5tKjmYWuMSRg for detailed matching rules
-
-        Parameters:
-         - req
-
-        """
-        self.send_showRegion(req)
-        return self.recv_showRegion()
-
-    def send_showRegion(self, req):
-        self._oprot.writeMessageBegin('showRegion', TMessageType.CALL, self._seqid)
-        args = showRegion_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showRegion(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showRegion_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showRegion failed: unknown result")
-
-    def getLatestRegionRouteMap(self):
-        """
-        The ConfigNode-leader will generate and return a latest RegionRouteMap
-
-        """
-        self.send_getLatestRegionRouteMap()
-        return self.recv_getLatestRegionRouteMap()
-
-    def send_getLatestRegionRouteMap(self):
-        self._oprot.writeMessageBegin('getLatestRegionRouteMap', TMessageType.CALL, self._seqid)
-        args = getLatestRegionRouteMap_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getLatestRegionRouteMap(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getLatestRegionRouteMap_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestRegionRouteMap failed: unknown result")
-
-    def createSchemaTemplate(self, req):
-        """
-        Create device template
-
-        Parameters:
-         - req
-
-        """
-        self.send_createSchemaTemplate(req)
-        return self.recv_createSchemaTemplate()
-
-    def send_createSchemaTemplate(self, req):
-        self._oprot.writeMessageBegin('createSchemaTemplate', TMessageType.CALL, self._seqid)
-        args = createSchemaTemplate_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_createSchemaTemplate(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = createSchemaTemplate_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "createSchemaTemplate failed: unknown result")
-
-    def getAllTemplates(self):
-        """
-        Get all device template info and template set info for DataNode registeration
-
-        """
-        self.send_getAllTemplates()
-        return self.recv_getAllTemplates()
-
-    def send_getAllTemplates(self):
-        self._oprot.writeMessageBegin('getAllTemplates', TMessageType.CALL, self._seqid)
-        args = getAllTemplates_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getAllTemplates(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getAllTemplates_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllTemplates failed: unknown result")
-
-    def getTemplate(self, req):
-        """
-        Get one device template info
-
-        Parameters:
-         - req
-
-        """
-        self.send_getTemplate(req)
-        return self.recv_getTemplate()
-
-    def send_getTemplate(self, req):
-        self._oprot.writeMessageBegin('getTemplate', TMessageType.CALL, self._seqid)
-        args = getTemplate_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getTemplate(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getTemplate_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getTemplate failed: unknown result")
-
-    def setSchemaTemplate(self, req):
-        """
-        Set given device template to given path
-
-        Parameters:
-         - req
-
-        """
-        self.send_setSchemaTemplate(req)
-        return self.recv_setSchemaTemplate()
-
-    def send_setSchemaTemplate(self, req):
-        self._oprot.writeMessageBegin('setSchemaTemplate', TMessageType.CALL, self._seqid)
-        args = setSchemaTemplate_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_setSchemaTemplate(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = setSchemaTemplate_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "setSchemaTemplate failed: unknown result")
-
-    def getPathsSetTemplate(self, req):
-        """
-        Get paths setting given device template
-
-        Parameters:
-         - req
-
-        """
-        self.send_getPathsSetTemplate(req)
-        return self.recv_getPathsSetTemplate()
-
-    def send_getPathsSetTemplate(self, req):
-        self._oprot.writeMessageBegin('getPathsSetTemplate', TMessageType.CALL, self._seqid)
-        args = getPathsSetTemplate_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getPathsSetTemplate(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getPathsSetTemplate_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getPathsSetTemplate failed: unknown result")
-
-    def deactivateSchemaTemplate(self, req):
-        """
-        Deactivate device template from paths matched by given pattern tree in cluster
-
-        Parameters:
-         - req
-
-        """
-        self.send_deactivateSchemaTemplate(req)
-        return self.recv_deactivateSchemaTemplate()
-
-    def send_deactivateSchemaTemplate(self, req):
-        self._oprot.writeMessageBegin('deactivateSchemaTemplate', TMessageType.CALL, self._seqid)
-        args = deactivateSchemaTemplate_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_deactivateSchemaTemplate(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = deactivateSchemaTemplate_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "deactivateSchemaTemplate failed: unknown result")
-
-    def unsetSchemaTemplate(self, req):
-        """
-        Unset device template from given path
-
-        Parameters:
-         - req
-
-        """
-        self.send_unsetSchemaTemplate(req)
-        return self.recv_unsetSchemaTemplate()
-
-    def send_unsetSchemaTemplate(self, req):
-        self._oprot.writeMessageBegin('unsetSchemaTemplate', TMessageType.CALL, self._seqid)
-        args = unsetSchemaTemplate_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_unsetSchemaTemplate(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = unsetSchemaTemplate_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "unsetSchemaTemplate failed: unknown result")
-
-    def dropSchemaTemplate(self, req):
-        """
-        Drop device template
-
-        Parameters:
-         - req
-
-        """
-        self.send_dropSchemaTemplate(req)
-        return self.recv_dropSchemaTemplate()
-
-    def send_dropSchemaTemplate(self, req):
-        self._oprot.writeMessageBegin('dropSchemaTemplate', TMessageType.CALL, self._seqid)
-        args = dropSchemaTemplate_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_dropSchemaTemplate(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = dropSchemaTemplate_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "dropSchemaTemplate failed: unknown result")
-
-    def alterSchemaTemplate(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        self.send_alterSchemaTemplate(req)
-        return self.recv_alterSchemaTemplate()
-
-    def send_alterSchemaTemplate(self, req):
-        self._oprot.writeMessageBegin('alterSchemaTemplate', TMessageType.CALL, self._seqid)
-        args = alterSchemaTemplate_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_alterSchemaTemplate(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = alterSchemaTemplate_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "alterSchemaTemplate failed: unknown result")
-
-    def deleteTimeSeries(self, req):
-        """
-        Generate a set of DeleteTimeSeriesProcedure to delete some specific TimeSeries
-
-        @return SUCCESS_STATUS if the DeleteTimeSeriesProcedure submitted and executed successfully
-                TIMESERIES_NOT_EXIST if the specific TimeSeries doesn't exist
-                EXECUTE_STATEMENT_ERROR if failed to submit or execute the DeleteTimeSeriesProcedure
-
-        Parameters:
-         - req
-
-        """
-        self.send_deleteTimeSeries(req)
-        return self.recv_deleteTimeSeries()
-
-    def send_deleteTimeSeries(self, req):
-        self._oprot.writeMessageBegin('deleteTimeSeries', TMessageType.CALL, self._seqid)
-        args = deleteTimeSeries_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_deleteTimeSeries(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = deleteTimeSeries_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteTimeSeries failed: unknown result")
-
-    def deleteLogicalView(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        self.send_deleteLogicalView(req)
-        return self.recv_deleteLogicalView()
-
-    def send_deleteLogicalView(self, req):
-        self._oprot.writeMessageBegin('deleteLogicalView', TMessageType.CALL, self._seqid)
-        args = deleteLogicalView_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_deleteLogicalView(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = deleteLogicalView_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteLogicalView failed: unknown result")
-
-    def alterLogicalView(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        self.send_alterLogicalView(req)
-        return self.recv_alterLogicalView()
-
-    def send_alterLogicalView(self, req):
-        self._oprot.writeMessageBegin('alterLogicalView', TMessageType.CALL, self._seqid)
-        args = alterLogicalView_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_alterLogicalView(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = alterLogicalView_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "alterLogicalView failed: unknown result")
-
-    def createPipeSink(self, req):
-        """
-        Create PipeSink
-
-        Parameters:
-         - req
-
-        """
-        self.send_createPipeSink(req)
-        return self.recv_createPipeSink()
-
-    def send_createPipeSink(self, req):
-        self._oprot.writeMessageBegin('createPipeSink', TMessageType.CALL, self._seqid)
-        args = createPipeSink_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_createPipeSink(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = createPipeSink_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "createPipeSink failed: unknown result")
-
-    def dropPipeSink(self, req):
-        """
-        Drop PipeSink
-
-        Parameters:
-         - req
-
-        """
-        self.send_dropPipeSink(req)
-        return self.recv_dropPipeSink()
-
-    def send_dropPipeSink(self, req):
-        self._oprot.writeMessageBegin('dropPipeSink', TMessageType.CALL, self._seqid)
-        args = dropPipeSink_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_dropPipeSink(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = dropPipeSink_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "dropPipeSink failed: unknown result")
-
-    def getPipeSink(self, req):
-        """
-        Get PipeSink by name, if name is empty, get all PipeSink
-
-        Parameters:
-         - req
-
-        """
-        self.send_getPipeSink(req)
-        return self.recv_getPipeSink()
-
-    def send_getPipeSink(self, req):
-        self._oprot.writeMessageBegin('getPipeSink', TMessageType.CALL, self._seqid)
-        args = getPipeSink_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getPipeSink(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getPipeSink_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getPipeSink failed: unknown result")
-
-    def createPipe(self, req):
-        """
-        Create Pipe
-
-        Parameters:
-         - req
-
-        """
-        self.send_createPipe(req)
-        return self.recv_createPipe()
-
-    def send_createPipe(self, req):
-        self._oprot.writeMessageBegin('createPipe', TMessageType.CALL, self._seqid)
-        args = createPipe_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_createPipe(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = createPipe_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "createPipe failed: unknown result")
-
-    def startPipe(self, pipeName):
-        """
-        Start Pipe
-
-        Parameters:
-         - pipeName
-
-        """
-        self.send_startPipe(pipeName)
-        return self.recv_startPipe()
-
-    def send_startPipe(self, pipeName):
-        self._oprot.writeMessageBegin('startPipe', TMessageType.CALL, self._seqid)
-        args = startPipe_args()
-        args.pipeName = pipeName
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_startPipe(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = startPipe_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "startPipe failed: unknown result")
-
-    def stopPipe(self, pipeName):
-        """
-        Stop Pipe
-
-        Parameters:
-         - pipeName
-
-        """
-        self.send_stopPipe(pipeName)
-        return self.recv_stopPipe()
-
-    def send_stopPipe(self, pipeName):
-        self._oprot.writeMessageBegin('stopPipe', TMessageType.CALL, self._seqid)
-        args = stopPipe_args()
-        args.pipeName = pipeName
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_stopPipe(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = stopPipe_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "stopPipe failed: unknown result")
-
-    def dropPipe(self, pipeName):
-        """
-        Drop Pipe
-
-        Parameters:
-         - pipeName
-
-        """
-        self.send_dropPipe(pipeName)
-        return self.recv_dropPipe()
-
-    def send_dropPipe(self, pipeName):
-        self._oprot.writeMessageBegin('dropPipe', TMessageType.CALL, self._seqid)
-        args = dropPipe_args()
-        args.pipeName = pipeName
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_dropPipe(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = dropPipe_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "dropPipe failed: unknown result")
-
-    def showPipe(self, req):
-        """
-        Show Pipe by name, if name is empty, show all Pipe
-
-        Parameters:
-         - req
-
-        """
-        self.send_showPipe(req)
-        return self.recv_showPipe()
-
-    def send_showPipe(self, req):
-        self._oprot.writeMessageBegin('showPipe', TMessageType.CALL, self._seqid)
-        args = showPipe_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showPipe(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showPipe_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showPipe failed: unknown result")
-
-    def getAllPipeInfo(self):
-        self.send_getAllPipeInfo()
-        return self.recv_getAllPipeInfo()
-
-    def send_getAllPipeInfo(self):
-        self._oprot.writeMessageBegin('getAllPipeInfo', TMessageType.CALL, self._seqid)
-        args = getAllPipeInfo_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getAllPipeInfo(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getAllPipeInfo_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllPipeInfo failed: unknown result")
-
-    def getRegionId(self, req):
-        """
-        Get a particular DataPartition's corresponding Regions
-
-        Parameters:
-         - req
-
-        """
-        self.send_getRegionId(req)
-        return self.recv_getRegionId()
-
-    def send_getRegionId(self, req):
-        self._oprot.writeMessageBegin('getRegionId', TMessageType.CALL, self._seqid)
-        args = getRegionId_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getRegionId(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getRegionId_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getRegionId failed: unknown result")
-
-    def getTimeSlotList(self, req):
-        """
-        Get a specific SeriesSlot's TimeSlots by start time and end time
-
-        Parameters:
-         - req
-
-        """
-        self.send_getTimeSlotList(req)
-        return self.recv_getTimeSlotList()
-
-    def send_getTimeSlotList(self, req):
-        self._oprot.writeMessageBegin('getTimeSlotList', TMessageType.CALL, self._seqid)
-        args = getTimeSlotList_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getTimeSlotList(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getTimeSlotList_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getTimeSlotList failed: unknown result")
-
-    def countTimeSlotList(self, req):
-        """
-        Parameters:
-         - req
-
-        """
-        self.send_countTimeSlotList(req)
-        return self.recv_countTimeSlotList()
-
-    def send_countTimeSlotList(self, req):
-        self._oprot.writeMessageBegin('countTimeSlotList', TMessageType.CALL, self._seqid)
-        args = countTimeSlotList_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_countTimeSlotList(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = countTimeSlotList_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "countTimeSlotList failed: unknown result")
-
-    def getSeriesSlotList(self, req):
-        """
-        Get the given database's assigned SeriesSlots
-
-        Parameters:
-         - req
-
-        """
-        self.send_getSeriesSlotList(req)
-        return self.recv_getSeriesSlotList()
-
-    def send_getSeriesSlotList(self, req):
-        self._oprot.writeMessageBegin('getSeriesSlotList', TMessageType.CALL, self._seqid)
-        args = getSeriesSlotList_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getSeriesSlotList(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getSeriesSlotList_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getSeriesSlotList failed: unknown result")
-
-    def createCQ(self, req):
-        """
-        Create a CQ
-
-        @return SUCCESS_STATUS if the cq was created successfully
-
-        Parameters:
-         - req
-
-        """
-        self.send_createCQ(req)
-        return self.recv_createCQ()
-
-    def send_createCQ(self, req):
-        self._oprot.writeMessageBegin('createCQ', TMessageType.CALL, self._seqid)
-        args = createCQ_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_createCQ(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = createCQ_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "createCQ failed: unknown result")
-
-    def dropCQ(self, req):
-        """
-        Drop a CQ
-
-        @return SUCCESS_STATUS if the CQ was removed successfully
-
-        Parameters:
-         - req
-
-        """
-        self.send_dropCQ(req)
-        return self.recv_dropCQ()
-
-    def send_dropCQ(self, req):
-        self._oprot.writeMessageBegin('dropCQ', TMessageType.CALL, self._seqid)
-        args = dropCQ_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_dropCQ(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = dropCQ_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "dropCQ failed: unknown result")
-
-    def showCQ(self):
-        """
-        Return the cq table of config leader
-
-        """
-        self.send_showCQ()
-        return self.recv_showCQ()
-
-    def send_showCQ(self):
-        self._oprot.writeMessageBegin('showCQ', TMessageType.CALL, self._seqid)
-        args = showCQ_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showCQ(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showCQ_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showCQ failed: unknown result")
-
-    def createModel(self, req):
-        """
-        Create a model
-
-        @return SUCCESS_STATUS if the model was created successfully
-
-        Parameters:
-         - req
-
-        """
-        self.send_createModel(req)
-        return self.recv_createModel()
-
-    def send_createModel(self, req):
-        self._oprot.writeMessageBegin('createModel', TMessageType.CALL, self._seqid)
-        args = createModel_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_createModel(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = createModel_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "createModel failed: unknown result")
-
-    def dropModel(self, req):
-        """
-        Drop a model
-
-        @return SUCCESS_STATUS if the model was removed successfully
-
-        Parameters:
-         - req
-
-        """
-        self.send_dropModel(req)
-        return self.recv_dropModel()
-
-    def send_dropModel(self, req):
-        self._oprot.writeMessageBegin('dropModel', TMessageType.CALL, self._seqid)
-        args = dropModel_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_dropModel(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = dropModel_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "dropModel failed: unknown result")
-
-    def showModel(self, req):
-        """
-        Return the model table
-
-        Parameters:
-         - req
-
-        """
-        self.send_showModel(req)
-        return self.recv_showModel()
-
-    def send_showModel(self, req):
-        self._oprot.writeMessageBegin('showModel', TMessageType.CALL, self._seqid)
-        args = showModel_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showModel(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showModel_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showModel failed: unknown result")
-
-    def showTrial(self, req):
-        """
-        Return the trial table
-
-        Parameters:
-         - req
-
-        """
-        self.send_showTrial(req)
-        return self.recv_showTrial()
-
-    def send_showTrial(self, req):
-        self._oprot.writeMessageBegin('showTrial', TMessageType.CALL, self._seqid)
-        args = showTrial_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showTrial(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showTrial_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showTrial failed: unknown result")
-
-    def updateModelInfo(self, req):
-        """
-        Update the model info
-
-        @return SUCCESS_STATUS if the model was removed successfully
-
-        Parameters:
-         - req
-
-        """
-        self.send_updateModelInfo(req)
-        return self.recv_updateModelInfo()
-
-    def send_updateModelInfo(self, req):
-        self._oprot.writeMessageBegin('updateModelInfo', TMessageType.CALL, self._seqid)
-        args = updateModelInfo_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_updateModelInfo(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = updateModelInfo_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "updateModelInfo failed: unknown result")
-
-    def updateModelState(self, req):
-        """
-        Update the model state
-
-        @return SUCCESS_STATUS if the model was removed successfully
-
-        Parameters:
-         - req
-
-        """
-        self.send_updateModelState(req)
-        return self.recv_updateModelState()
-
-    def send_updateModelState(self, req):
-        self._oprot.writeMessageBegin('updateModelState', TMessageType.CALL, self._seqid)
-        args = updateModelState_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_updateModelState(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = updateModelState_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "updateModelState failed: unknown result")
-
-    def getModelInfo(self, req):
-        """
-        Return the model info by model_id
-
-        Parameters:
-         - req
-
-        """
-        self.send_getModelInfo(req)
-        return self.recv_getModelInfo()
-
-    def send_getModelInfo(self, req):
-        self._oprot.writeMessageBegin('getModelInfo', TMessageType.CALL, self._seqid)
-        args = getModelInfo_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getModelInfo(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getModelInfo_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getModelInfo failed: unknown result")
-
-    def setSpaceQuota(self, req):
-        """
-        Set Space Quota
-
-        Parameters:
-         - req
-
-        """
-        self.send_setSpaceQuota(req)
-        return self.recv_setSpaceQuota()
-
-    def send_setSpaceQuota(self, req):
-        self._oprot.writeMessageBegin('setSpaceQuota', TMessageType.CALL, self._seqid)
-        args = setSpaceQuota_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_setSpaceQuota(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = setSpaceQuota_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "setSpaceQuota failed: unknown result")
-
-    def showSpaceQuota(self, databases):
-        """
-        Show space quota
-
-        Parameters:
-         - databases
-
-        """
-        self.send_showSpaceQuota(databases)
-        return self.recv_showSpaceQuota()
-
-    def send_showSpaceQuota(self, databases):
-        self._oprot.writeMessageBegin('showSpaceQuota', TMessageType.CALL, self._seqid)
-        args = showSpaceQuota_args()
-        args.databases = databases
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showSpaceQuota(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showSpaceQuota_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showSpaceQuota failed: unknown result")
-
-    def getSpaceQuota(self):
-        """
-        Get space quota information
-
-        """
-        self.send_getSpaceQuota()
-        return self.recv_getSpaceQuota()
-
-    def send_getSpaceQuota(self):
-        self._oprot.writeMessageBegin('getSpaceQuota', TMessageType.CALL, self._seqid)
-        args = getSpaceQuota_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getSpaceQuota(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getSpaceQuota_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getSpaceQuota failed: unknown result")
-
-    def setThrottleQuota(self, req):
-        """
-        Set throttle quota
-
-        Parameters:
-         - req
-
-        """
-        self.send_setThrottleQuota(req)
-        return self.recv_setThrottleQuota()
-
-    def send_setThrottleQuota(self, req):
-        self._oprot.writeMessageBegin('setThrottleQuota', TMessageType.CALL, self._seqid)
-        args = setThrottleQuota_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_setThrottleQuota(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = setThrottleQuota_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "setThrottleQuota failed: unknown result")
-
-    def showThrottleQuota(self, req):
-        """
-        Show throttle quota
-
-        Parameters:
-         - req
-
-        """
-        self.send_showThrottleQuota(req)
-        return self.recv_showThrottleQuota()
-
-    def send_showThrottleQuota(self, req):
-        self._oprot.writeMessageBegin('showThrottleQuota', TMessageType.CALL, self._seqid)
-        args = showThrottleQuota_args()
-        args.req = req
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_showThrottleQuota(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = showThrottleQuota_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "showThrottleQuota failed: unknown result")
-
-    def getThrottleQuota(self):
-        """
-        Get throttle quota information
-
-        """
-        self.send_getThrottleQuota()
-        return self.recv_getThrottleQuota()
-
-    def send_getThrottleQuota(self):
-        self._oprot.writeMessageBegin('getThrottleQuota', TMessageType.CALL, self._seqid)
-        args = getThrottleQuota_args()
-        args.write(self._oprot)
-        self._oprot.writeMessageEnd()
-        self._oprot.trans.flush()
-
-    def recv_getThrottleQuota(self):
-        iprot = self._iprot
-        (fname, mtype, rseqid) = iprot.readMessageBegin()
-        if mtype == TMessageType.EXCEPTION:
-            x = TApplicationException()
-            x.read(iprot)
-            iprot.readMessageEnd()
-            raise x
-        result = getThrottleQuota_result()
-        result.read(iprot)
-        iprot.readMessageEnd()
-        if result.success is not None:
-            return result.success
-        raise TApplicationException(TApplicationException.MISSING_RESULT, "getThrottleQuota failed: unknown result")
-
-
-class Processor(Iface, TProcessor):
-    def __init__(self, handler):
-        self._handler = handler
-        self._processMap = {}
-        self._processMap["registerDataNode"] = Processor.process_registerDataNode
-        self._processMap["restartDataNode"] = Processor.process_restartDataNode
-        self._processMap["getSystemConfiguration"] = Processor.process_getSystemConfiguration
-        self._processMap["removeDataNode"] = Processor.process_removeDataNode
-        self._processMap["reportDataNodeShutdown"] = Processor.process_reportDataNodeShutdown
-        self._processMap["getDataNodeConfiguration"] = Processor.process_getDataNodeConfiguration
-        self._processMap["reportRegionMigrateResult"] = Processor.process_reportRegionMigrateResult
-        self._processMap["setDatabase"] = Processor.process_setDatabase
-        self._processMap["alterDatabase"] = Processor.process_alterDatabase
-        self._processMap["deleteDatabase"] = Processor.process_deleteDatabase
-        self._processMap["deleteDatabases"] = Processor.process_deleteDatabases
-        self._processMap["setTTL"] = Processor.process_setTTL
-        self._processMap["setSchemaReplicationFactor"] = Processor.process_setSchemaReplicationFactor
-        self._processMap["setDataReplicationFactor"] = Processor.process_setDataReplicationFactor
-        self._processMap["setTimePartitionInterval"] = Processor.process_setTimePartitionInterval
-        self._processMap["countMatchedDatabases"] = Processor.process_countMatchedDatabases
-        self._processMap["getMatchedDatabaseSchemas"] = Processor.process_getMatchedDatabaseSchemas
-        self._processMap["getSchemaPartitionTable"] = Processor.process_getSchemaPartitionTable
-        self._processMap["getOrCreateSchemaPartitionTable"] = Processor.process_getOrCreateSchemaPartitionTable
-        self._processMap["getSchemaNodeManagementPartition"] = Processor.process_getSchemaNodeManagementPartition
-        self._processMap["getDataPartitionTable"] = Processor.process_getDataPartitionTable
-        self._processMap["getOrCreateDataPartitionTable"] = Processor.process_getOrCreateDataPartitionTable
-        self._processMap["operatePermission"] = Processor.process_operatePermission
-        self._processMap["queryPermission"] = Processor.process_queryPermission
-        self._processMap["login"] = Processor.process_login
-        self._processMap["checkUserPrivileges"] = Processor.process_checkUserPrivileges
-        self._processMap["fetchAuthizedPatternTree"] = Processor.process_fetchAuthizedPatternTree
-        self._processMap["checkUserPrivilegeGrantOpt"] = Processor.process_checkUserPrivilegeGrantOpt
-        self._processMap["checkRoleOfUser"] = Processor.process_checkRoleOfUser
-        self._processMap["registerConfigNode"] = Processor.process_registerConfigNode
-        self._processMap["addConsensusGroup"] = Processor.process_addConsensusGroup
-        self._processMap["notifyRegisterSuccess"] = Processor.process_notifyRegisterSuccess
-        self._processMap["removeConfigNode"] = Processor.process_removeConfigNode
-        self._processMap["deleteConfigNodePeer"] = Processor.process_deleteConfigNodePeer
-        self._processMap["reportConfigNodeShutdown"] = Processor.process_reportConfigNodeShutdown
-        self._processMap["stopConfigNode"] = Processor.process_stopConfigNode
-        self._processMap["getConfigNodeHeartBeat"] = Processor.process_getConfigNodeHeartBeat
-        self._processMap["createFunction"] = Processor.process_createFunction
-        self._processMap["dropFunction"] = Processor.process_dropFunction
-        self._processMap["getUDFTable"] = Processor.process_getUDFTable
-        self._processMap["getUDFJar"] = Processor.process_getUDFJar
-        self._processMap["createTrigger"] = Processor.process_createTrigger
-        self._processMap["dropTrigger"] = Processor.process_dropTrigger
-        self._processMap["getLocationOfStatefulTrigger"] = Processor.process_getLocationOfStatefulTrigger
-        self._processMap["getTriggerTable"] = Processor.process_getTriggerTable
-        self._processMap["getStatefulTriggerTable"] = Processor.process_getStatefulTriggerTable
-        self._processMap["getTriggerJar"] = Processor.process_getTriggerJar
-        self._processMap["createPipePlugin"] = Processor.process_createPipePlugin
-        self._processMap["dropPipePlugin"] = Processor.process_dropPipePlugin
-        self._processMap["getPipePluginTable"] = Processor.process_getPipePluginTable
-        self._processMap["getPipePluginJar"] = Processor.process_getPipePluginJar
-        self._processMap["merge"] = Processor.process_merge
-        self._processMap["flush"] = Processor.process_flush
-        self._processMap["clearCache"] = Processor.process_clearCache
-        self._processMap["loadConfiguration"] = Processor.process_loadConfiguration
-        self._processMap["setSystemStatus"] = Processor.process_setSystemStatus
-        self._processMap["setDataNodeStatus"] = Processor.process_setDataNodeStatus
-        self._processMap["migrateRegion"] = Processor.process_migrateRegion
-        self._processMap["killQuery"] = Processor.process_killQuery
-        self._processMap["getRunningDataNodeLocations"] = Processor.process_getRunningDataNodeLocations
-        self._processMap["showCluster"] = Processor.process_showCluster
-        self._processMap["showVariables"] = Processor.process_showVariables
-        self._processMap["showDataNodes"] = Processor.process_showDataNodes
-        self._processMap["showConfigNodes"] = Processor.process_showConfigNodes
-        self._processMap["showDatabase"] = Processor.process_showDatabase
-        self._processMap["showRegion"] = Processor.process_showRegion
-        self._processMap["getLatestRegionRouteMap"] = Processor.process_getLatestRegionRouteMap
-        self._processMap["createSchemaTemplate"] = Processor.process_createSchemaTemplate
-        self._processMap["getAllTemplates"] = Processor.process_getAllTemplates
-        self._processMap["getTemplate"] = Processor.process_getTemplate
-        self._processMap["setSchemaTemplate"] = Processor.process_setSchemaTemplate
-        self._processMap["getPathsSetTemplate"] = Processor.process_getPathsSetTemplate
-        self._processMap["deactivateSchemaTemplate"] = Processor.process_deactivateSchemaTemplate
-        self._processMap["unsetSchemaTemplate"] = Processor.process_unsetSchemaTemplate
-        self._processMap["dropSchemaTemplate"] = Processor.process_dropSchemaTemplate
-        self._processMap["alterSchemaTemplate"] = Processor.process_alterSchemaTemplate
-        self._processMap["deleteTimeSeries"] = Processor.process_deleteTimeSeries
-        self._processMap["deleteLogicalView"] = Processor.process_deleteLogicalView
-        self._processMap["alterLogicalView"] = Processor.process_alterLogicalView
-        self._processMap["createPipeSink"] = Processor.process_createPipeSink
-        self._processMap["dropPipeSink"] = Processor.process_dropPipeSink
-        self._processMap["getPipeSink"] = Processor.process_getPipeSink
-        self._processMap["createPipe"] = Processor.process_createPipe
-        self._processMap["startPipe"] = Processor.process_startPipe
-        self._processMap["stopPipe"] = Processor.process_stopPipe
-        self._processMap["dropPipe"] = Processor.process_dropPipe
-        self._processMap["showPipe"] = Processor.process_showPipe
-        self._processMap["getAllPipeInfo"] = Processor.process_getAllPipeInfo
-        self._processMap["getRegionId"] = Processor.process_getRegionId
-        self._processMap["getTimeSlotList"] = Processor.process_getTimeSlotList
-        self._processMap["countTimeSlotList"] = Processor.process_countTimeSlotList
-        self._processMap["getSeriesSlotList"] = Processor.process_getSeriesSlotList
-        self._processMap["createCQ"] = Processor.process_createCQ
-        self._processMap["dropCQ"] = Processor.process_dropCQ
-        self._processMap["showCQ"] = Processor.process_showCQ
-        self._processMap["createModel"] = Processor.process_createModel
-        self._processMap["dropModel"] = Processor.process_dropModel
-        self._processMap["showModel"] = Processor.process_showModel
-        self._processMap["showTrial"] = Processor.process_showTrial
-        self._processMap["updateModelInfo"] = Processor.process_updateModelInfo
-        self._processMap["updateModelState"] = Processor.process_updateModelState
-        self._processMap["getModelInfo"] = Processor.process_getModelInfo
-        self._processMap["setSpaceQuota"] = Processor.process_setSpaceQuota
-        self._processMap["showSpaceQuota"] = Processor.process_showSpaceQuota
-        self._processMap["getSpaceQuota"] = Processor.process_getSpaceQuota
-        self._processMap["setThrottleQuota"] = Processor.process_setThrottleQuota
-        self._processMap["showThrottleQuota"] = Processor.process_showThrottleQuota
-        self._processMap["getThrottleQuota"] = Processor.process_getThrottleQuota
-        self._on_message_begin = None
-
-    def on_message_begin(self, func):
-        self._on_message_begin = func
-
-    def process(self, iprot, oprot):
-        (name, type, seqid) = iprot.readMessageBegin()
-        if self._on_message_begin:
-            self._on_message_begin(name, type, seqid)
-        if name not in self._processMap:
-            iprot.skip(TType.STRUCT)
-            iprot.readMessageEnd()
-            x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
-            oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
-            x.write(oprot)
-            oprot.writeMessageEnd()
-            oprot.trans.flush()
-            return
-        else:
-            self._processMap[name](self, seqid, iprot, oprot)
-        return True
-
-    def process_registerDataNode(self, seqid, iprot, oprot):
-        args = registerDataNode_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = registerDataNode_result()
-        try:
-            result.success = self._handler.registerDataNode(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("registerDataNode", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_restartDataNode(self, seqid, iprot, oprot):
-        args = restartDataNode_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = restartDataNode_result()
-        try:
-            result.success = self._handler.restartDataNode(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("restartDataNode", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getSystemConfiguration(self, seqid, iprot, oprot):
-        args = getSystemConfiguration_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getSystemConfiguration_result()
-        try:
-            result.success = self._handler.getSystemConfiguration()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getSystemConfiguration", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_removeDataNode(self, seqid, iprot, oprot):
-        args = removeDataNode_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = removeDataNode_result()
-        try:
-            result.success = self._handler.removeDataNode(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("removeDataNode", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_reportDataNodeShutdown(self, seqid, iprot, oprot):
-        args = reportDataNodeShutdown_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = reportDataNodeShutdown_result()
-        try:
-            result.success = self._handler.reportDataNodeShutdown(args.dataNodeLocation)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("reportDataNodeShutdown", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getDataNodeConfiguration(self, seqid, iprot, oprot):
-        args = getDataNodeConfiguration_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getDataNodeConfiguration_result()
-        try:
-            result.success = self._handler.getDataNodeConfiguration(args.dataNodeId)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getDataNodeConfiguration", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_reportRegionMigrateResult(self, seqid, iprot, oprot):
-        args = reportRegionMigrateResult_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = reportRegionMigrateResult_result()
-        try:
-            result.success = self._handler.reportRegionMigrateResult(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("reportRegionMigrateResult", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_setDatabase(self, seqid, iprot, oprot):
-        args = setDatabase_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = setDatabase_result()
-        try:
-            result.success = self._handler.setDatabase(args.databaseSchema)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("setDatabase", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_alterDatabase(self, seqid, iprot, oprot):
-        args = alterDatabase_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = alterDatabase_result()
-        try:
-            result.success = self._handler.alterDatabase(args.databaseSchema)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("alterDatabase", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_deleteDatabase(self, seqid, iprot, oprot):
-        args = deleteDatabase_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = deleteDatabase_result()
-        try:
-            result.success = self._handler.deleteDatabase(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("deleteDatabase", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_deleteDatabases(self, seqid, iprot, oprot):
-        args = deleteDatabases_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = deleteDatabases_result()
-        try:
-            result.success = self._handler.deleteDatabases(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("deleteDatabases", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_setTTL(self, seqid, iprot, oprot):
-        args = setTTL_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = setTTL_result()
-        try:
-            result.success = self._handler.setTTL(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("setTTL", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_setSchemaReplicationFactor(self, seqid, iprot, oprot):
-        args = setSchemaReplicationFactor_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = setSchemaReplicationFactor_result()
-        try:
-            result.success = self._handler.setSchemaReplicationFactor(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("setSchemaReplicationFactor", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_setDataReplicationFactor(self, seqid, iprot, oprot):
-        args = setDataReplicationFactor_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = setDataReplicationFactor_result()
-        try:
-            result.success = self._handler.setDataReplicationFactor(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("setDataReplicationFactor", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_setTimePartitionInterval(self, seqid, iprot, oprot):
-        args = setTimePartitionInterval_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = setTimePartitionInterval_result()
-        try:
-            result.success = self._handler.setTimePartitionInterval(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("setTimePartitionInterval", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_countMatchedDatabases(self, seqid, iprot, oprot):
-        args = countMatchedDatabases_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = countMatchedDatabases_result()
-        try:
-            result.success = self._handler.countMatchedDatabases(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("countMatchedDatabases", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getMatchedDatabaseSchemas(self, seqid, iprot, oprot):
-        args = getMatchedDatabaseSchemas_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getMatchedDatabaseSchemas_result()
-        try:
-            result.success = self._handler.getMatchedDatabaseSchemas(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getMatchedDatabaseSchemas", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getSchemaPartitionTable(self, seqid, iprot, oprot):
-        args = getSchemaPartitionTable_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getSchemaPartitionTable_result()
-        try:
-            result.success = self._handler.getSchemaPartitionTable(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getSchemaPartitionTable", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getOrCreateSchemaPartitionTable(self, seqid, iprot, oprot):
-        args = getOrCreateSchemaPartitionTable_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getOrCreateSchemaPartitionTable_result()
-        try:
-            result.success = self._handler.getOrCreateSchemaPartitionTable(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getOrCreateSchemaPartitionTable", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getSchemaNodeManagementPartition(self, seqid, iprot, oprot):
-        args = getSchemaNodeManagementPartition_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getSchemaNodeManagementPartition_result()
-        try:
-            result.success = self._handler.getSchemaNodeManagementPartition(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getSchemaNodeManagementPartition", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getDataPartitionTable(self, seqid, iprot, oprot):
-        args = getDataPartitionTable_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getDataPartitionTable_result()
-        try:
-            result.success = self._handler.getDataPartitionTable(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getDataPartitionTable", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getOrCreateDataPartitionTable(self, seqid, iprot, oprot):
-        args = getOrCreateDataPartitionTable_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getOrCreateDataPartitionTable_result()
-        try:
-            result.success = self._handler.getOrCreateDataPartitionTable(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getOrCreateDataPartitionTable", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_operatePermission(self, seqid, iprot, oprot):
-        args = operatePermission_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = operatePermission_result()
-        try:
-            result.success = self._handler.operatePermission(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("operatePermission", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_queryPermission(self, seqid, iprot, oprot):
-        args = queryPermission_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = queryPermission_result()
-        try:
-            result.success = self._handler.queryPermission(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("queryPermission", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_login(self, seqid, iprot, oprot):
-        args = login_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = login_result()
-        try:
-            result.success = self._handler.login(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("login", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_checkUserPrivileges(self, seqid, iprot, oprot):
-        args = checkUserPrivileges_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = checkUserPrivileges_result()
-        try:
-            result.success = self._handler.checkUserPrivileges(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("checkUserPrivileges", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_fetchAuthizedPatternTree(self, seqid, iprot, oprot):
-        args = fetchAuthizedPatternTree_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = fetchAuthizedPatternTree_result()
-        try:
-            result.success = self._handler.fetchAuthizedPatternTree(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("fetchAuthizedPatternTree", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_checkUserPrivilegeGrantOpt(self, seqid, iprot, oprot):
-        args = checkUserPrivilegeGrantOpt_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = checkUserPrivilegeGrantOpt_result()
-        try:
-            result.success = self._handler.checkUserPrivilegeGrantOpt(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("checkUserPrivilegeGrantOpt", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_checkRoleOfUser(self, seqid, iprot, oprot):
-        args = checkRoleOfUser_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = checkRoleOfUser_result()
-        try:
-            result.success = self._handler.checkRoleOfUser(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("checkRoleOfUser", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_registerConfigNode(self, seqid, iprot, oprot):
-        args = registerConfigNode_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = registerConfigNode_result()
-        try:
-            result.success = self._handler.registerConfigNode(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("registerConfigNode", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_addConsensusGroup(self, seqid, iprot, oprot):
-        args = addConsensusGroup_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = addConsensusGroup_result()
-        try:
-            result.success = self._handler.addConsensusGroup(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("addConsensusGroup", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_notifyRegisterSuccess(self, seqid, iprot, oprot):
-        args = notifyRegisterSuccess_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = notifyRegisterSuccess_result()
-        try:
-            result.success = self._handler.notifyRegisterSuccess()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("notifyRegisterSuccess", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_removeConfigNode(self, seqid, iprot, oprot):
-        args = removeConfigNode_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = removeConfigNode_result()
-        try:
-            result.success = self._handler.removeConfigNode(args.configNodeLocation)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("removeConfigNode", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_deleteConfigNodePeer(self, seqid, iprot, oprot):
-        args = deleteConfigNodePeer_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = deleteConfigNodePeer_result()
-        try:
-            result.success = self._handler.deleteConfigNodePeer(args.configNodeLocation)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("deleteConfigNodePeer", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_reportConfigNodeShutdown(self, seqid, iprot, oprot):
-        args = reportConfigNodeShutdown_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = reportConfigNodeShutdown_result()
-        try:
-            result.success = self._handler.reportConfigNodeShutdown(args.configNodeLocation)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("reportConfigNodeShutdown", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_stopConfigNode(self, seqid, iprot, oprot):
-        args = stopConfigNode_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = stopConfigNode_result()
-        try:
-            result.success = self._handler.stopConfigNode(args.configNodeLocation)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("stopConfigNode", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getConfigNodeHeartBeat(self, seqid, iprot, oprot):
-        args = getConfigNodeHeartBeat_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getConfigNodeHeartBeat_result()
-        try:
-            result.success = self._handler.getConfigNodeHeartBeat(args.timestamp)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getConfigNodeHeartBeat", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_createFunction(self, seqid, iprot, oprot):
-        args = createFunction_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = createFunction_result()
-        try:
-            result.success = self._handler.createFunction(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("createFunction", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_dropFunction(self, seqid, iprot, oprot):
-        args = dropFunction_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = dropFunction_result()
-        try:
-            result.success = self._handler.dropFunction(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("dropFunction", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getUDFTable(self, seqid, iprot, oprot):
-        args = getUDFTable_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getUDFTable_result()
-        try:
-            result.success = self._handler.getUDFTable()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getUDFTable", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getUDFJar(self, seqid, iprot, oprot):
-        args = getUDFJar_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getUDFJar_result()
-        try:
-            result.success = self._handler.getUDFJar(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getUDFJar", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_createTrigger(self, seqid, iprot, oprot):
-        args = createTrigger_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = createTrigger_result()
-        try:
-            result.success = self._handler.createTrigger(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("createTrigger", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_dropTrigger(self, seqid, iprot, oprot):
-        args = dropTrigger_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = dropTrigger_result()
-        try:
-            result.success = self._handler.dropTrigger(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("dropTrigger", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getLocationOfStatefulTrigger(self, seqid, iprot, oprot):
-        args = getLocationOfStatefulTrigger_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getLocationOfStatefulTrigger_result()
-        try:
-            result.success = self._handler.getLocationOfStatefulTrigger(args.triggerName)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getLocationOfStatefulTrigger", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getTriggerTable(self, seqid, iprot, oprot):
-        args = getTriggerTable_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getTriggerTable_result()
-        try:
-            result.success = self._handler.getTriggerTable()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getTriggerTable", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getStatefulTriggerTable(self, seqid, iprot, oprot):
-        args = getStatefulTriggerTable_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getStatefulTriggerTable_result()
-        try:
-            result.success = self._handler.getStatefulTriggerTable()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getStatefulTriggerTable", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getTriggerJar(self, seqid, iprot, oprot):
-        args = getTriggerJar_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getTriggerJar_result()
-        try:
-            result.success = self._handler.getTriggerJar(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getTriggerJar", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_createPipePlugin(self, seqid, iprot, oprot):
-        args = createPipePlugin_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = createPipePlugin_result()
-        try:
-            result.success = self._handler.createPipePlugin(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("createPipePlugin", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_dropPipePlugin(self, seqid, iprot, oprot):
-        args = dropPipePlugin_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = dropPipePlugin_result()
-        try:
-            result.success = self._handler.dropPipePlugin(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("dropPipePlugin", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getPipePluginTable(self, seqid, iprot, oprot):
-        args = getPipePluginTable_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getPipePluginTable_result()
-        try:
-            result.success = self._handler.getPipePluginTable()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getPipePluginTable", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getPipePluginJar(self, seqid, iprot, oprot):
-        args = getPipePluginJar_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getPipePluginJar_result()
-        try:
-            result.success = self._handler.getPipePluginJar(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getPipePluginJar", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_merge(self, seqid, iprot, oprot):
-        args = merge_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = merge_result()
-        try:
-            result.success = self._handler.merge()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("merge", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_flush(self, seqid, iprot, oprot):
-        args = flush_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = flush_result()
-        try:
-            result.success = self._handler.flush(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("flush", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_clearCache(self, seqid, iprot, oprot):
-        args = clearCache_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = clearCache_result()
-        try:
-            result.success = self._handler.clearCache()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("clearCache", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_loadConfiguration(self, seqid, iprot, oprot):
-        args = loadConfiguration_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = loadConfiguration_result()
-        try:
-            result.success = self._handler.loadConfiguration()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("loadConfiguration", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_setSystemStatus(self, seqid, iprot, oprot):
-        args = setSystemStatus_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = setSystemStatus_result()
-        try:
-            result.success = self._handler.setSystemStatus(args.status)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("setSystemStatus", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_setDataNodeStatus(self, seqid, iprot, oprot):
-        args = setDataNodeStatus_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = setDataNodeStatus_result()
-        try:
-            result.success = self._handler.setDataNodeStatus(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("setDataNodeStatus", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_migrateRegion(self, seqid, iprot, oprot):
-        args = migrateRegion_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = migrateRegion_result()
-        try:
-            result.success = self._handler.migrateRegion(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("migrateRegion", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_killQuery(self, seqid, iprot, oprot):
-        args = killQuery_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = killQuery_result()
-        try:
-            result.success = self._handler.killQuery(args.queryId, args.dataNodeId)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("killQuery", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getRunningDataNodeLocations(self, seqid, iprot, oprot):
-        args = getRunningDataNodeLocations_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getRunningDataNodeLocations_result()
-        try:
-            result.success = self._handler.getRunningDataNodeLocations()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getRunningDataNodeLocations", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_showCluster(self, seqid, iprot, oprot):
-        args = showCluster_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = showCluster_result()
-        try:
-            result.success = self._handler.showCluster()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("showCluster", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_showVariables(self, seqid, iprot, oprot):
-        args = showVariables_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = showVariables_result()
-        try:
-            result.success = self._handler.showVariables()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("showVariables", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_showDataNodes(self, seqid, iprot, oprot):
-        args = showDataNodes_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = showDataNodes_result()
-        try:
-            result.success = self._handler.showDataNodes()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("showDataNodes", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_showConfigNodes(self, seqid, iprot, oprot):
-        args = showConfigNodes_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = showConfigNodes_result()
-        try:
-            result.success = self._handler.showConfigNodes()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("showConfigNodes", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_showDatabase(self, seqid, iprot, oprot):
-        args = showDatabase_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = showDatabase_result()
-        try:
-            result.success = self._handler.showDatabase(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("showDatabase", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_showRegion(self, seqid, iprot, oprot):
-        args = showRegion_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = showRegion_result()
-        try:
-            result.success = self._handler.showRegion(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("showRegion", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getLatestRegionRouteMap(self, seqid, iprot, oprot):
-        args = getLatestRegionRouteMap_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getLatestRegionRouteMap_result()
-        try:
-            result.success = self._handler.getLatestRegionRouteMap()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getLatestRegionRouteMap", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_createSchemaTemplate(self, seqid, iprot, oprot):
-        args = createSchemaTemplate_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = createSchemaTemplate_result()
-        try:
-            result.success = self._handler.createSchemaTemplate(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("createSchemaTemplate", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getAllTemplates(self, seqid, iprot, oprot):
-        args = getAllTemplates_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getAllTemplates_result()
-        try:
-            result.success = self._handler.getAllTemplates()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getAllTemplates", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getTemplate(self, seqid, iprot, oprot):
-        args = getTemplate_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getTemplate_result()
-        try:
-            result.success = self._handler.getTemplate(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getTemplate", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_setSchemaTemplate(self, seqid, iprot, oprot):
-        args = setSchemaTemplate_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = setSchemaTemplate_result()
-        try:
-            result.success = self._handler.setSchemaTemplate(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("setSchemaTemplate", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getPathsSetTemplate(self, seqid, iprot, oprot):
-        args = getPathsSetTemplate_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getPathsSetTemplate_result()
-        try:
-            result.success = self._handler.getPathsSetTemplate(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getPathsSetTemplate", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_deactivateSchemaTemplate(self, seqid, iprot, oprot):
-        args = deactivateSchemaTemplate_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = deactivateSchemaTemplate_result()
-        try:
-            result.success = self._handler.deactivateSchemaTemplate(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("deactivateSchemaTemplate", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_unsetSchemaTemplate(self, seqid, iprot, oprot):
-        args = unsetSchemaTemplate_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = unsetSchemaTemplate_result()
-        try:
-            result.success = self._handler.unsetSchemaTemplate(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("unsetSchemaTemplate", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_dropSchemaTemplate(self, seqid, iprot, oprot):
-        args = dropSchemaTemplate_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = dropSchemaTemplate_result()
-        try:
-            result.success = self._handler.dropSchemaTemplate(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("dropSchemaTemplate", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_alterSchemaTemplate(self, seqid, iprot, oprot):
-        args = alterSchemaTemplate_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = alterSchemaTemplate_result()
-        try:
-            result.success = self._handler.alterSchemaTemplate(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("alterSchemaTemplate", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_deleteTimeSeries(self, seqid, iprot, oprot):
-        args = deleteTimeSeries_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = deleteTimeSeries_result()
-        try:
-            result.success = self._handler.deleteTimeSeries(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("deleteTimeSeries", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_deleteLogicalView(self, seqid, iprot, oprot):
-        args = deleteLogicalView_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = deleteLogicalView_result()
-        try:
-            result.success = self._handler.deleteLogicalView(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("deleteLogicalView", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_alterLogicalView(self, seqid, iprot, oprot):
-        args = alterLogicalView_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = alterLogicalView_result()
-        try:
-            result.success = self._handler.alterLogicalView(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("alterLogicalView", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_createPipeSink(self, seqid, iprot, oprot):
-        args = createPipeSink_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = createPipeSink_result()
-        try:
-            result.success = self._handler.createPipeSink(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("createPipeSink", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_dropPipeSink(self, seqid, iprot, oprot):
-        args = dropPipeSink_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = dropPipeSink_result()
-        try:
-            result.success = self._handler.dropPipeSink(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("dropPipeSink", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getPipeSink(self, seqid, iprot, oprot):
-        args = getPipeSink_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getPipeSink_result()
-        try:
-            result.success = self._handler.getPipeSink(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getPipeSink", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_createPipe(self, seqid, iprot, oprot):
-        args = createPipe_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = createPipe_result()
-        try:
-            result.success = self._handler.createPipe(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("createPipe", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_startPipe(self, seqid, iprot, oprot):
-        args = startPipe_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = startPipe_result()
-        try:
-            result.success = self._handler.startPipe(args.pipeName)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("startPipe", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_stopPipe(self, seqid, iprot, oprot):
-        args = stopPipe_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = stopPipe_result()
-        try:
-            result.success = self._handler.stopPipe(args.pipeName)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("stopPipe", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_dropPipe(self, seqid, iprot, oprot):
-        args = dropPipe_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = dropPipe_result()
-        try:
-            result.success = self._handler.dropPipe(args.pipeName)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("dropPipe", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_showPipe(self, seqid, iprot, oprot):
-        args = showPipe_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = showPipe_result()
-        try:
-            result.success = self._handler.showPipe(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("showPipe", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getAllPipeInfo(self, seqid, iprot, oprot):
-        args = getAllPipeInfo_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getAllPipeInfo_result()
-        try:
-            result.success = self._handler.getAllPipeInfo()
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getAllPipeInfo", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getRegionId(self, seqid, iprot, oprot):
-        args = getRegionId_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getRegionId_result()
-        try:
-            result.success = self._handler.getRegionId(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getRegionId", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getTimeSlotList(self, seqid, iprot, oprot):
-        args = getTimeSlotList_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getTimeSlotList_result()
-        try:
-            result.success = self._handler.getTimeSlotList(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("getTimeSlotList", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_countTimeSlotList(self, seqid, iprot, oprot):
-        args = countTimeSlotList_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = countTimeSlotList_result()
-        try:
-            result.success = self._handler.countTimeSlotList(args.req)
-            msg_type = TMessageType.REPLY
-        except TTransport.TTransportException:
-            raise
-        except TApplicationException as ex:
-            logging.exception('TApplication exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = ex
-        except Exception:
-            logging.exception('Unexpected exception in handler')
-            msg_type = TMessageType.EXCEPTION
-            result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
-        oprot.writeMessageBegin("countTimeSlotList", msg_type, seqid)
-        result.write(oprot)
-        oprot.writeMessageEnd()
-        oprot.trans.flush()
-
-    def process_getSeriesSlotList(self, seqid, iprot, oprot):
-        args = getSeriesSlotList_args()
-        args.read(iprot)
-        iprot.readMessageEnd()
-        result = getSeriesSlotList_result()
-        try:
... 49396 lines suppressed ...