Package org.rocksdb
Class MemTableInfo
java.lang.Object
org.rocksdb.MemTableInfo
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the name of the column family to which memtable belongs.longGet 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.longGet the Sequence number of the first element that was inserted into the memtable.longGet the total number of deletes in memtable.longGet the total number of entries in memtable.inthashCode()toString()
-
Method Details
-
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
-
hashCode
public int hashCode() -
toString
-