Class StorageGroupLogWriter

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class StorageGroupLogWriter
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      StorageGroupLogWriter​(java.lang.String schemaDir, java.lang.String fileName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void deleteStorageGroup​(org.apache.iotdb.commons.path.PartialPath storageGroup)  
      void force()  
      void setStorageGroup​(org.apache.iotdb.commons.path.PartialPath storageGroup)  
      void setTTL​(org.apache.iotdb.commons.path.PartialPath storageGroup, long ttl)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StorageGroupLogWriter

        public StorageGroupLogWriter​(java.lang.String schemaDir,
                                     java.lang.String fileName)
                              throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • setStorageGroup

        public void setStorageGroup​(org.apache.iotdb.commons.path.PartialPath storageGroup)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • deleteStorageGroup

        public void deleteStorageGroup​(org.apache.iotdb.commons.path.PartialPath storageGroup)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • setTTL

        public void setTTL​(org.apache.iotdb.commons.path.PartialPath storageGroup,
                           long ttl)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • force

        public void force()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.io.IOException