public class Memtable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ColumnFamilyStore |
cfs |
CellNameType |
initialComparator |
Constructor and Description |
---|
Memtable(ColumnFamilyStore cfs) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(OpOrder.Group opGroup) |
java.lang.String |
contents() |
long |
creationTime() |
org.apache.cassandra.db.Memtable.FlushRunnable |
flushRunnable() |
MemtableAllocator |
getAllocator() |
ColumnFamily |
getColumnFamily(DecoratedKey key) |
java.util.Iterator<java.util.Map.Entry<DecoratedKey,ColumnFamily>> |
getEntryIterator(RowPosition startWith,
RowPosition stopAt) |
ReplayPosition |
getLastReplayPosition() |
long |
getLiveDataSize() |
long |
getOperations() |
boolean |
isClean() |
boolean |
isCleanAfter(ReplayPosition position) |
boolean |
isExpired() |
boolean |
isLive() |
java.lang.String |
toString() |
public final ColumnFamilyStore cfs
public final CellNameType initialComparator
public Memtable(ColumnFamilyStore cfs)
public MemtableAllocator getAllocator()
public long getLiveDataSize()
public long getOperations()
public boolean accepts(OpOrder.Group opGroup)
public boolean isLive()
public boolean isClean()
public boolean isCleanAfter(ReplayPosition position)
public boolean isExpired()
public java.lang.String contents()
public org.apache.cassandra.db.Memtable.FlushRunnable flushRunnable()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Iterator<java.util.Map.Entry<DecoratedKey,ColumnFamily>> getEntryIterator(RowPosition startWith, RowPosition stopAt)
startWith
- Include data in the result from and including this key and to the end of the memtablepublic ColumnFamily getColumnFamily(DecoratedKey key)
public long creationTime()
public ReplayPosition getLastReplayPosition()
Copyright © 2014 The Apache Software Foundation