Package org.apache.iotdb.db.client
Class ConfigNodeClient
- java.lang.Object
-
- org.apache.iotdb.db.client.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigNodeClient.Factory
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMSG_RECONNECTION_FAIL
-
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.TSStatusaddConsensusGroup(org.apache.iotdb.confignode.rpc.thrift.TAddConsensusGroupReq registerResp)org.apache.iotdb.confignode.rpc.thrift.TPermissionInfoRespcheckUserPrivileges(org.apache.iotdb.confignode.rpc.thrift.TCheckUserPrivilegesReq req)org.apache.iotdb.common.rpc.thrift.TSStatusclearCache()voidclose()voidconnect(org.apache.iotdb.common.rpc.thrift.TEndPoint endpoint)org.apache.iotdb.confignode.rpc.thrift.TCountStorageGroupRespcountMatchedStorageGroups(java.util.List<java.lang.String> storageGroupPathPattern)org.apache.iotdb.common.rpc.thrift.TSStatuscreateFunction(org.apache.iotdb.confignode.rpc.thrift.TCreateFunctionReq req)org.apache.iotdb.common.rpc.thrift.TSStatuscreateSchemaTemplate(org.apache.iotdb.confignode.rpc.thrift.TCreateSchemaTemplateReq req)org.apache.iotdb.common.rpc.thrift.TSStatuscreateTrigger(org.apache.iotdb.confignode.rpc.thrift.TCreateTriggerReq req)org.apache.iotdb.common.rpc.thrift.TSStatusdeleteStorageGroup(org.apache.iotdb.confignode.rpc.thrift.TDeleteStorageGroupReq req)org.apache.iotdb.common.rpc.thrift.TSStatusdeleteStorageGroups(org.apache.iotdb.confignode.rpc.thrift.TDeleteStorageGroupsReq req)org.apache.iotdb.common.rpc.thrift.TSStatusdropFunction(org.apache.iotdb.confignode.rpc.thrift.TDropFunctionReq req)org.apache.iotdb.common.rpc.thrift.TSStatusdropTrigger(org.apache.iotdb.confignode.rpc.thrift.TDropTriggerReq req)org.apache.iotdb.common.rpc.thrift.TSStatusflush(org.apache.iotdb.common.rpc.thrift.TFlushReq req)org.apache.iotdb.confignode.rpc.thrift.TGetAllTemplatesRespgetAllTemplates()longgetConfigNodeHeartBeat(long timestamp)org.apache.iotdb.confignode.rpc.thrift.TDataNodeConfigurationRespgetDataNodeConfiguration(int dataNodeId)org.apache.iotdb.confignode.rpc.thrift.TDataPartitionTableRespgetDataPartitionTable(org.apache.iotdb.confignode.rpc.thrift.TDataPartitionReq req)org.apache.iotdb.confignode.rpc.thrift.TRegionRouteMapRespgetLatestRegionRouteMap()org.apache.iotdb.confignode.rpc.thrift.TStorageGroupSchemaRespgetMatchedStorageGroupSchemas(java.util.List<java.lang.String> storageGroupPathPattern)org.apache.iotdb.confignode.rpc.thrift.TDataPartitionTableRespgetOrCreateDataPartitionTable(org.apache.iotdb.confignode.rpc.thrift.TDataPartitionReq req)org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionTableRespgetOrCreateSchemaPartitionTable(org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionReq req)org.apache.iotdb.confignode.rpc.thrift.TGetPathsSetTemplatesRespgetPathsSetTemplate(java.lang.String req)org.apache.iotdb.confignode.rpc.thrift.TSchemaNodeManagementRespgetSchemaNodeManagementPartition(org.apache.iotdb.confignode.rpc.thrift.TSchemaNodeManagementReq req)org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionTableRespgetSchemaPartitionTable(org.apache.iotdb.confignode.rpc.thrift.TSchemaPartitionReq req)org.apache.iotdb.confignode.rpc.thrift.TGetTemplateRespgetTemplate(java.lang.String req)org.apache.thrift.transport.TTransportgetTransport()voidinit()voidinvalidate()voidinvalidateAll()org.apache.iotdb.common.rpc.thrift.TSStatusloadConfiguration()org.apache.iotdb.confignode.rpc.thrift.TPermissionInfoResplogin(org.apache.iotdb.confignode.rpc.thrift.TLoginReq req)org.apache.iotdb.common.rpc.thrift.TSStatusmerge()org.apache.iotdb.common.rpc.thrift.TSStatusnotifyRegisterSuccess()org.apache.iotdb.common.rpc.thrift.TSStatusoperatePermission(org.apache.iotdb.confignode.rpc.thrift.TAuthorizerReq req)org.apache.iotdb.confignode.rpc.thrift.TAuthorizerRespqueryPermission(org.apache.iotdb.confignode.rpc.thrift.TAuthorizerReq req)org.apache.iotdb.common.rpc.thrift.TSStatusregisterConfigNode(org.apache.iotdb.confignode.rpc.thrift.TConfigNodeRegisterReq req)org.apache.iotdb.confignode.rpc.thrift.TDataNodeRegisterRespregisterDataNode(org.apache.iotdb.confignode.rpc.thrift.TDataNodeRegisterReq req)org.apache.iotdb.common.rpc.thrift.TSStatusremoveConfigNode(org.apache.iotdb.common.rpc.thrift.TConfigNodeLocation configNodeLocation)org.apache.iotdb.common.rpc.thrift.TSStatusremoveConsensusGroup(org.apache.iotdb.common.rpc.thrift.TConfigNodeLocation configNodeLocation)org.apache.iotdb.confignode.rpc.thrift.TDataNodeRemoveRespremoveDataNode(org.apache.iotdb.confignode.rpc.thrift.TDataNodeRemoveReq req)org.apache.iotdb.common.rpc.thrift.TSStatusreportRegionMigrateResult(org.apache.iotdb.confignode.rpc.thrift.TRegionMigrateResultReportReq req)org.apache.iotdb.common.rpc.thrift.TSStatussetDataReplicationFactor(org.apache.iotdb.confignode.rpc.thrift.TSetDataReplicationFactorReq req)org.apache.iotdb.common.rpc.thrift.TSStatussetSchemaReplicationFactor(org.apache.iotdb.confignode.rpc.thrift.TSetSchemaReplicationFactorReq req)org.apache.iotdb.common.rpc.thrift.TSStatussetSchemaTemplate(org.apache.iotdb.confignode.rpc.thrift.TSetSchemaTemplateReq req)org.apache.iotdb.common.rpc.thrift.TSStatussetStorageGroup(org.apache.iotdb.confignode.rpc.thrift.TSetStorageGroupReq req)org.apache.iotdb.common.rpc.thrift.TSStatussetSystemStatus(java.lang.String systemStatus)org.apache.iotdb.common.rpc.thrift.TSStatussetTimePartitionInterval(org.apache.iotdb.confignode.rpc.thrift.TSetTimePartitionIntervalReq req)org.apache.iotdb.common.rpc.thrift.TSStatussetTTL(org.apache.iotdb.common.rpc.thrift.TSetTTLReq setTTLReq)org.apache.iotdb.confignode.rpc.thrift.TShowClusterRespshowCluster()org.apache.iotdb.confignode.rpc.thrift.TShowConfigNodesRespshowConfigNodes()org.apache.iotdb.confignode.rpc.thrift.TShowDataNodesRespshowDataNodes()org.apache.iotdb.confignode.rpc.thrift.TShowRegionRespshowRegion(org.apache.iotdb.confignode.rpc.thrift.TShowRegionReq req)org.apache.iotdb.confignode.rpc.thrift.TShowStorageGroupRespshowStorageGroup(java.util.List<java.lang.String> storageGroupPathPattern)org.apache.iotdb.common.rpc.thrift.TSStatusstopConfigNode(org.apache.iotdb.common.rpc.thrift.TConfigNodeLocation configNodeLocation)voidsyncLatestConfigNodeList()
-
-
-
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:
closein interfacejava.lang.AutoCloseable
-
invalidate
public void invalidate()
- Specified by:
invalidatein interfaceorg.apache.iotdb.commons.client.sync.SyncThriftClient
-
invalidateAll
public void invalidateAll()
- Specified by:
invalidateAllin interfaceorg.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:
registerDataNodein interfaceorg.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:
removeDataNodein interfaceorg.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:
getDataNodeConfigurationin interfaceorg.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:
reportRegionMigrateResultin interfaceorg.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:
showClusterin interfaceorg.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:
setStorageGroupin interfaceorg.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:
deleteStorageGroupin interfaceorg.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:
deleteStorageGroupsin interfaceorg.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:
countMatchedStorageGroupsin interfaceorg.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:
getMatchedStorageGroupSchemasin interfaceorg.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:
setTTLin interfaceorg.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:
setSchemaReplicationFactorin interfaceorg.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:
setDataReplicationFactorin interfaceorg.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:
setTimePartitionIntervalin interfaceorg.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:
getSchemaPartitionTablein interfaceorg.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:
getOrCreateSchemaPartitionTablein interfaceorg.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:
getSchemaNodeManagementPartitionin interfaceorg.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:
getDataPartitionTablein interfaceorg.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:
getOrCreateDataPartitionTablein interfaceorg.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:
operatePermissionin interfaceorg.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:
queryPermissionin interfaceorg.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:
loginin interfaceorg.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:
checkUserPrivilegesin interfaceorg.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:
registerConfigNodein interfaceorg.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:
addConsensusGroupin interfaceorg.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:
notifyRegisterSuccessin interfaceorg.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:
removeConfigNodein interfaceorg.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:
removeConsensusGroupin interfaceorg.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:
stopConfigNodein interfaceorg.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:
mergein interfaceorg.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:
flushin interfaceorg.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:
clearCachein interfaceorg.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:
loadConfigurationin interfaceorg.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:
setSystemStatusin interfaceorg.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:
showRegionin interfaceorg.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:
showDataNodesin interfaceorg.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:
showConfigNodesin interfaceorg.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:
showStorageGroupin interfaceorg.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:
getLatestRegionRouteMapin interfaceorg.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:
getConfigNodeHeartBeatin interfaceorg.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:
createFunctionin interfaceorg.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:
dropFunctionin interfaceorg.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:
createTriggerin interfaceorg.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:
dropTriggerin interfaceorg.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:
createSchemaTemplatein interfaceorg.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:
getAllTemplatesin interfaceorg.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:
getTemplatein interfaceorg.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:
setSchemaTemplatein interfaceorg.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:
getPathsSetTemplatein interfaceorg.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService.Iface- Throws:
org.apache.thrift.TException
-
-