Package org.rocksdb

Class LevelMetaData


  • public class LevelMetaData
    extends java.lang.Object
    The metadata that describes a level.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<SstFileMetaData> files()
      The metadata of all sst files in this level.
      int level()
      The level which this meta data describes.
      long size()
      The size of this level in bytes, which is equal to the sum of the file size of its files().
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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 java.util.List<SstFileMetaData> files()
        The metadata of all sst files in this level.
        Returns:
        the metadata of the files