Class IConfigNodeRPCService.Client

    • Constructor Detail

      • Client

        public Client​(org.apache.thrift.protocol.TProtocol prot)
      • Client

        public Client​(org.apache.thrift.protocol.TProtocol iprot,
                      org.apache.thrift.protocol.TProtocol oprot)
    • Method Detail

      • send_getClusterId

        public void send_getClusterId()
                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getClusterId

        public TGetClusterIdResp recv_getClusterId()
                                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_registerDataNode

        public void send_registerDataNode​(TDataNodeRegisterReq req)
                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_registerDataNode

        public TDataNodeRegisterResp recv_registerDataNode()
                                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_restartDataNode

        public void send_restartDataNode​(TDataNodeRestartReq req)
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_restartDataNode

        public TDataNodeRestartResp recv_restartDataNode()
                                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getSystemConfiguration

        public void send_getSystemConfiguration()
                                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getSystemConfiguration

        public TSystemConfigurationResp recv_getSystemConfiguration()
                                                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • removeDataNode

        public TDataNodeRemoveResp removeDataNode​(TDataNodeRemoveReq req)
                                           throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Generate a set of DataNodeRemoveProcedure to remove some specific DataNodes from the cluster
        Specified by:
        removeDataNode in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_removeDataNode

        public void send_removeDataNode​(TDataNodeRemoveReq req)
                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_removeDataNode

        public TDataNodeRemoveResp recv_removeDataNode()
                                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_reportDataNodeShutdown

        public void send_reportDataNodeShutdown​(TDataNodeLocation dataNodeLocation)
                                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_reportDataNodeShutdown

        public TSStatus recv_reportDataNodeShutdown()
                                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getDataNodeConfiguration

        public TDataNodeConfigurationResp getDataNodeConfiguration​(int dataNodeId)
                                                            throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Get one or more DataNodes' configuration
        Specified by:
        getDataNodeConfiguration in interface IConfigNodeRPCService.Iface
        Parameters:
        dataNodeId - , the specific DataNode's index
        Returns:
        The specific DataNode's configuration if the DataNode exists, or all DataNodes' configuration if dataNodeId is -1
        Throws:
        org.apache.thrift.TException
      • send_getDataNodeConfiguration

        public void send_getDataNodeConfiguration​(int dataNodeId)
                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getDataNodeConfiguration

        public TDataNodeConfigurationResp recv_getDataNodeConfiguration()
                                                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_reportRegionMigrateResult

        public void send_reportRegionMigrateResult​(TRegionMigrateResultReportReq req)
                                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_reportRegionMigrateResult

        public TSStatus recv_reportRegionMigrateResult()
                                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • setDatabase

        public TSStatus setDatabase​(TDatabaseSchema databaseSchema)
                             throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Set a new Databse, all fields in TDatabaseSchema can be customized while the undefined fields will automatically use default values
        Specified by:
        setDatabase in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_setDatabase

        public void send_setDatabase​(TDatabaseSchema databaseSchema)
                              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_setDatabase

        public TSStatus recv_setDatabase()
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • alterDatabase

        public TSStatus alterDatabase​(TDatabaseSchema databaseSchema)
                               throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Alter a Database's schema, including TTL, ReplicationFactor, timePartitionInterval and RegionGroupNum
        Specified by:
        alterDatabase in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_alterDatabase

        public void send_alterDatabase​(TDatabaseSchema databaseSchema)
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_alterDatabase

        public TSStatus recv_alterDatabase()
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • deleteDatabase

        public TSStatus deleteDatabase​(TDeleteDatabaseReq req)
                                throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Generate a DeleteDatabaseProcedure to delete a specified Database
        Specified by:
        deleteDatabase in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_deleteDatabase

        public void send_deleteDatabase​(TDeleteDatabaseReq req)
                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_deleteDatabase

        public TSStatus recv_deleteDatabase()
                                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • deleteDatabases

        public TSStatus deleteDatabases​(TDeleteDatabasesReq req)
                                 throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Generate a set of DeleteDatabaseProcedure to delete some specific Databases
        Specified by:
        deleteDatabases in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_deleteDatabases

        public void send_deleteDatabases​(TDeleteDatabasesReq req)
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_deleteDatabases

        public TSStatus recv_deleteDatabases()
                                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_setTTL

        public void send_setTTL​(TSetTTLReq req)
                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_setTTL

        public TSStatus recv_setTTL()
                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_setSchemaReplicationFactor

        public void send_setSchemaReplicationFactor​(TSetSchemaReplicationFactorReq req)
                                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_setSchemaReplicationFactor

        public TSStatus recv_setSchemaReplicationFactor()
                                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_setDataReplicationFactor

        public void send_setDataReplicationFactor​(TSetDataReplicationFactorReq req)
                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_setDataReplicationFactor

        public TSStatus recv_setDataReplicationFactor()
                                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_setTimePartitionInterval

        public void send_setTimePartitionInterval​(TSetTimePartitionIntervalReq req)
                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_setTimePartitionInterval

        public TSStatus recv_setTimePartitionInterval()
                                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_countMatchedDatabases

        public void send_countMatchedDatabases​(TGetDatabaseReq req)
                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_countMatchedDatabases

        public TCountDatabaseResp recv_countMatchedDatabases()
                                                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getMatchedDatabaseSchemas

        public void send_getMatchedDatabaseSchemas​(TGetDatabaseReq req)
                                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getMatchedDatabaseSchemas

        public TDatabaseSchemaResp recv_getMatchedDatabaseSchemas()
                                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getSchemaPartitionTable

        public void send_getSchemaPartitionTable​(TSchemaPartitionReq req)
                                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getSchemaPartitionTable

        public TSchemaPartitionTableResp recv_getSchemaPartitionTable()
                                                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getOrCreateSchemaPartitionTable

        public TSchemaPartitionTableResp getOrCreateSchemaPartitionTable​(TSchemaPartitionReq req)
                                                                  throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        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
        Specified by:
        getOrCreateSchemaPartitionTable in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_getOrCreateSchemaPartitionTable

        public void send_getOrCreateSchemaPartitionTable​(TSchemaPartitionReq req)
                                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getOrCreateSchemaPartitionTable

        public TSchemaPartitionTableResp recv_getOrCreateSchemaPartitionTable()
                                                                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getSchemaNodeManagementPartition

        public void send_getSchemaNodeManagementPartition​(TSchemaNodeManagementReq req)
                                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getSchemaNodeManagementPartition

        public TSchemaNodeManagementResp recv_getSchemaNodeManagementPartition()
                                                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getDataPartitionTable

        public void send_getDataPartitionTable​(TDataPartitionReq req)
                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getDataPartitionTable

        public TDataPartitionTableResp recv_getDataPartitionTable()
                                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getOrCreateDataPartitionTable

        public TDataPartitionTableResp getOrCreateDataPartitionTable​(TDataPartitionReq req)
                                                              throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        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
        Specified by:
        getOrCreateDataPartitionTable in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_getOrCreateDataPartitionTable

        public void send_getOrCreateDataPartitionTable​(TDataPartitionReq req)
                                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getOrCreateDataPartitionTable

        public TDataPartitionTableResp recv_getOrCreateDataPartitionTable()
                                                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • operatePermission

        public TSStatus operatePermission​(TAuthorizerReq req)
                                   throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        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
        Specified by:
        operatePermission in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_operatePermission

        public void send_operatePermission​(TAuthorizerReq req)
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_operatePermission

        public TSStatus recv_operatePermission()
                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • queryPermission

        public TAuthorizerResp queryPermission​(TAuthorizerReq req)
                                        throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Execute permission read operations such as list user
        Specified by:
        queryPermission in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_queryPermission

        public void send_queryPermission​(TAuthorizerReq req)
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_queryPermission

        public TAuthorizerResp recv_queryPermission()
                                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • login

        public TPermissionInfoResp login​(TLoginReq req)
                                  throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Authenticate user login
        Specified by:
        login in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_login

        public void send_login​(TLoginReq req)
                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_login

        public TPermissionInfoResp recv_login()
                                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_checkUserPrivileges

        public void send_checkUserPrivileges​(TCheckUserPrivilegesReq req)
                                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_checkUserPrivileges

        public TPermissionInfoResp recv_checkUserPrivileges()
                                                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_fetchAuthizedPatternTree

        public void send_fetchAuthizedPatternTree​(TCheckUserPrivilegesReq req)
                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_fetchAuthizedPatternTree

        public TAuthizedPatternTreeResp recv_fetchAuthizedPatternTree()
                                                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_checkUserPrivilegeGrantOpt

        public void send_checkUserPrivilegeGrantOpt​(TCheckUserPrivilegesReq req)
                                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_checkUserPrivilegeGrantOpt

        public TPermissionInfoResp recv_checkUserPrivilegeGrantOpt()
                                                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_checkRoleOfUser

        public void send_checkRoleOfUser​(TAuthorizerReq req)
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_checkRoleOfUser

        public TPermissionInfoResp recv_checkRoleOfUser()
                                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • registerConfigNode

        public TConfigNodeRegisterResp registerConfigNode​(TConfigNodeRegisterReq req)
                                                   throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        The Non-Seed-ConfigNode submit a registration request to the ConfigNode-leader when first startup
        Specified by:
        registerConfigNode in interface IConfigNodeRPCService.Iface
        Returns:
        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.
        Throws:
        org.apache.thrift.TException
      • send_registerConfigNode

        public void send_registerConfigNode​(TConfigNodeRegisterReq req)
                                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_registerConfigNode

        public TConfigNodeRegisterResp recv_registerConfigNode()
                                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_addConsensusGroup

        public void send_addConsensusGroup​(TAddConsensusGroupReq req)
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_addConsensusGroup

        public TSStatus recv_addConsensusGroup()
                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_notifyRegisterSuccess

        public void send_notifyRegisterSuccess()
                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_notifyRegisterSuccess

        public TSStatus recv_notifyRegisterSuccess()
                                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • removeConfigNode

        public TSStatus removeConfigNode​(TConfigNodeLocation configNodeLocation)
                                  throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Remove the specific ConfigNode from the cluster
        Specified by:
        removeConfigNode in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_removeConfigNode

        public void send_removeConfigNode​(TConfigNodeLocation configNodeLocation)
                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_removeConfigNode

        public TSStatus recv_removeConfigNode()
                                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • deleteConfigNodePeer

        public TSStatus deleteConfigNodePeer​(TConfigNodeLocation configNodeLocation)
                                      throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Let the specific ConfigNode delete the peer
        Specified by:
        deleteConfigNodePeer in interface IConfigNodeRPCService.Iface
        Returns:
        SUCCESS_STATUS if delete peer successfully REMOVE_CONFIGNODE_FAILED if the specific ConfigNode doesn't exist in the current cluster or Ratis internal failure
        Throws:
        org.apache.thrift.TException
      • send_deleteConfigNodePeer

        public void send_deleteConfigNodePeer​(TConfigNodeLocation configNodeLocation)
                                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_deleteConfigNodePeer

        public TSStatus recv_deleteConfigNodePeer()
                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_reportConfigNodeShutdown

        public void send_reportConfigNodeShutdown​(TConfigNodeLocation configNodeLocation)
                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_reportConfigNodeShutdown

        public TSStatus recv_reportConfigNodeShutdown()
                                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_stopConfigNode

        public void send_stopConfigNode​(TConfigNodeLocation configNodeLocation)
                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_stopConfigNode

        public TSStatus recv_stopConfigNode()
                                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getConfigNodeHeartBeat

        public void send_getConfigNodeHeartBeat​(TConfigNodeHeartbeatReq req)
                                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getConfigNodeHeartBeat

        public TConfigNodeHeartbeatResp recv_getConfigNodeHeartBeat()
                                                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_createFunction

        public void send_createFunction​(TCreateFunctionReq req)
                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_createFunction

        public TSStatus recv_createFunction()
                                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • dropFunction

        public TSStatus dropFunction​(TDropFunctionReq req)
                              throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Remove a function on all online ConfigNodes and DataNodes
        Specified by:
        dropFunction in interface IConfigNodeRPCService.Iface
        Returns:
        SUCCESS_STATUS if the function was removed successfully EXECUTE_STATEMENT_ERROR if operations on any node failed
        Throws:
        org.apache.thrift.TException
      • send_dropFunction

        public void send_dropFunction​(TDropFunctionReq req)
                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_dropFunction

        public TSStatus recv_dropFunction()
                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getUDFTable

        public void send_getUDFTable()
                              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getUDFTable

        public TGetUDFTableResp recv_getUDFTable()
                                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getUDFJar

        public void send_getUDFJar​(TGetJarInListReq req)
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getUDFJar

        public TGetJarInListResp recv_getUDFJar()
                                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • createTrigger

        public TSStatus createTrigger​(TCreateTriggerReq req)
                               throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        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
        Specified by:
        createTrigger in interface IConfigNodeRPCService.Iface
        Returns:
        SUCCESS_STATUS if the trigger was created successfully EXECUTE_STATEMENT_ERROR if operations on any node failed
        Throws:
        org.apache.thrift.TException
      • send_createTrigger

        public void send_createTrigger​(TCreateTriggerReq req)
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_createTrigger

        public TSStatus recv_createTrigger()
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • dropTrigger

        public TSStatus dropTrigger​(TDropTriggerReq req)
                             throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Remove a trigger on all online ConfigNodes and DataNodes
        Specified by:
        dropTrigger in interface IConfigNodeRPCService.Iface
        Returns:
        SUCCESS_STATUS if the function was removed successfully EXECUTE_STATEMENT_ERROR if operations on any node failed
        Throws:
        org.apache.thrift.TException
      • send_dropTrigger

        public void send_dropTrigger​(TDropTriggerReq req)
                              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_dropTrigger

        public TSStatus recv_dropTrigger()
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getLocationOfStatefulTrigger

        public void send_getLocationOfStatefulTrigger​(String triggerName)
                                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getLocationOfStatefulTrigger

        public TGetLocationForTriggerResp recv_getLocationOfStatefulTrigger()
                                                                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getTriggerTable

        public void send_getTriggerTable()
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getTriggerTable

        public TGetTriggerTableResp recv_getTriggerTable()
                                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getStatefulTriggerTable

        public void send_getStatefulTriggerTable()
                                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getStatefulTriggerTable

        public TGetTriggerTableResp recv_getStatefulTriggerTable()
                                                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getTriggerJar

        public void send_getTriggerJar​(TGetJarInListReq req)
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getTriggerJar

        public TGetJarInListResp recv_getTriggerJar()
                                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_createPipePlugin

        public void send_createPipePlugin​(TCreatePipePluginReq req)
                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_createPipePlugin

        public TSStatus recv_createPipePlugin()
                                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_dropPipePlugin

        public void send_dropPipePlugin​(TDropPipePluginReq req)
                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_dropPipePlugin

        public TSStatus recv_dropPipePlugin()
                                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getPipePluginTable

        public void send_getPipePluginTable()
                                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getPipePluginTable

        public TGetPipePluginTableResp recv_getPipePluginTable()
                                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getPipePluginJar

        public void send_getPipePluginJar​(TGetJarInListReq req)
                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getPipePluginJar

        public TGetJarInListResp recv_getPipePluginJar()
                                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_merge

        public void send_merge()
                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_merge

        public TSStatus recv_merge()
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_flush

        public void send_flush​(TFlushReq req)
                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_flush

        public TSStatus recv_flush()
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • clearCache

        public TSStatus clearCache()
                            throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Clear the cache of chunk, chunk metadata and timeseries metadata to release the memory footprint on all DataNodes
        Specified by:
        clearCache in interface IConfigNodeRPCService.Iface
        Throws:
        org.apache.thrift.TException
      • send_clearCache

        public void send_clearCache()
                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_clearCache

        public TSStatus recv_clearCache()
                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_startRepairData

        public void send_startRepairData()
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_startRepairData

        public TSStatus recv_startRepairData()
                                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_stopRepairData

        public void send_stopRepairData()
                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_stopRepairData

        public TSStatus recv_stopRepairData()
                                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_loadConfiguration

        public void send_loadConfiguration()
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_loadConfiguration

        public TSStatus recv_loadConfiguration()
                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_setSystemStatus

        public void send_setSystemStatus​(String status)
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_setSystemStatus

        public TSStatus recv_setSystemStatus()
                                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_setDataNodeStatus

        public void send_setDataNodeStatus​(TSetDataNodeStatusReq req)
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_setDataNodeStatus

        public TSStatus recv_setDataNodeStatus()
                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_migrateRegion

        public void send_migrateRegion​(TMigrateRegionReq req)
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_migrateRegion

        public TSStatus recv_migrateRegion()
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_killQuery

        public void send_killQuery​(String queryId,
                                   int dataNodeId)
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_killQuery

        public TSStatus recv_killQuery()
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getRunningDataNodeLocations

        public void send_getRunningDataNodeLocations()
                                              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getRunningDataNodeLocations

        public TGetDataNodeLocationsResp recv_getRunningDataNodeLocations()
                                                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_showCluster

        public void send_showCluster()
                              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_showCluster

        public TShowClusterResp recv_showCluster()
                                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_showVariables

        public void send_showVariables()
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_showVariables

        public TShowVariablesResp recv_showVariables()
                                              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_showDataNodes

        public void send_showDataNodes()
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_showDataNodes

        public TShowDataNodesResp recv_showDataNodes()
                                              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_showConfigNodes

        public void send_showConfigNodes()
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_showConfigNodes

        public TShowConfigNodesResp recv_showConfigNodes()
                                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_showDatabase

        public void send_showDatabase​(TGetDatabaseReq req)
                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_showDatabase

        public TShowDatabaseResp recv_showDatabase()
                                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_showRegion

        public void send_showRegion​(TShowRegionReq req)
                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_showRegion

        public TShowRegionResp recv_showRegion()
                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getLatestRegionRouteMap

        public void send_getLatestRegionRouteMap()
                                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getLatestRegionRouteMap

        public TRegionRouteMapResp recv_getLatestRegionRouteMap()
                                                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_createSchemaTemplate

        public void send_createSchemaTemplate​(TCreateSchemaTemplateReq req)
                                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_createSchemaTemplate

        public TSStatus recv_createSchemaTemplate()
                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getAllTemplates

        public void send_getAllTemplates()
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getAllTemplates

        public TGetAllTemplatesResp recv_getAllTemplates()
                                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getTemplate

        public void send_getTemplate​(String req)
                              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getTemplate

        public TGetTemplateResp recv_getTemplate()
                                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_setSchemaTemplate

        public void send_setSchemaTemplate​(TSetSchemaTemplateReq req)
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_setSchemaTemplate

        public TSStatus recv_setSchemaTemplate()
                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getPathsSetTemplate

        public void send_getPathsSetTemplate​(TGetPathsSetTemplatesReq req)
                                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getPathsSetTemplate

        public TGetPathsSetTemplatesResp recv_getPathsSetTemplate()
                                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_deactivateSchemaTemplate

        public void send_deactivateSchemaTemplate​(TDeactivateSchemaTemplateReq req)
                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_deactivateSchemaTemplate

        public TSStatus recv_deactivateSchemaTemplate()
                                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_unsetSchemaTemplate

        public void send_unsetSchemaTemplate​(TUnsetSchemaTemplateReq req)
                                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_unsetSchemaTemplate

        public TSStatus recv_unsetSchemaTemplate()
                                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_dropSchemaTemplate

        public void send_dropSchemaTemplate​(String req)
                                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_dropSchemaTemplate

        public TSStatus recv_dropSchemaTemplate()
                                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_alterSchemaTemplate

        public void send_alterSchemaTemplate​(TAlterSchemaTemplateReq req)
                                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_alterSchemaTemplate

        public TSStatus recv_alterSchemaTemplate()
                                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • deleteTimeSeries

        public TSStatus deleteTimeSeries​(TDeleteTimeSeriesReq req)
                                  throws org.apache.thrift.TException
        Description copied from interface: IConfigNodeRPCService.Iface
        Generate a set of DeleteTimeSeriesProcedure to delete some specific TimeSeries
        Specified by:
        deleteTimeSeries in interface IConfigNodeRPCService.Iface
        Returns:
        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
        Throws:
        org.apache.thrift.TException
      • send_deleteTimeSeries

        public void send_deleteTimeSeries​(TDeleteTimeSeriesReq req)
                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_deleteTimeSeries

        public TSStatus recv_deleteTimeSeries()
                                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_deleteLogicalView

        public void send_deleteLogicalView​(TDeleteLogicalViewReq req)
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_deleteLogicalView

        public TSStatus recv_deleteLogicalView()
                                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_alterLogicalView

        public void send_alterLogicalView​(TAlterLogicalViewReq req)
                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_alterLogicalView

        public TSStatus recv_alterLogicalView()
                                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_createPipe

        public void send_createPipe​(TCreatePipeReq req)
                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_createPipe

        public TSStatus recv_createPipe()
                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_startPipe

        public void send_startPipe​(String pipeName)
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_startPipe

        public TSStatus recv_startPipe()
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_stopPipe

        public void send_stopPipe​(String pipeName)
                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_stopPipe

        public TSStatus recv_stopPipe()
                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_dropPipe

        public void send_dropPipe​(String pipeName)
                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_dropPipe

        public TSStatus recv_dropPipe()
                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_showPipe

        public void send_showPipe​(TShowPipeReq req)
                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_showPipe

        public TShowPipeResp recv_showPipe()
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getAllPipeInfo

        public void send_getAllPipeInfo()
                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getAllPipeInfo

        public TGetAllPipeInfoResp recv_getAllPipeInfo()
                                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_executeSyncCommand

        public void send_executeSyncCommand​(ByteBuffer configPhysicalPlanBinary)
                                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_executeSyncCommand

        public TSStatus recv_executeSyncCommand()
                                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getRegionId

        public void send_getRegionId​(TGetRegionIdReq req)
                              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getRegionId

        public TGetRegionIdResp recv_getRegionId()
                                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getTimeSlotList

        public void send_getTimeSlotList​(TGetTimeSlotListReq req)
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getTimeSlotList

        public TGetTimeSlotListResp recv_getTimeSlotList()
                                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_countTimeSlotList

        public void send_countTimeSlotList​(TCountTimeSlotListReq req)
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_countTimeSlotList

        public TCountTimeSlotListResp recv_countTimeSlotList()
                                                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getSeriesSlotList

        public void send_getSeriesSlotList​(TGetSeriesSlotListReq req)
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getSeriesSlotList

        public TGetSeriesSlotListResp recv_getSeriesSlotList()
                                                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_createCQ

        public void send_createCQ​(TCreateCQReq req)
                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_createCQ

        public TSStatus recv_createCQ()
                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_dropCQ

        public void send_dropCQ​(TDropCQReq req)
                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_dropCQ

        public TSStatus recv_dropCQ()
                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_showCQ

        public void send_showCQ()
                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_showCQ

        public TShowCQResp recv_showCQ()
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_setSpaceQuota

        public void send_setSpaceQuota​(TSetSpaceQuotaReq req)
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_setSpaceQuota

        public TSStatus recv_setSpaceQuota()
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_showSpaceQuota

        public void send_showSpaceQuota​(List<String> databases)
                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_showSpaceQuota

        public TSpaceQuotaResp recv_showSpaceQuota()
                                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getSpaceQuota

        public void send_getSpaceQuota()
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getSpaceQuota

        public TSpaceQuotaResp recv_getSpaceQuota()
                                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_setThrottleQuota

        public void send_setThrottleQuota​(TSetThrottleQuotaReq req)
                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_setThrottleQuota

        public TSStatus recv_setThrottleQuota()
                                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_showThrottleQuota

        public void send_showThrottleQuota​(TShowThrottleReq req)
                                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_showThrottleQuota

        public TThrottleQuotaResp recv_showThrottleQuota()
                                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • send_getThrottleQuota

        public void send_getThrottleQuota()
                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • recv_getThrottleQuota

        public TThrottleQuotaResp recv_getThrottleQuota()
                                                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException