Class ConfigManager
java.lang.Object
org.apache.iotdb.confignode.manager.ConfigManager
- All Implemented Interfaces:
IManager
Entry of all management, AssignPartitionManager, AssignRegionManager.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LoadManagerManage load balancing.protected NodeManagerManage cluster node. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidalterDatabase(DatabaseSchemaPlan databaseSchemaPlan) Alter Database.alterPipe(TAlterPipeReq req) Alter Pipe.checkRoleOfUser(String username, String rolename) voidcheckUserPrivilegeGrantOpt(String username, List<PartialPath> paths, int permission) checkUserPrivileges(String username, List<PartialPath> paths, int permission) Check User Privileges.Clear cache on all DataNodes.voidclose()protected TSStatuscountMatchedDatabases(CountDatabasePlan countDatabasePlan) Count StorageGroups.Count timeSlot(timePartition)。used for Show cluster slots information in docs/zh/UserGuide/Cluster/Cluster-Maintenance.md.createCQ(TCreateCQReq req) Create a model.createPeerForConsensusGroup(List<TConfigNodeLocation> configNodeLocations) Create peer in new node to build consensus group.createPipe(TCreatePipeReq req) Create Pipe.Create pipe plugin.Create schemaengine template.Create Topic.Create trigger.Deactivate schemaengine template.deleteDatabases(TDeleteDatabasesReq tDeleteReq) Delete StorageGroups.Delete timeseries.dropCQ(TDropCQReq req) dropFunction(String udfName) dropModel(TDropModelReq req) Drop a model.dropPipe(TDropPipeReq req) Drop Pipe.Drop pipe plugin.dropSchemaTemplate(String templateName) Drop schemaengine template.dropTopic(TDropTopicReq req) Drop Topic.Drop trigger.fetchAuthizedPatternTree(String username, int permission) Flush on all DataNodes.flushOnSpecificDN(TFlushReq req, Map<Integer, TDataNodeLocation> dataNodeLocationMap) Flush on specific Datanode.getAINodeConfiguration(GetAINodeConfigurationPlan getAINodeConfigurationPlan) Get AINode info.Get all pipe information.Show schemaengine templates.Get all TopicInfos.GetClusterQuotaManager.GetClusterSchemaManager.GetConsensusManager.GetCQManager.getDataNodeConfiguration(GetDataNodeConfigurationPlan getDataNodeConfigurationPlan) Get DataNode info.getDataPartition(GetDataPartitionPlan getDataPartitionPlan) Get DataPartition.Get the latest RegionRouteMap.GetLoadManager.getLocationOfStatefulTrigger(String triggerName) Get DataNodeLocation of stateful trigger.getMatchedDatabaseSchemas(GetDatabasePlan getDatabaseReq) Get StorageGroupSchemas.Update the model stateGetModelManager.GetNodeManager.getNodePathsPartition(PartialPath partialPath, PathPatternTree scope, Integer level) Create SchemaNodeManagementPartition for child paths node management.getOrCreateDataPartition(GetOrCreateDataPartitionPlan getOrCreateDataPartitionPlan) Get or create DataPartition.getOrCreateSchemaPartition(PathPatternTree patternTree) Get or create SchemaPartition.GetPartitionManager.show paths set schemaengine template xx.GetPermissionManager.GetPipeManager.Get pipe plugin jar.Show pipe plugins.GetProcedureManager.Get RegionId.getRelatedDataRegionGroup(PathPatternTree patternTree) Get all related dataRegion which may contains the data of specific timeseries matched by given patternTreegetRelatedSchemaRegionGroup(PathPatternTree patternTree) Get all related schemaRegion which may contains the timeseries matched by given patternTree.Get RetryFailedTasksThread.getSchemaPartition(PathPatternTree patternTree) Get SchemaPartition.Get seriesSlot。used for Show cluster slots information in docs/zh/UserGuide/Cluster/Cluster-Maintenance.md.DataNode refresh stateful trigger cache.Get SubscriptionManager.Get system configurations that is not associated with the DataNodeId.getTemplate(String req) Show nodes in schemaengine template.Get timeSlot(timePartition)。used for Show cluster slots information in docs/zh/UserGuide/Cluster/Cluster-Maintenance.md.Get Trigger jar.GetTriggerManager.Show trigger & DataNode start.Get TTLManager.GetUDFManager.handleClientExit(String clientId) Execute the config req received from pipe.Execute the config req received from pipe.voidLoad configuration on all DataNodes.login.merge()Merge on all DataNodes.operatePermission(AuthorPlan authorPlan) Operate Permission.pushHeartbeat(int dataNodeId, TPipeHeartbeatResp resp) queryPermission(AuthorReadPlan authorPlan) Query Permission.Register AINodeRegister ConfigNode when it is first startup.Register DataNode.removeAINode(RemoveAINodePlan removeAINodePlan) Remove AINode.removeConfigNode(RemoveConfigNodePlan removeConfigNodePlan) Remove ConfigNode.removeDataNode(RemoveDataNodePlan removeDataNodePlan) Remove DataNode.voidreportConfigNodeShutdown(TConfigNodeLocation configNodeLocation) Report that the specified ConfigNode will be shutdown.reportDataNodeShutdown(TDataNodeLocation dataNodeLocation) Report that the specified DataNode will be shutdown.Restart AINode.Restart DataNode.Set Configuration.setDatabase(DatabaseSchemaPlan databaseSchemaPlan) Set Database.TestOnly.setDataReplicationFactor(SetDataReplicationFactorPlan setDataReplicationFactorPlan) protected voidprotected voidsetNodeManager(NodeInfo nodeInfo) setSchemaReplicationFactor(SetSchemaReplicationFactorPlan setSchemaReplicationFactorPlan) Set schemaengine template xx to xx-path.Set space quota.setSystemStatus(String systemStatus) Set system status on all DataNodes.setTimePartitionInterval(SetTimePartitionIntervalPlan setTimePartitionIntervalPlan) setTTL(SetTTLPlan setTTLPlan) Show AINodes.Get Cluster Nodes' information.Show ConfigNodes.showConfiguration(int nodeId) Show content of configuration file on specified nodeshowCQ()Show StorageGroup.Show DataNodes.showModel(TShowModelReq req) Return the model table.showPipe(TShowPipeReq req) Get Pipe by name.showRegion(GetRegionInfoListPlan getRegionInfoListPlan) Show (data/schemaengine) regions.showSpaceQuota(List<String> databases) showTopic(TShowTopicReq req) Show Topic.showTTL(ShowTTLPlan showTTLPlan) Get variables.Start Pipe.Check and repair unsorted tsfile by compaction.Stop Pipe.Stop repair data tasktransfer(List<TDataNodeLocation> newUnknownDataList) Unset schemaengine template.
-
Field Details
-
nodeManager
Manage cluster node. -
loadManager
Manage load balancing.
-
-
Constructor Details
-
ConfigManager
- Throws:
IOException
-
-
Method Details
-
initConsensusManager
- Throws:
IOException
-
setNodeManager
-
setLoadManager
protected void setLoadManager() -
close
- Throws:
IOException
-
getSystemConfiguration
Description copied from interface:IManagerGet system configurations that is not associated with the DataNodeId.- Specified by:
getSystemConfigurationin interfaceIManager- Returns:
- SystemConfigurationResp
-
registerDataNode
Description copied from interface:IManagerRegister DataNode.- Specified by:
registerDataNodein interfaceIManager- Returns:
- DataNodeConfigurationDataSet
-
restartDataNode
Description copied from interface:IManagerRestart DataNode.- Specified by:
restartDataNodein interfaceIManager- Parameters:
req- TDataNodeRestartReq- Returns:
TSStatusCode.SUCCESS_STATUSif allow DataNode to restart,TSStatusCode.REJECT_NODE_STARTotherwise
-
removeDataNode
Description copied from interface:IManagerRemove DataNode.- Specified by:
removeDataNodein interfaceIManager- Parameters:
removeDataNodePlan- RemoveDataNodePlan- Returns:
- DataNodeToStatusResp
-
restartAINode
Description copied from interface:IManagerRestart AINode.- Specified by:
restartAINodein interfaceIManager- Parameters:
req- TAINodeRestartReq- Returns:
- SUCCESS_STATUS if allow AINode to restart, REJECT_START otherwise
-
removeAINode
Description copied from interface:IManagerRemove AINode.- Specified by:
removeAINodein interfaceIManager- Parameters:
removeAINodePlan- RemoveAINodePlan- Returns:
- AINodeToStatusResp
-
reportDataNodeShutdown
Description copied from interface:IManagerReport that the specified DataNode will be shutdown.The ConfigNode-leader will mark it as
NodeStatus.Unknown- Specified by:
reportDataNodeShutdownin interfaceIManager- Returns:
TSStatusCode.SUCCESS_STATUSif reporting successfully
-
getDataNodeConfiguration
Description copied from interface:IManagerGet DataNode info.- Specified by:
getDataNodeConfigurationin interfaceIManager- Returns:
- DataNodesConfigurationDataSet
-
getAINodeConfiguration
Description copied from interface:IManagerGet AINode info.- Specified by:
getAINodeConfigurationin interfaceIManager- Parameters:
getAINodeConfigurationPlan- which contains specific AINode id or -1 to get all AINodes' configuration.- Returns:
- AINodeConfigurationDataSet
-
showCluster
Description copied from interface:IManagerGet Cluster Nodes' information.- Specified by:
showClusterin interfaceIManager- Returns:
- TShowClusterResp
-
showVariables
Description copied from interface:IManagerGet variables.- Specified by:
showVariablesin interfaceIManager- Returns:
- TShowVariablesResp
-
getClusterParameters
-
setTTL
-
setSchemaReplicationFactor
public TSStatus setSchemaReplicationFactor(SetSchemaReplicationFactorPlan setSchemaReplicationFactorPlan) - Specified by:
setSchemaReplicationFactorin interfaceIManager
-
setDataReplicationFactor
- Specified by:
setDataReplicationFactorin interfaceIManager
-
setTimePartitionInterval
- Specified by:
setTimePartitionIntervalin interfaceIManager
-
countMatchedDatabases
Description copied from interface:IManagerCount StorageGroups.- Specified by:
countMatchedDatabasesin interfaceIManager- Returns:
- The number of matched StorageGroups
-
getMatchedDatabaseSchemas
Description copied from interface:IManagerGet StorageGroupSchemas.- Specified by:
getMatchedDatabaseSchemasin interfaceIManager- Returns:
- StorageGroupSchemaDataSet
-
showTTL
-
setDatabase
Description copied from interface:IManagerSet Database.- Specified by:
setDatabasein interfaceIManager- Returns:
- TSStatus
-
alterDatabase
Description copied from interface:IManagerAlter Database.- Specified by:
alterDatabasein interfaceIManager- Returns:
- TSStatus
-
deleteDatabases
Description copied from interface:IManagerDelete StorageGroups.- Specified by:
deleteDatabasesin interfaceIManager- Parameters:
tDeleteReq- TDeleteDatabaseReq- Returns:
- status
-
getSchemaPartition
Description copied from interface:IManagerGet SchemaPartition.- Specified by:
getSchemaPartitionin interfaceIManager- Returns:
- TSchemaPartitionResp
-
getOrCreateSchemaPartition
Description copied from interface:IManagerGet or create SchemaPartition.- Specified by:
getOrCreateSchemaPartitionin interfaceIManager- Returns:
- TSchemaPartitionResp
-
getNodePathsPartition
public TSchemaNodeManagementResp getNodePathsPartition(PartialPath partialPath, PathPatternTree scope, Integer level) Description copied from interface:IManagerCreate SchemaNodeManagementPartition for child paths node management.- Specified by:
getNodePathsPartitionin interfaceIManager- Returns:
- TSchemaNodeManagementResp
-
getDataPartition
Description copied from interface:IManagerGet DataPartition.- Specified by:
getDataPartitionin interfaceIManager- Returns:
- TDataPartitionResp
-
getOrCreateDataPartition
public TDataPartitionTableResp getOrCreateDataPartition(GetOrCreateDataPartitionPlan getOrCreateDataPartitionPlan) Description copied from interface:IManagerGet or create DataPartition.- Specified by:
getOrCreateDataPartitionin interfaceIManager- Returns:
- TDataPartitionResp
-
confirmLeader
-
getClusterManager
- Specified by:
getClusterManagerin interfaceIManager
-
getNodeManager
Description copied from interface:IManagerGetNodeManager.- Specified by:
getNodeManagerin interfaceIManager- Returns:
NodeManagerinstance
-
getClusterSchemaManager
Description copied from interface:IManagerGetClusterSchemaManager.- Specified by:
getClusterSchemaManagerin interfaceIManager- Returns:
ClusterSchemaManagerinstance
-
getConsensusManager
Description copied from interface:IManagerGetConsensusManager.- Specified by:
getConsensusManagerin interfaceIManager- Returns:
ConsensusManagerinstance
-
getPartitionManager
Description copied from interface:IManagerGetPartitionManager.- Specified by:
getPartitionManagerin interfaceIManager- Returns:
PartitionManagerinstance
-
getPermissionManager
Description copied from interface:IManagerGetPermissionManager.- Specified by:
getPermissionManagerin interfaceIManager- Returns:
PermissionManagerinstance
-
getLoadManager
Description copied from interface:IManagerGetLoadManager.- Specified by:
getLoadManagerin interfaceIManager- Returns:
LoadManagerinstance
-
getTriggerManager
Description copied from interface:IManagerGetTriggerManager.- Specified by:
getTriggerManagerin interfaceIManager- Returns:
TriggerManagerinstance
-
getModelManager
Description copied from interface:IManagerGetModelManager.- Specified by:
getModelManagerin interfaceIManager- Returns:
ModelManagerinstance
-
getPipeManager
Description copied from interface:IManagerGetPipeManager.- Specified by:
getPipeManagerin interfaceIManager- Returns:
PipeManagerinstance
-
getTTLManager
Description copied from interface:IManagerGet TTLManager.- Specified by:
getTTLManagerin interfaceIManager- Returns:
- TTLManager instance
-
getSubscriptionManager
Description copied from interface:IManagerGet SubscriptionManager.- Specified by:
getSubscriptionManagerin interfaceIManager- Returns:
- SubscriptionManager instance
-
operatePermission
Description copied from interface:IManagerOperate Permission.- Specified by:
operatePermissionin interfaceIManager- Returns:
- status
-
queryPermission
Description copied from interface:IManagerQuery Permission.- Specified by:
queryPermissionin interfaceIManager- Returns:
- PermissionInfoDataSet
-
login
Description copied from interface:IManagerlogin. -
checkUserPrivileges
public TPermissionInfoResp checkUserPrivileges(String username, List<PartialPath> paths, int permission) Description copied from interface:IManagerCheck User Privileges.- Specified by:
checkUserPrivilegesin interfaceIManager
-
fetchAuthizedPatternTree
-
checkUserPathPrivilege
public void checkUserPathPrivilege() -
checkUserPrivilegeGrantOpt
public TPermissionInfoResp checkUserPrivilegeGrantOpt(String username, List<PartialPath> paths, int permission) -
checkRoleOfUser
-
registerConfigNode
Description copied from interface:IManagerRegister ConfigNode when it is first startup.- Specified by:
registerConfigNodein interfaceIManager- Returns:
- TConfigNodeRegisterResp
-
checkConfigNodeGlobalConfig
- Specified by:
checkConfigNodeGlobalConfigin interfaceIManager
-
createPeerForConsensusGroup
Description copied from interface:IManagerCreate peer in new node to build consensus group.- Specified by:
createPeerForConsensusGroupin interfaceIManager- Returns:
- status
-
removeConfigNode
Description copied from interface:IManagerRemove ConfigNode.- Specified by:
removeConfigNodein interfaceIManager- Returns:
- status
-
reportConfigNodeShutdown
Description copied from interface:IManagerReport that the specified ConfigNode will be shutdown. The ConfigNode-leader will mark it as Unknown.- Specified by:
reportConfigNodeShutdownin interfaceIManager- Returns:
TSStatusCode.SUCCESS_STATUSif reporting successfully
-
createFunction
- Specified by:
createFunctionin interfaceIManager
-
dropFunction
- Specified by:
dropFunctionin interfaceIManager
-
getUDFTable
- Specified by:
getUDFTablein interfaceIManager
-
getUDFJar
-
createTrigger
Description copied from interface:IManagerCreate trigger.- Specified by:
createTriggerin interfaceIManager
-
dropTrigger
Description copied from interface:IManagerDrop trigger.- Specified by:
dropTriggerin interfaceIManager
-
getTriggerTable
Description copied from interface:IManagerShow trigger & DataNode start.- Specified by:
getTriggerTablein interfaceIManager
-
getStatefulTriggerTable
Description copied from interface:IManagerDataNode refresh stateful trigger cache.- Specified by:
getStatefulTriggerTablein interfaceIManager
-
getLocationOfStatefulTrigger
Description copied from interface:IManagerGet DataNodeLocation of stateful trigger.- Specified by:
getLocationOfStatefulTriggerin interfaceIManager
-
getTriggerJar
Description copied from interface:IManagerGet Trigger jar.- Specified by:
getTriggerJarin interfaceIManager
-
createPipePlugin
Description copied from interface:IManagerCreate pipe plugin.- Specified by:
createPipePluginin interfaceIManager
-
dropPipePlugin
Description copied from interface:IManagerDrop pipe plugin.- Specified by:
dropPipePluginin interfaceIManager
-
getPipePluginTable
Description copied from interface:IManagerShow pipe plugins.- Specified by:
getPipePluginTablein interfaceIManager
-
getPipePluginJar
Description copied from interface:IManagerGet pipe plugin jar.- Specified by:
getPipePluginJarin interfaceIManager
-
merge
Description copied from interface:IManagerMerge on all DataNodes. -
flush
Description copied from interface:IManagerFlush on all DataNodes. -
flushOnSpecificDN
public TSStatus flushOnSpecificDN(TFlushReq req, Map<Integer, TDataNodeLocation> dataNodeLocationMap) Description copied from interface:IManagerFlush on specific Datanode.- Specified by:
flushOnSpecificDNin interfaceIManager
-
clearCache
Description copied from interface:IManagerClear cache on all DataNodes.- Specified by:
clearCachein interfaceIManager
-
setConfiguration
Description copied from interface:IManagerSet Configuration.- Specified by:
setConfigurationin interfaceIManager
-
startRepairData
Description copied from interface:IManagerCheck and repair unsorted tsfile by compaction.- Specified by:
startRepairDatain interfaceIManager
-
stopRepairData
Description copied from interface:IManagerStop repair data task- Specified by:
stopRepairDatain interfaceIManager
-
submitLoadConfigurationTask
- Specified by:
submitLoadConfigurationTaskin interfaceIManager
-
loadConfiguration
Description copied from interface:IManagerLoad configuration on all DataNodes.- Specified by:
loadConfigurationin interfaceIManager
-
showConfiguration
Description copied from interface:IManagerShow content of configuration file on specified node- Specified by:
showConfigurationin interfaceIManager
-
setSystemStatus
Description copied from interface:IManagerSet system status on all DataNodes.- Specified by:
setSystemStatusin interfaceIManager
-
setDataNodeStatus
Description copied from interface:IManagerTestOnly. Set the target DataNode to the specified status- Specified by:
setDataNodeStatusin interfaceIManager
-
killQuery
-
getRunningDataNodeLocations
- Specified by:
getRunningDataNodeLocationsin interfaceIManager
-
getLatestRegionRouteMap
Description copied from interface:IManagerGet the latest RegionRouteMap.- Specified by:
getLatestRegionRouteMapin interfaceIManager- Returns:
- TRegionRouteMapResp
-
getUDFManager
Description copied from interface:IManagerGetUDFManager.- Specified by:
getUDFManagerin interfaceIManager- Returns:
UDFManagerinstance
-
showRegion
Description copied from interface:IManagerShow (data/schemaengine) regions.- Specified by:
showRegionin interfaceIManager
-
showAINodes
Description copied from interface:IManagerShow AINodes.- Specified by:
showAINodesin interfaceIManager
-
showDataNodes
Description copied from interface:IManagerShow DataNodes.- Specified by:
showDataNodesin interfaceIManager
-
showConfigNodes
Description copied from interface:IManagerShow ConfigNodes.- Specified by:
showConfigNodesin interfaceIManager
-
showDatabase
Description copied from interface:IManagerShow StorageGroup.- Specified by:
showDatabasein interfaceIManager- Parameters:
req- TShowDatabaseReq- Returns:
- TShowStorageGroupResp
-
getProcedureManager
Description copied from interface:IManagerGetProcedureManager.- Specified by:
getProcedureManagerin interfaceIManager- Returns:
ProcedureManagerinstance
-
getCQManager
Description copied from interface:IManagerGetCQManager.- Specified by:
getCQManagerin interfaceIManager- Returns:
CQManagerinstance
-
getClusterQuotaManager
Description copied from interface:IManagerGetClusterQuotaManager.- Specified by:
getClusterQuotaManagerin interfaceIManager- Returns:
ClusterQuotaManagerinstance
-
getRetryFailedTasksThread
Description copied from interface:IManagerGet RetryFailedTasksThread. GetRetryFailedTasksThread.- Specified by:
getRetryFailedTasksThreadin interfaceIManager- Returns:
RetryFailedTasksThreadinstance
-
addMetrics
public void addMetrics()- Specified by:
addMetricsin interfaceIManager
-
removeMetrics
public void removeMetrics()- Specified by:
removeMetricsin interfaceIManager
-
createSchemaTemplate
Description copied from interface:IManagerCreate schemaengine template.- Specified by:
createSchemaTemplatein interfaceIManager- Parameters:
req- TCreateSchemaTemplateReq- Returns:
- TSStatus
-
getAllTemplates
Description copied from interface:IManagerShow schemaengine templates.- Specified by:
getAllTemplatesin interfaceIManager- Returns:
- TGetAllTemplatesResp
-
getTemplate
Description copied from interface:IManagerShow nodes in schemaengine template.- Specified by:
getTemplatein interfaceIManager- Parameters:
req- String- Returns:
- TGetTemplateResp
-
setSchemaTemplate
Description copied from interface:IManagerSet schemaengine template xx to xx-path.- Specified by:
setSchemaTemplatein interfaceIManager- Parameters:
req- TSetSchemaTemplateReq- Returns:
- TSStatus
-
getPathsSetTemplate
Description copied from interface:IManagershow paths set schemaengine template xx.- Specified by:
getPathsSetTemplatein interfaceIManager- Parameters:
req- req- Returns:
- TGetPathsSetTemplatesResp
-
deactivateSchemaTemplate
Description copied from interface:IManagerDeactivate schemaengine template.- Specified by:
deactivateSchemaTemplatein interfaceIManager
-
unsetSchemaTemplate
Description copied from interface:IManagerUnset schemaengine template.- Specified by:
unsetSchemaTemplatein interfaceIManager
-
dropSchemaTemplate
Description copied from interface:IManagerDrop schemaengine template.- Specified by:
dropSchemaTemplatein interfaceIManager
-
alterSchemaTemplate
- Specified by:
alterSchemaTemplatein interfaceIManager
-
deleteTimeSeries
Description copied from interface:IManagerDelete timeseries.- Specified by:
deleteTimeSeriesin interfaceIManager
-
deleteLogicalView
- Specified by:
deleteLogicalViewin interfaceIManager
-
alterLogicalView
- Specified by:
alterLogicalViewin interfaceIManager
-
createPipe
Description copied from interface:IManagerCreate Pipe.- Specified by:
createPipein interfaceIManager- Parameters:
req- Info about Pipe- Returns:
TSStatusCode.SUCCESS_STATUSif created the pipe successfully,TSStatusCode.PIPE_ERRORif encountered failure.
-
alterPipe
Description copied from interface:IManagerAlter Pipe. -
startPipe
Description copied from interface:IManagerStart Pipe.- Specified by:
startPipein interfaceIManager- Parameters:
pipeName- name of Pipe- Returns:
TSStatusCode.SUCCESS_STATUSif started the pipe successfully,TSStatusCode.PIPE_ERRORif encountered failure.
-
stopPipe
Description copied from interface:IManagerStop Pipe.- Specified by:
stopPipein interfaceIManager- Parameters:
pipeName- name of Pipe- Returns:
TSStatusCode.SUCCESS_STATUSif stopped the pipe successfully,TSStatusCode.PIPE_ERRORif encountered failure.
-
dropPipe
Description copied from interface:IManagerDrop Pipe.- Specified by:
dropPipein interfaceIManager- Parameters:
req- Info about Pipe- Returns:
TSStatusCode.SUCCESS_STATUSif dropped the pipe successfully,TSStatusCode.PIPE_ERRORif encountered failure.
-
showPipe
Description copied from interface:IManagerGet Pipe by name. If pipeName is empty, get all Pipe. -
getAllPipeInfo
Description copied from interface:IManagerGet all pipe information. It is used for DataNode registration and restart.- Specified by:
getAllPipeInfoin interfaceIManager- Returns:
- All pipe information.
-
createTopic
Description copied from interface:IManagerCreate Topic.- Specified by:
createTopicin interfaceIManager
-
dropTopic
Description copied from interface:IManagerDrop Topic. -
showTopic
Description copied from interface:IManagerShow Topic. -
getAllTopicInfo
Description copied from interface:IManagerGet all TopicInfos.- Specified by:
getAllTopicInfoin interfaceIManager
-
createConsumer
- Specified by:
createConsumerin interfaceIManager
-
closeConsumer
- Specified by:
closeConsumerin interfaceIManager
-
createSubscription
- Specified by:
createSubscriptionin interfaceIManager
-
dropSubscription
- Specified by:
dropSubscriptionin interfaceIManager
-
dropSubscriptionById
- Specified by:
dropSubscriptionByIdin interfaceIManager
-
showSubscription
- Specified by:
showSubscriptionin interfaceIManager
-
getAllSubscriptionInfo
- Specified by:
getAllSubscriptionInfoin interfaceIManager
-
handleTransferConfigPlan
Description copied from interface:IManagerExecute the config req received from pipe.- Specified by:
handleTransferConfigPlanin interfaceIManager- Returns:
- The result of the command execution.
-
handleClientExit
Description copied from interface:IManagerExecute the config req received from pipe.- Specified by:
handleClientExitin interfaceIManager- Returns:
- The result of handling.
-
getRegionId
Description copied from interface:IManagerGet RegionId. used for Show cluster slots information in docs/zh/UserGuide/Cluster/Cluster-Maintenance.md.- Specified by:
getRegionIdin interfaceIManager- Returns:
- TGetRegionIdResp.
-
getTimeSlotList
Description copied from interface:IManagerGet timeSlot(timePartition)。used for Show cluster slots information in docs/zh/UserGuide/Cluster/Cluster-Maintenance.md.- Specified by:
getTimeSlotListin interfaceIManager- Returns:
- TGetTimeSlotListResp.
-
countTimeSlotList
Description copied from interface:IManagerCount timeSlot(timePartition)。used for Show cluster slots information in docs/zh/UserGuide/Cluster/Cluster-Maintenance.md.- Specified by:
countTimeSlotListin interfaceIManager- Returns:
- TCountTimeSlotListResp.
-
getSeriesSlotList
Description copied from interface:IManagerGet seriesSlot。used for Show cluster slots information in docs/zh/UserGuide/Cluster/Cluster-Maintenance.md.- Specified by:
getSeriesSlotListin interfaceIManager- Returns:
- TGetSeriesSlotListResp.
-
migrateRegion
- Specified by:
migrateRegionin interfaceIManager
-
reconstructRegion
- Specified by:
reconstructRegionin interfaceIManager
-
extendRegion
- Specified by:
extendRegionin interfaceIManager
-
removeRegion
- Specified by:
removeRegionin interfaceIManager
-
createCQ
-
dropCQ
-
showCQ
-
getRelatedSchemaRegionGroup
public Map<TConsensusGroupId,TRegionReplicaSet> getRelatedSchemaRegionGroup(PathPatternTree patternTree) Get all related schemaRegion which may contains the timeseries matched by given patternTree. -
getRelatedDataRegionGroup
public Map<TConsensusGroupId,TRegionReplicaSet> getRelatedDataRegionGroup(PathPatternTree patternTree) Get all related dataRegion which may contains the data of specific timeseries matched by given patternTree -
transfer
-
createModel
Description copied from interface:IManagerCreate a model.- Specified by:
createModelin interfaceIManager
-
dropModel
Description copied from interface:IManagerDrop a model. -
showModel
Description copied from interface:IManagerReturn the model table. -
getModelInfo
Description copied from interface:IManagerUpdate the model state- Specified by:
getModelInfoin interfaceIManager
-
setSpaceQuota
Description copied from interface:IManagerSet space quota.- Specified by:
setSpaceQuotain interfaceIManager
-
showSpaceQuota
-
getSpaceQuota
-
setThrottleQuota
-
showThrottleQuota
-
getThrottleQuota
-
pushHeartbeat
- Specified by:
pushHeartbeatin interfaceIManager
-
registerAINode
Description copied from interface:IManagerRegister AINode- Specified by:
registerAINodein interfaceIManager- Parameters:
req- TAINodeRegisterReq- Returns:
- AINodeConfigurationDataSet
-