类 TemplateTable


  • public class TemplateTable
    extends java.lang.Object
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void clear()  
      void createTemplate​(org.apache.iotdb.db.metadata.template.Template template)  
      void dropTemplate​(java.lang.String templateName)  
      java.util.List<org.apache.iotdb.db.metadata.template.Template> getAllTemplate()  
      org.apache.iotdb.db.metadata.template.Template getTemplate​(int templateId)  
      org.apache.iotdb.db.metadata.template.Template getTemplate​(java.lang.String name)  
      void processLoadSnapshot​(java.io.File snapshotDir)  
      boolean processTakeSnapshot​(java.io.File snapshotDir)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • TemplateTable

        public TemplateTable()
    • 方法详细资料

      • getTemplate

        public org.apache.iotdb.db.metadata.template.Template getTemplate​(java.lang.String name)
                                                                   throws org.apache.iotdb.commons.exception.MetadataException
        抛出:
        org.apache.iotdb.commons.exception.MetadataException
      • getTemplate

        public org.apache.iotdb.db.metadata.template.Template getTemplate​(int templateId)
                                                                   throws org.apache.iotdb.commons.exception.MetadataException
        抛出:
        org.apache.iotdb.commons.exception.MetadataException
      • getAllTemplate

        public java.util.List<org.apache.iotdb.db.metadata.template.Template> getAllTemplate()
      • createTemplate

        public void createTemplate​(org.apache.iotdb.db.metadata.template.Template template)
                            throws org.apache.iotdb.commons.exception.MetadataException
        抛出:
        org.apache.iotdb.commons.exception.MetadataException
      • dropTemplate

        public void dropTemplate​(java.lang.String templateName)
                          throws org.apache.iotdb.commons.exception.MetadataException
        抛出:
        org.apache.iotdb.commons.exception.MetadataException
      • processTakeSnapshot

        public boolean processTakeSnapshot​(java.io.File snapshotDir)
                                    throws java.io.IOException
        抛出:
        java.io.IOException
      • processLoadSnapshot

        public void processLoadSnapshot​(java.io.File snapshotDir)
                                 throws java.io.IOException
        抛出:
        java.io.IOException
      • clear

        public void clear()