Class BundleManifest
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,BundleManifest.Entry>
-
- org.apache.cassandra.spark.bulkwriter.cloudstorage.BundleManifest
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,BundleManifest.Entry>
public class BundleManifest extends java.util.HashMap<java.lang.String,BundleManifest.Entry>
Manifest of all SSTables in the bundle It is a variant ofHashMap, for the convenience of json serialization- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBundleManifest.EntryManifest of a single SSTable componentsChecksum include checksums of individual SSTable components startToken and endToken represents the token range of the SSTable
-
Field Summary
Fields Modifier and Type Field Description static com.fasterxml.jackson.databind.ObjectWriterOBJECT_WRITER
-
Constructor Summary
Constructors Constructor Description BundleManifest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntry(BundleManifest.Entry manifestEntry)voidpersistTo(java.nio.file.Path filePath)-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
addEntry
public void addEntry(BundleManifest.Entry manifestEntry)
-
persistTo
public void persistTo(java.nio.file.Path filePath) throws java.io.IOException- Throws:
java.io.IOException
-
-