Package org.rocksdb

Class LevelMetaData

java.lang.Object
org.rocksdb.LevelMetaData

public class LevelMetaData extends Object
The metadata that describes a level.
  • Method Details

    • level

      public int level()
      The level which this meta data describes.
      Returns:
      the level
    • size

      public long size()
      The size of this level in bytes, which is equal to the sum of the file size of its files().
      Returns:
      the size
    • files

      public List<SstFileMetaData> files()
      The metadata of all sst files in this level.
      Returns:
      the metadata of the files