Package org.rocksdb

Class MemTableInfo

java.lang.Object
org.rocksdb.MemTableInfo

public class MemTableInfo extends Object
  • Method Details

    • getColumnFamilyName

      public String getColumnFamilyName()
      Get the name of the column family to which memtable belongs.
      Returns:
      the name of the column family.
    • getFirstSeqno

      public long getFirstSeqno()
      Get the Sequence number of the first element that was inserted into the memtable.
      Returns:
      the sequence number of the first inserted element.
    • getEarliestSeqno

      public long getEarliestSeqno()
      Get the Sequence number that is guaranteed to be smaller than or equal to the sequence number of any key that could be inserted into this memtable. It can then be assumed that any write with a larger(or equal) sequence number will be present in this memtable or a later memtable.
      Returns:
      the earliest sequence number.
    • getNumEntries

      public long getNumEntries()
      Get the total number of entries in memtable.
      Returns:
      the total number of entries.
    • getNumDeletes

      public long getNumDeletes()
      Get the total number of deletes in memtable.
      Returns:
      the total number of deletes.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object