Class StorageGroupLogWriter
- java.lang.Object
-
- org.apache.iotdb.db.metadata.storagegroup.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 voidclose()voiddeleteStorageGroup(org.apache.iotdb.commons.path.PartialPath storageGroup)voidforce()voidsetStorageGroup(org.apache.iotdb.commons.path.PartialPath storageGroup)voidsetTTL(org.apache.iotdb.commons.path.PartialPath storageGroup, long ttl)
-
-
-
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:
closein interfacejava.lang.AutoCloseable- Throws:
java.io.IOException
-
-