Class OmSnapshotLocalData.VersionMeta

java.lang.Object
org.apache.hadoop.ozone.om.OmSnapshotLocalData.VersionMeta
All Implemented Interfaces:
org.apache.hadoop.hdds.utils.db.CopyObject<OmSnapshotLocalData.VersionMeta>
Enclosing class:
OmSnapshotLocalData

public static class OmSnapshotLocalData.VersionMeta extends Object implements org.apache.hadoop.hdds.utils.db.CopyObject<OmSnapshotLocalData.VersionMeta>
Represents metadata for a specific version in a snapshot. This class maintains the version of the previous snapshot and a list of SST (Sorted String Table) files associated with the current version. It provides methods for accessing this data and supports a copy mechanism for deep cloning. Instances of this class are immutable. The list of SST files is stored as an unmodifiable list to maintain immutability.
  • Constructor Details

    • VersionMeta

      public VersionMeta(int previousSnapshotVersion, List<org.apache.ozone.compaction.log.SstFileInfo> sstFiles)
  • Method Details