Class 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 of HashMap, for the convenience of json serialization
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  BundleManifest.Entry
      Manifest of a single SSTable componentsChecksum include checksums of individual SSTable components startToken and endToken represents the token range of the SSTable
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.fasterxml.jackson.databind.ObjectWriter OBJECT_WRITER  
    • Constructor Summary

      Constructors 
      Constructor Description
      BundleManifest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addEntry​(BundleManifest.Entry manifestEntry)  
      void persistTo​(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
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        equals, hashCode
    • Field Detail

      • OBJECT_WRITER

        public static final com.fasterxml.jackson.databind.ObjectWriter OBJECT_WRITER
    • Constructor Detail

      • BundleManifest

        public BundleManifest()
    • Method Detail

      • persistTo

        public void persistTo​(java.nio.file.Path filePath)
                       throws java.io.IOException
        Throws:
        java.io.IOException