Interface ITemplateManager
-
- All Known Implementing Classes:
ClusterTemplateManager
public interface ITemplateManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.Integer,Template>checkAllRelatedTemplate(org.apache.iotdb.commons.path.PartialPath pathPattern)org.apache.iotdb.tsfile.utils.Pair<Template,org.apache.iotdb.commons.path.PartialPath>checkTemplateSetInfo(org.apache.iotdb.commons.path.PartialPath path)org.apache.iotdb.common.rpc.thrift.TSStatuscreateSchemaTemplate(CreateSchemaTemplateStatement statement)org.apache.iotdb.tsfile.utils.Pair<Template,java.util.List<org.apache.iotdb.commons.path.PartialPath>>getAllPathsSetTemplate(java.lang.String templateName)java.util.List<Template>getAllTemplates()show schema templatesjava.util.List<org.apache.iotdb.commons.path.PartialPath>getPathsSetTemplate(java.lang.String name)get info of mounted templateTemplategetTemplate(int id)TemplategetTemplate(java.lang.String name)show nodes in schema template xxvoidsetSchemaTemplate(java.lang.String name, org.apache.iotdb.commons.path.PartialPath path)mount template
-
-
-
Method Detail
-
createSchemaTemplate
org.apache.iotdb.common.rpc.thrift.TSStatus createSchemaTemplate(CreateSchemaTemplateStatement statement)
- Parameters:
statement- CreateSchemaTemplateStatement- Returns:
- TSStatus
-
getAllTemplates
java.util.List<Template> getAllTemplates()
show schema templates- Returns:
- List
-
getTemplate
Template getTemplate(java.lang.String name)
show nodes in schema template xx- Parameters:
name-- Returns:
- Template
-
getTemplate
Template getTemplate(int id)
-
setSchemaTemplate
void setSchemaTemplate(java.lang.String name, org.apache.iotdb.commons.path.PartialPath path)mount template- Parameters:
name- templateNamepath- mount path
-
getPathsSetTemplate
java.util.List<org.apache.iotdb.commons.path.PartialPath> getPathsSetTemplate(java.lang.String name)
get info of mounted template- Parameters:
name-- Returns:
-
checkTemplateSetInfo
org.apache.iotdb.tsfile.utils.Pair<Template,org.apache.iotdb.commons.path.PartialPath> checkTemplateSetInfo(org.apache.iotdb.commons.path.PartialPath path)
-
getAllPathsSetTemplate
org.apache.iotdb.tsfile.utils.Pair<Template,java.util.List<org.apache.iotdb.commons.path.PartialPath>> getAllPathsSetTemplate(java.lang.String templateName)
-
checkAllRelatedTemplate
java.util.Map<java.lang.Integer,Template> checkAllRelatedTemplate(org.apache.iotdb.commons.path.PartialPath pathPattern)
-
-