Package org.rocksdb
Class MemTableInfo
- java.lang.Object
-
- org.rocksdb.MemTableInfo
-
public class MemTableInfo extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetColumnFamilyName()Get the name of the column family to which memtable belongs.longgetEarliestSeqno()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.longgetFirstSeqno()Get the Sequence number of the first element that was inserted into the memtable.longgetNumDeletes()Get the total number of deletes in memtable.longgetNumEntries()Get the total number of entries in memtable.inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-