Class ConfigNodeClient

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.apache.iotdb.commons.client.sync.SyncThriftClient, org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface

    public class ConfigNodeClient
    extends java.lang.Object
    implements org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface, org.apache.iotdb.commons.client.sync.SyncThriftClient, java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigNodeClient()  
      ConfigNodeClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory, long connectionTimeout, org.apache.iotdb.commons.client.ClientManager<org.apache.iotdb.commons.consensus.PartitionRegionId,​ConfigNodeClient> clientManager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.iotdb.common.rpc.thrift.TSStatus addConsensusGroup​(org.apache.iotdb.confignode.rpc.thrift.TAddConsensusGroupReq registerResp)  
      org.apache.iotdb.confignode.rpc.thrift.TPermissionInfoResp checkUserPrivileges​(org.apache.iotdb.confignode.rpc.thrift.TCheckUserPrivilegesReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus clearCache()  
      void close()  
      void connect​(org.apache.iotdb.common.rpc.thrift.TEndPoint endpoint)  
      org.apache.iotdb.confignode.rpc.thrift.TCountStorageGroupResp countMatchedStorageGroups​(java.util.List<java.lang.String> storageGroupPathPattern)  
      org.apache.iotdb.common.rpc.thrift.TSStatus createFunction​(org.apache.iotdb.confignode.rpc.thrift.TCreateFunctionReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus createSchemaTemplate​(org.apache.iotdb.confignode.rpc.thrift.TCreateSchemaTemplateReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus createTrigger​(org.apache.iotdb.confignode.rpc.thrift.TCreateTriggerReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus deleteStorageGroup​(org.apache.iotdb.confignode.rpc.thrift.TDeleteStorageGroupReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus deleteStorageGroups​(org.apache.iotdb.confignode.rpc.thrift.TDeleteStorageGroupsReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus dropFunction​(org.apache.iotdb.confignode.rpc.thrift.TDropFunctionReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus dropTrigger​(org.apache.iotdb.confignode.rpc.thrift.TDropTriggerReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus flush​(org.apache.iotdb.common.rpc.thrift.TFlushReq req)  
      org.apache.iotdb.confignode.rpc.thrift.TGetAllTemplatesResp getAllTemplates()  
      long getConfigNodeHeartBeat​(long timestamp)  
      org.apache.iotdb.confignode.rpc.thrift.TDataNodeConfigurationResp getDataNodeConfiguration​(int dataNodeId)  
      org.apache.iotdb.confignode.rpc.thrift.TDataPartitionTableResp getDataPartitionTable​(org.apache.iotdb.confignode.rpc.thrift.TDataPartitionReq req)  
      org.apache.iotdb.confignode.rpc.thrift.TRegionRouteMapResp getLatestRegionRouteMap()  
      org.apache.iotdb.confignode.rpc.thrift.TStorageGroupSchemaResp getMatchedStorageGroupSchemas​(java.util.List<java.lang.String> storageGroupPathPattern)  
      org.apache.iotdb.confignode.rpc.thrift.TDataPartitionTableResp getOrCreateDataPartitionTable​(org.apache.iotdb.confignode.rpc.thrift.TDataPartitionReq req)  
      org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionTableResp getOrCreateSchemaPartitionTable​(org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionReq req)  
      org.apache.iotdb.confignode.rpc.thrift.TGetPathsSetTemplatesResp getPathsSetTemplate​(java.lang.String req)  
      org.apache.iotdb.confignode.rpc.thrift.TSchemaNodeManagementResp getSchemaNodeManagementPartition​(org.apache.iotdb.confignode.rpc.thrift.TSchemaNodeManagementReq req)  
      org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionTableResp getSchemaPartitionTable​(org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionReq req)  
      org.apache.iotdb.confignode.rpc.thrift.TGetTemplateResp getTemplate​(java.lang.String req)  
      org.apache.thrift.transport.TTransport getTransport()  
      void init()  
      void invalidate()  
      void invalidateAll()  
      org.apache.iotdb.common.rpc.thrift.TSStatus loadConfiguration()  
      org.apache.iotdb.confignode.rpc.thrift.TPermissionInfoResp login​(org.apache.iotdb.confignode.rpc.thrift.TLoginReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus merge()  
      org.apache.iotdb.common.rpc.thrift.TSStatus notifyRegisterSuccess()  
      org.apache.iotdb.common.rpc.thrift.TSStatus operatePermission​(org.apache.iotdb.confignode.rpc.thrift.TAuthorizerReq req)  
      org.apache.iotdb.confignode.rpc.thrift.TAuthorizerResp queryPermission​(org.apache.iotdb.confignode.rpc.thrift.TAuthorizerReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus registerConfigNode​(org.apache.iotdb.confignode.rpc.thrift.TConfigNodeRegisterReq req)  
      org.apache.iotdb.confignode.rpc.thrift.TDataNodeRegisterResp registerDataNode​(org.apache.iotdb.confignode.rpc.thrift.TDataNodeRegisterReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus removeConfigNode​(org.apache.iotdb.common.rpc.thrift.TConfigNodeLocation configNodeLocation)  
      org.apache.iotdb.common.rpc.thrift.TSStatus removeConsensusGroup​(org.apache.iotdb.common.rpc.thrift.TConfigNodeLocation configNodeLocation)  
      org.apache.iotdb.confignode.rpc.thrift.TDataNodeRemoveResp removeDataNode​(org.apache.iotdb.confignode.rpc.thrift.TDataNodeRemoveReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus reportRegionMigrateResult​(org.apache.iotdb.confignode.rpc.thrift.TRegionMigrateResultReportReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus setDataReplicationFactor​(org.apache.iotdb.confignode.rpc.thrift.TSetDataReplicationFactorReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus setSchemaReplicationFactor​(org.apache.iotdb.confignode.rpc.thrift.TSetSchemaReplicationFactorReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus setSchemaTemplate​(org.apache.iotdb.confignode.rpc.thrift.TSetSchemaTemplateReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus setStorageGroup​(org.apache.iotdb.confignode.rpc.thrift.TSetStorageGroupReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus setSystemStatus​(java.lang.String systemStatus)  
      org.apache.iotdb.common.rpc.thrift.TSStatus setTimePartitionInterval​(org.apache.iotdb.confignode.rpc.thrift.TSetTimePartitionIntervalReq req)  
      org.apache.iotdb.common.rpc.thrift.TSStatus setTTL​(org.apache.iotdb.common.rpc.thrift.TSetTTLReq setTTLReq)  
      org.apache.iotdb.confignode.rpc.thrift.TShowClusterResp showCluster()  
      org.apache.iotdb.confignode.rpc.thrift.TShowConfigNodesResp showConfigNodes()  
      org.apache.iotdb.confignode.rpc.thrift.TShowDataNodesResp showDataNodes()  
      org.apache.iotdb.confignode.rpc.thrift.TShowRegionResp showRegion​(org.apache.iotdb.confignode.rpc.thrift.TShowRegionReq req)  
      org.apache.iotdb.confignode.rpc.thrift.TShowStorageGroupResp showStorageGroup​(java.util.List<java.lang.String> storageGroupPathPattern)  
      org.apache.iotdb.common.rpc.thrift.TSStatus stopConfigNode​(org.apache.iotdb.common.rpc.thrift.TConfigNodeLocation configNodeLocation)  
      void syncLatestConfigNodeList()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MSG_RECONNECTION_FAIL

        public static final java.lang.String MSG_RECONNECTION_FAIL
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConfigNodeClient

        public ConfigNodeClient()
                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • ConfigNodeClient

        public ConfigNodeClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                long connectionTimeout,
                                org.apache.iotdb.commons.client.ClientManager<org.apache.iotdb.commons.consensus.PartitionRegionId,​ConfigNodeClient> clientManager)
                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
    • Method Detail

      • init

        public void init()
                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • connect

        public void connect​(org.apache.iotdb.common.rpc.thrift.TEndPoint endpoint)
                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getTransport

        public org.apache.thrift.transport.TTransport getTransport()
      • syncLatestConfigNodeList

        public void syncLatestConfigNodeList()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • invalidate

        public void invalidate()
        Specified by:
        invalidate in interface org.apache.iotdb.commons.client.sync.SyncThriftClient
      • invalidateAll

        public void invalidateAll()
        Specified by:
        invalidateAll in interface org.apache.iotdb.commons.client.sync.SyncThriftClient
      • registerDataNode

        public org.apache.iotdb.confignode.rpc.thrift.TDataNodeRegisterResp registerDataNode​(org.apache.iotdb.confignode.rpc.thrift.TDataNodeRegisterReq req)
                                                                                      throws org.apache.thrift.TException
        Specified by:
        registerDataNode in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • removeDataNode

        public org.apache.iotdb.confignode.rpc.thrift.TDataNodeRemoveResp removeDataNode​(org.apache.iotdb.confignode.rpc.thrift.TDataNodeRemoveReq req)
                                                                                  throws org.apache.thrift.TException
        Specified by:
        removeDataNode in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getDataNodeConfiguration

        public org.apache.iotdb.confignode.rpc.thrift.TDataNodeConfigurationResp getDataNodeConfiguration​(int dataNodeId)
                                                                                                   throws org.apache.thrift.TException
        Specified by:
        getDataNodeConfiguration in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • reportRegionMigrateResult

        public org.apache.iotdb.common.rpc.thrift.TSStatus reportRegionMigrateResult​(org.apache.iotdb.confignode.rpc.thrift.TRegionMigrateResultReportReq req)
                                                                              throws org.apache.thrift.TException
        Specified by:
        reportRegionMigrateResult in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • showCluster

        public org.apache.iotdb.confignode.rpc.thrift.TShowClusterResp showCluster()
                                                                            throws org.apache.thrift.TException
        Specified by:
        showCluster in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • setStorageGroup

        public org.apache.iotdb.common.rpc.thrift.TSStatus setStorageGroup​(org.apache.iotdb.confignode.rpc.thrift.TSetStorageGroupReq req)
                                                                    throws org.apache.thrift.TException
        Specified by:
        setStorageGroup in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • deleteStorageGroup

        public org.apache.iotdb.common.rpc.thrift.TSStatus deleteStorageGroup​(org.apache.iotdb.confignode.rpc.thrift.TDeleteStorageGroupReq req)
                                                                       throws org.apache.thrift.TException
        Specified by:
        deleteStorageGroup in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • deleteStorageGroups

        public org.apache.iotdb.common.rpc.thrift.TSStatus deleteStorageGroups​(org.apache.iotdb.confignode.rpc.thrift.TDeleteStorageGroupsReq req)
                                                                        throws org.apache.thrift.TException
        Specified by:
        deleteStorageGroups in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • countMatchedStorageGroups

        public org.apache.iotdb.confignode.rpc.thrift.TCountStorageGroupResp countMatchedStorageGroups​(java.util.List<java.lang.String> storageGroupPathPattern)
                                                                                                throws org.apache.thrift.TException
        Specified by:
        countMatchedStorageGroups in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getMatchedStorageGroupSchemas

        public org.apache.iotdb.confignode.rpc.thrift.TStorageGroupSchemaResp getMatchedStorageGroupSchemas​(java.util.List<java.lang.String> storageGroupPathPattern)
                                                                                                     throws org.apache.thrift.TException
        Specified by:
        getMatchedStorageGroupSchemas in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • setTTL

        public org.apache.iotdb.common.rpc.thrift.TSStatus setTTL​(org.apache.iotdb.common.rpc.thrift.TSetTTLReq setTTLReq)
                                                           throws org.apache.thrift.TException
        Specified by:
        setTTL in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • setSchemaReplicationFactor

        public org.apache.iotdb.common.rpc.thrift.TSStatus setSchemaReplicationFactor​(org.apache.iotdb.confignode.rpc.thrift.TSetSchemaReplicationFactorReq req)
                                                                               throws org.apache.thrift.TException
        Specified by:
        setSchemaReplicationFactor in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • setDataReplicationFactor

        public org.apache.iotdb.common.rpc.thrift.TSStatus setDataReplicationFactor​(org.apache.iotdb.confignode.rpc.thrift.TSetDataReplicationFactorReq req)
                                                                             throws org.apache.thrift.TException
        Specified by:
        setDataReplicationFactor in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • setTimePartitionInterval

        public org.apache.iotdb.common.rpc.thrift.TSStatus setTimePartitionInterval​(org.apache.iotdb.confignode.rpc.thrift.TSetTimePartitionIntervalReq req)
                                                                             throws org.apache.thrift.TException
        Specified by:
        setTimePartitionInterval in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getSchemaPartitionTable

        public org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionTableResp getSchemaPartitionTable​(org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionReq req)
                                                                                                 throws org.apache.thrift.TException
        Specified by:
        getSchemaPartitionTable in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getOrCreateSchemaPartitionTable

        public org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionTableResp getOrCreateSchemaPartitionTable​(org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionReq req)
                                                                                                         throws org.apache.thrift.TException
        Specified by:
        getOrCreateSchemaPartitionTable in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getSchemaNodeManagementPartition

        public org.apache.iotdb.confignode.rpc.thrift.TSchemaNodeManagementResp getSchemaNodeManagementPartition​(org.apache.iotdb.confignode.rpc.thrift.TSchemaNodeManagementReq req)
                                                                                                          throws org.apache.thrift.TException
        Specified by:
        getSchemaNodeManagementPartition in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getDataPartitionTable

        public org.apache.iotdb.confignode.rpc.thrift.TDataPartitionTableResp getDataPartitionTable​(org.apache.iotdb.confignode.rpc.thrift.TDataPartitionReq req)
                                                                                             throws org.apache.thrift.TException
        Specified by:
        getDataPartitionTable in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getOrCreateDataPartitionTable

        public org.apache.iotdb.confignode.rpc.thrift.TDataPartitionTableResp getOrCreateDataPartitionTable​(org.apache.iotdb.confignode.rpc.thrift.TDataPartitionReq req)
                                                                                                     throws org.apache.thrift.TException
        Specified by:
        getOrCreateDataPartitionTable in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • operatePermission

        public org.apache.iotdb.common.rpc.thrift.TSStatus operatePermission​(org.apache.iotdb.confignode.rpc.thrift.TAuthorizerReq req)
                                                                      throws org.apache.thrift.TException
        Specified by:
        operatePermission in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • queryPermission

        public org.apache.iotdb.confignode.rpc.thrift.TAuthorizerResp queryPermission​(org.apache.iotdb.confignode.rpc.thrift.TAuthorizerReq req)
                                                                               throws org.apache.thrift.TException
        Specified by:
        queryPermission in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • login

        public org.apache.iotdb.confignode.rpc.thrift.TPermissionInfoResp login​(org.apache.iotdb.confignode.rpc.thrift.TLoginReq req)
                                                                         throws org.apache.thrift.TException
        Specified by:
        login in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • checkUserPrivileges

        public org.apache.iotdb.confignode.rpc.thrift.TPermissionInfoResp checkUserPrivileges​(org.apache.iotdb.confignode.rpc.thrift.TCheckUserPrivilegesReq req)
                                                                                       throws org.apache.thrift.TException
        Specified by:
        checkUserPrivileges in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • registerConfigNode

        public org.apache.iotdb.common.rpc.thrift.TSStatus registerConfigNode​(org.apache.iotdb.confignode.rpc.thrift.TConfigNodeRegisterReq req)
                                                                       throws org.apache.thrift.TException
        Specified by:
        registerConfigNode in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • addConsensusGroup

        public org.apache.iotdb.common.rpc.thrift.TSStatus addConsensusGroup​(org.apache.iotdb.confignode.rpc.thrift.TAddConsensusGroupReq registerResp)
                                                                      throws org.apache.thrift.TException
        Specified by:
        addConsensusGroup in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • notifyRegisterSuccess

        public org.apache.iotdb.common.rpc.thrift.TSStatus notifyRegisterSuccess()
                                                                          throws org.apache.thrift.TException
        Specified by:
        notifyRegisterSuccess in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • removeConfigNode

        public org.apache.iotdb.common.rpc.thrift.TSStatus removeConfigNode​(org.apache.iotdb.common.rpc.thrift.TConfigNodeLocation configNodeLocation)
                                                                     throws org.apache.thrift.TException
        Specified by:
        removeConfigNode in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • removeConsensusGroup

        public org.apache.iotdb.common.rpc.thrift.TSStatus removeConsensusGroup​(org.apache.iotdb.common.rpc.thrift.TConfigNodeLocation configNodeLocation)
                                                                         throws org.apache.thrift.TException
        Specified by:
        removeConsensusGroup in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • stopConfigNode

        public org.apache.iotdb.common.rpc.thrift.TSStatus stopConfigNode​(org.apache.iotdb.common.rpc.thrift.TConfigNodeLocation configNodeLocation)
                                                                   throws org.apache.thrift.TException
        Specified by:
        stopConfigNode in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • merge

        public org.apache.iotdb.common.rpc.thrift.TSStatus merge()
                                                          throws org.apache.thrift.TException
        Specified by:
        merge in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • flush

        public org.apache.iotdb.common.rpc.thrift.TSStatus flush​(org.apache.iotdb.common.rpc.thrift.TFlushReq req)
                                                          throws org.apache.thrift.TException
        Specified by:
        flush in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • clearCache

        public org.apache.iotdb.common.rpc.thrift.TSStatus clearCache()
                                                               throws org.apache.thrift.TException
        Specified by:
        clearCache in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • loadConfiguration

        public org.apache.iotdb.common.rpc.thrift.TSStatus loadConfiguration()
                                                                      throws org.apache.thrift.TException
        Specified by:
        loadConfiguration in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • setSystemStatus

        public org.apache.iotdb.common.rpc.thrift.TSStatus setSystemStatus​(java.lang.String systemStatus)
                                                                    throws org.apache.thrift.TException
        Specified by:
        setSystemStatus in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • showRegion

        public org.apache.iotdb.confignode.rpc.thrift.TShowRegionResp showRegion​(org.apache.iotdb.confignode.rpc.thrift.TShowRegionReq req)
                                                                          throws org.apache.thrift.TException
        Specified by:
        showRegion in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • showDataNodes

        public org.apache.iotdb.confignode.rpc.thrift.TShowDataNodesResp showDataNodes()
                                                                                throws org.apache.thrift.TException
        Specified by:
        showDataNodes in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • showConfigNodes

        public org.apache.iotdb.confignode.rpc.thrift.TShowConfigNodesResp showConfigNodes()
                                                                                    throws org.apache.thrift.TException
        Specified by:
        showConfigNodes in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • showStorageGroup

        public org.apache.iotdb.confignode.rpc.thrift.TShowStorageGroupResp showStorageGroup​(java.util.List<java.lang.String> storageGroupPathPattern)
                                                                                      throws org.apache.thrift.TException
        Specified by:
        showStorageGroup in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getLatestRegionRouteMap

        public org.apache.iotdb.confignode.rpc.thrift.TRegionRouteMapResp getLatestRegionRouteMap()
                                                                                           throws org.apache.thrift.TException
        Specified by:
        getLatestRegionRouteMap in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getConfigNodeHeartBeat

        public long getConfigNodeHeartBeat​(long timestamp)
                                    throws org.apache.thrift.TException
        Specified by:
        getConfigNodeHeartBeat in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • createFunction

        public org.apache.iotdb.common.rpc.thrift.TSStatus createFunction​(org.apache.iotdb.confignode.rpc.thrift.TCreateFunctionReq req)
                                                                   throws org.apache.thrift.TException
        Specified by:
        createFunction in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • dropFunction

        public org.apache.iotdb.common.rpc.thrift.TSStatus dropFunction​(org.apache.iotdb.confignode.rpc.thrift.TDropFunctionReq req)
                                                                 throws org.apache.thrift.TException
        Specified by:
        dropFunction in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • createTrigger

        public org.apache.iotdb.common.rpc.thrift.TSStatus createTrigger​(org.apache.iotdb.confignode.rpc.thrift.TCreateTriggerReq req)
                                                                  throws org.apache.thrift.TException
        Specified by:
        createTrigger in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • dropTrigger

        public org.apache.iotdb.common.rpc.thrift.TSStatus dropTrigger​(org.apache.iotdb.confignode.rpc.thrift.TDropTriggerReq req)
                                                                throws org.apache.thrift.TException
        Specified by:
        dropTrigger in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • createSchemaTemplate

        public org.apache.iotdb.common.rpc.thrift.TSStatus createSchemaTemplate​(org.apache.iotdb.confignode.rpc.thrift.TCreateSchemaTemplateReq req)
                                                                         throws org.apache.thrift.TException
        Specified by:
        createSchemaTemplate in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getAllTemplates

        public org.apache.iotdb.confignode.rpc.thrift.TGetAllTemplatesResp getAllTemplates()
                                                                                    throws org.apache.thrift.TException
        Specified by:
        getAllTemplates in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getTemplate

        public org.apache.iotdb.confignode.rpc.thrift.TGetTemplateResp getTemplate​(java.lang.String req)
                                                                            throws org.apache.thrift.TException
        Specified by:
        getTemplate in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • setSchemaTemplate

        public org.apache.iotdb.common.rpc.thrift.TSStatus setSchemaTemplate​(org.apache.iotdb.confignode.rpc.thrift.TSetSchemaTemplateReq req)
                                                                      throws org.apache.thrift.TException
        Specified by:
        setSchemaTemplate in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • getPathsSetTemplate

        public org.apache.iotdb.confignode.rpc.thrift.TGetPathsSetTemplatesResp getPathsSetTemplate​(java.lang.String req)
                                                                                             throws org.apache.thrift.TException
        Specified by:
        getPathsSetTemplate in interface org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException