Class BinarySnapshotLoader
java.lang.Object
org.impulsegraph.storage.csr.BinarySnapshotLoader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic interface -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionloadFromManifest(Path manifestPath, Arena arena) loadSnapshot(byte[] data, Arena arena) loadSnapshot(byte[] data, Arena arena, boolean verifyChecksum) loadSnapshot(byte[] data, Arena arena, boolean verifyChecksum, boolean forceReadOnly) loadSnapshot(MemorySegment segment, Arena arena, boolean verifyChecksum) loadSnapshot(MemorySegment segment, Arena arena, boolean verifyChecksum, boolean forceReadOnly) loadSnapshot(Path filePath, Arena arena) loadSnapshot(Path filePath, Arena arena, boolean verifyChecksum) loadSnapshot(Path filePath, Arena arena, boolean verifyChecksum, boolean forceReadOnly) static PathresolveSnapshotPath(Path filePath)
-
Field Details
-
SNAPSHOT_MAGIC
public static final int SNAPSHOT_MAGIC- See Also:
-
-
Method Details
-
resolveSnapshotPath
-
loadFromManifest
public static BinarySnapshotLoader.LoadedSnapshot loadFromManifest(Path manifestPath, Arena arena) throws IOException - Throws:
IOException
-
loadSnapshot
public static BinarySnapshotLoader.LoadedSnapshot loadSnapshot(Path filePath, Arena arena) throws IOException - Throws:
IOException
-
loadSnapshot
public static BinarySnapshotLoader.LoadedSnapshot loadSnapshot(Path filePath, Arena arena, boolean verifyChecksum) throws IOException - Throws:
IOException
-
loadSnapshot
public static BinarySnapshotLoader.LoadedSnapshot loadSnapshot(Path filePath, Arena arena, boolean verifyChecksum, boolean forceReadOnly) throws IOException - Throws:
IOException
-
loadSnapshot
-
loadSnapshot
public static BinarySnapshotLoader.LoadedSnapshot loadSnapshot(byte[] data, Arena arena, boolean verifyChecksum) -
loadSnapshot
public static BinarySnapshotLoader.LoadedSnapshot loadSnapshot(byte[] data, Arena arena, boolean verifyChecksum, boolean forceReadOnly) -
loadSnapshot
public static BinarySnapshotLoader.LoadedSnapshot loadSnapshot(MemorySegment segment, Arena arena, boolean verifyChecksum) -
loadSnapshot
public static BinarySnapshotLoader.LoadedSnapshot loadSnapshot(MemorySegment segment, Arena arena, boolean verifyChecksum, boolean forceReadOnly)
-