Modifier and Type | Class and Description |
---|---|
static class |
Memtable.LastReplayPosition |
Modifier and Type | Field and Description |
---|---|
ColumnFamilyStore |
cfs |
CellNameType |
initialComparator |
Constructor and Description |
---|
Memtable(CFMetaData metadata) |
Memtable(ColumnFamilyStore cfs) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(OpOrder.Group opGroup,
ReplayPosition replayPosition) |
int |
compareTo(Memtable that) |
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) |
long |
getLiveDataSize() |
long |
getOperations() |
boolean |
isClean() |
boolean |
isCleanAfter(ReplayPosition position) |
boolean |
isExpired() |
boolean |
isLive() |
int |
partitionCount() |
void |
setDiscarding(OpOrder.Barrier writeBarrier,
java.util.concurrent.atomic.AtomicReference<ReplayPosition> lastReplayPosition) |
java.lang.String |
toString() |
public final ColumnFamilyStore cfs
public final CellNameType initialComparator
public Memtable(ColumnFamilyStore cfs)
public Memtable(CFMetaData metadata)
public int compareTo(Memtable that)
compareTo
in interface java.lang.Comparable<Memtable>
public MemtableAllocator getAllocator()
public long getLiveDataSize()
public long getOperations()
public void setDiscarding(OpOrder.Barrier writeBarrier, java.util.concurrent.atomic.AtomicReference<ReplayPosition> lastReplayPosition)
public boolean accepts(OpOrder.Group opGroup, ReplayPosition replayPosition)
public boolean isLive()
public boolean isClean()
public boolean isCleanAfter(ReplayPosition position)
public boolean isExpired()
public java.lang.String contents()
public int partitionCount()
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()
Copyright © 2015 The Apache Software Foundation