Modifier and Type | Method and Description |
---|---|
boolean |
Memtable.accepts(OpOrder.Group opGroup,
ReplayPosition replayPosition) |
org.apache.cassandra.db.AtomicBTreeColumns.ColumnUpdater |
AtomicBTreeColumns.addAllWithSizeDelta(ColumnFamily cm,
MemtableAllocator allocator,
OpOrder.Group writeOp,
SecondaryIndexManager.Updater indexer)
This is only called by Memtable.resolve, so only AtomicBTreeColumns needs to implement it.
|
void |
ColumnFamilyStore.apply(DecoratedKey key,
ColumnFamily columnFamily,
SecondaryIndexManager.Updater indexer,
OpOrder.Group opGroup,
ReplayPosition replayPosition)
Insert/Update the column family for this key.
|
Cell |
BufferCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
CounterCell |
BufferCounterCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
Cell |
BufferCounterUpdateCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
DeletedCell |
BufferDeletedCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
ExpiringCell |
BufferExpiringCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
Cell |
Cell.localCopy(CFMetaData metaData,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
CounterCell |
CounterCell.localCopy(CFMetaData metaData,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
DeletedCell |
DeletedCell.localCopy(CFMetaData metaData,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
ExpiringCell |
ExpiringCell.localCopy(CFMetaData metaData,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
Cell |
NativeCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
CounterCell |
NativeCounterCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
DeletedCell |
NativeDeletedCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
ExpiringCell |
NativeExpiringCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
Constructor and Description |
---|
AbstractNativeCell(NativeAllocator allocator,
OpOrder.Group writeOp,
Cell copyOf) |
NativeCell(NativeAllocator allocator,
OpOrder.Group writeOp,
Cell copyOf) |
NativeCounterCell(NativeAllocator allocator,
OpOrder.Group writeOp,
CounterCell copyOf) |
NativeDecoratedKey(Token token,
NativeAllocator allocator,
OpOrder.Group writeOp,
java.nio.ByteBuffer key) |
NativeDeletedCell(NativeAllocator allocator,
OpOrder.Group writeOp,
DeletedCell copyOf) |
NativeExpiringCell(NativeAllocator allocator,
OpOrder.Group writeOp,
ExpiringCell copyOf) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSimplePerColumnSecondaryIndex.delete(java.nio.ByteBuffer rowKey,
Cell cell,
OpOrder.Group opGroup) |
abstract void |
PerColumnSecondaryIndex.delete(java.nio.ByteBuffer rowKey,
Cell col,
OpOrder.Group opGroup)
Called when a column has been tombstoned or replaced.
|
abstract void |
PerRowSecondaryIndex.delete(DecoratedKey key,
OpOrder.Group opGroup)
cleans up deleted columns from cassandra cleanup compaction
|
void |
AbstractSimplePerColumnSecondaryIndex.deleteForCleanup(java.nio.ByteBuffer rowKey,
Cell cell,
OpOrder.Group opGroup) |
abstract void |
PerColumnSecondaryIndex.deleteForCleanup(java.nio.ByteBuffer rowKey,
Cell col,
OpOrder.Group opGroup)
Called when a column has been removed due to a cleanup operation.
|
void |
SecondaryIndexManager.deleteFromIndexes(DecoratedKey key,
java.util.List<Cell> indexedColumnsInRow,
OpOrder.Group opGroup)
Delete all columns from all indexes for this row.
|
void |
SecondaryIndexManager.indexRow(java.nio.ByteBuffer key,
ColumnFamily cf,
OpOrder.Group opGroup)
When building an index against existing data, add the given row to the index
|
void |
AbstractSimplePerColumnSecondaryIndex.insert(java.nio.ByteBuffer rowKey,
Cell cell,
OpOrder.Group opGroup) |
abstract void |
PerColumnSecondaryIndex.insert(java.nio.ByteBuffer rowKey,
Cell col,
OpOrder.Group opGroup)
insert a column to the index
|
void |
AbstractSimplePerColumnSecondaryIndex.update(java.nio.ByteBuffer rowKey,
Cell oldCol,
Cell col,
OpOrder.Group opGroup) |
abstract void |
PerColumnSecondaryIndex.update(java.nio.ByteBuffer rowKey,
Cell oldCol,
Cell col,
OpOrder.Group opGroup)
update a column from the index
|
SecondaryIndexManager.Updater |
SecondaryIndexManager.updaterFor(DecoratedKey key,
ColumnFamily cf,
OpOrder.Group opGroup)
This helper acts as a closure around the indexManager
and updated cf data to ensure that down in
Memtable's ColumnFamily implementation, the index
can get updated.
|
Modifier and Type | Method and Description |
---|---|
void |
CompositesIndexOnClusteringKey.delete(java.nio.ByteBuffer rowKey,
Cell cell,
OpOrder.Group opGroup) |
void |
CompositesIndexOnPartitionKey.delete(java.nio.ByteBuffer rowKey,
Cell cell,
OpOrder.Group opGroup) |
void |
CompositesIndex.delete(CompositesIndex.IndexedEntry entry,
OpOrder.Group opGroup) |
Modifier and Type | Method and Description |
---|---|
Memtable |
Tracker.getMemtableFor(OpOrder.Group opGroup,
ReplayPosition replayPosition)
get the Memtable that the ordered writeOp should be directed to
|
Modifier and Type | Method and Description |
---|---|
OpOrder.Group |
OpOrder.getCurrent() |
OpOrder.Group |
OpOrder.Barrier.getSyncPoint()
returns the Group we are waiting on - any Group with .compareTo(getSyncPoint()) <= 0
must complete before await() returns
|
OpOrder.Group |
OpOrder.start()
Start an operation against this OpOrder.
|
Modifier and Type | Method and Description |
---|---|
int |
OpOrder.Group.compareTo(OpOrder.Group that) |
boolean |
OpOrder.Barrier.isAfter(OpOrder.Group group) |
Modifier and Type | Method and Description |
---|---|
void |
MemtableAllocator.SubAllocator.adjust(long size,
OpOrder.Group opGroup) |
java.nio.ByteBuffer |
HeapPool.Allocator.allocate(int size,
OpOrder.Group opGroup) |
abstract java.nio.ByteBuffer |
MemtableBufferAllocator.allocate(int size,
OpOrder.Group opGroup) |
long |
NativeAllocator.allocate(int size,
OpOrder.Group opGroup) |
java.nio.ByteBuffer |
SlabAllocator.allocate(int size,
OpOrder.Group opGroup) |
void |
MemtableAllocator.SubAllocator.allocate(long size,
OpOrder.Group opGroup) |
protected AbstractAllocator |
MemtableBufferAllocator.allocator(OpOrder.Group writeOp) |
protected AbstractAllocator |
SlabAllocator.allocator(OpOrder.Group writeOp) |
abstract Cell |
MemtableAllocator.clone(Cell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
Cell |
MemtableBufferAllocator.clone(Cell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
Cell |
NativeAllocator.clone(Cell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
abstract CounterCell |
MemtableAllocator.clone(CounterCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
CounterCell |
MemtableBufferAllocator.clone(CounterCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
CounterCell |
NativeAllocator.clone(CounterCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
abstract DecoratedKey |
MemtableAllocator.clone(DecoratedKey key,
OpOrder.Group opGroup) |
DecoratedKey |
MemtableBufferAllocator.clone(DecoratedKey key,
OpOrder.Group writeOp) |
DecoratedKey |
NativeAllocator.clone(DecoratedKey key,
OpOrder.Group writeOp) |
abstract DeletedCell |
MemtableAllocator.clone(DeletedCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
DeletedCell |
MemtableBufferAllocator.clone(DeletedCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
DeletedCell |
NativeAllocator.clone(DeletedCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
abstract ExpiringCell |
MemtableAllocator.clone(ExpiringCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
ExpiringCell |
MemtableBufferAllocator.clone(ExpiringCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
ExpiringCell |
NativeAllocator.clone(ExpiringCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
Constructor and Description |
---|
ContextAllocator(OpOrder.Group opGroup,
MemtableBufferAllocator allocator) |
Copyright © 2019 The Apache Software Foundation