Package | Description |
---|---|
org.apache.cassandra.db | |
org.apache.cassandra.db.index | |
org.apache.cassandra.utils.concurrent | |
org.apache.cassandra.utils.memory |
Modifier and Type | Method and Description |
---|---|
boolean |
Memtable.accepts(OpOrder.Group opGroup) |
void |
ColumnFamilyStore.apply(DecoratedKey key,
ColumnFamily columnFamily,
SecondaryIndexManager.Updater indexer,
OpOrder.Group opGroup,
ReplayPosition replayPosition)
Insert/Update the column family for this key.
|
Memtable |
DataTracker.getMemtableFor(OpOrder.Group opGroup) |
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)
Delete a column from the index.
|
abstract void |
PerRowSecondaryIndex.delete(DecoratedKey key,
OpOrder.Group opGroup)
cleans up deleted columns from cassandra cleanup compaction
|
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.
|
SecondaryIndexManager.Updater |
SecondaryIndexManager.updaterFor(DecoratedKey key,
OpOrder.Group opGroup)
Updated closure with only the modified row key.
|
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 |
---|---|
java.nio.ByteBuffer |
HeapPoolAllocator.allocate(int size,
OpOrder.Group opGroup) |
java.nio.ByteBuffer |
HeapSlabAllocator.allocate(int size,
OpOrder.Group opGroup) |
abstract java.nio.ByteBuffer |
PoolAllocator.allocate(int size,
OpOrder.Group opGroup) |
java.nio.ByteBuffer |
PoolAllocator.clone(java.nio.ByteBuffer buffer,
OpOrder.Group opGroup)
Allocate a slice of the given length.
|
protected void |
PoolAllocator.markAllocated(int size,
OpOrder.Group opGroup) |
ContextAllocator |
PoolAllocator.wrap(OpOrder.Group opGroup,
ColumnFamilyStore cfs) |
Constructor and Description |
---|
ContextAllocator(OpOrder.Group opGroup,
PoolAllocator allocator,
ColumnFamilyStore cfs) |
Copyright © 2014 The Apache Software Foundation