Package org.rocksdb

Class MemTableInfo


  • public class MemTableInfo
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getColumnFamilyName()
      Get the name of the column family to which memtable belongs.
      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.
      long getFirstSeqno()
      Get the Sequence number of the first element that was inserted into the memtable.
      long getNumDeletes()
      Get the total number of deletes in memtable.
      long getNumEntries()
      Get the total number of entries in memtable.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getColumnFamilyName

        public java.lang.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​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object