Package org.rocksdb

Class ColumnFamilyMetaData


  • public class ColumnFamilyMetaData
    extends java.lang.Object
    The metadata that describes a column family.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long fileCount()
      The number of files in this column family.
      java.util.List<LevelMetaData> levels()
      The metadata of all levels in this column family.
      byte[] name()
      The name of the column family.
      long size()
      The size of this column family in bytes, which is equal to the sum of the file size of its levels().
      • Methods inherited from class java.lang.Object

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

      • 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 java.util.List<LevelMetaData> levels()
        The metadata of all levels in this column family.
        Returns:
        the levels metadata