Package org.rocksdb

Class ColumnFamilyMetaData

java.lang.Object
org.rocksdb.ColumnFamilyMetaData

public class ColumnFamilyMetaData extends Object
The metadata that describes a column family.
  • Method Details

    • size

      public long size()
      The size of this column family in bytes, which is equal to the sum of the file size of its levels().
      Returns:
      the size of this column family
    • fileCount

      public long fileCount()
      The number of files in this column family.
      Returns:
      the number of files
    • name

      public byte[] name()
      The name of the column family.
      Returns:
      the name
    • levels

      public List<LevelMetaData> levels()
      The metadata of all levels in this column family.
      Returns:
      the levels metadata