Class MemMTreeSnapshotUtil
- java.lang.Object
-
- org.apache.iotdb.db.metadata.mtree.snapshot.MemMTreeSnapshotUtil
-
public class MemMTreeSnapshotUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MemMTreeSnapshotUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancreateSnapshot(java.io.File snapshotDir, MemMTreeStore store)static IMNodeloadSnapshot(java.io.File snapshotDir, java.util.function.Consumer<IMeasurementMNode> measurementProcess)
-
-
-
Method Detail
-
createSnapshot
public static boolean createSnapshot(java.io.File snapshotDir, MemMTreeStore store)
-
loadSnapshot
public static IMNode loadSnapshot(java.io.File snapshotDir, java.util.function.Consumer<IMeasurementMNode> measurementProcess) throws java.io.IOException
- Throws:
java.io.IOException
-
-