Modifier and Type | Method and Description |
---|---|
OpOrder.Group |
ReadOrderGroup.baseReadOpOrderGroup() |
OpOrder.Group |
ReadOrderGroup.indexReadOpOrderGroup() |
OpOrder.Group |
ReadOrderGroup.writeOpOrderGroup() |
Modifier and Type | Method and Description |
---|---|
boolean |
Memtable.accepts(OpOrder.Group opGroup,
ReplayPosition replayPosition) |
void |
ColumnFamilyStore.apply(PartitionUpdate update,
SecondaryIndexManager.Updater indexer,
OpOrder.Group opGroup,
ReplayPosition replayPosition)
Insert/Update the column family for this key.
|
UnfilteredRowIterator |
SinglePartitionReadCommand.queryMemtableAndDisk(ColumnFamilyStore cfs,
OpOrder.Group readOp)
Queries both memtable and sstables to fetch the result of this query.
|
Constructor and Description |
---|
NativeDecoratedKey(Token token,
NativeAllocator allocator,
OpOrder.Group writeOp,
java.nio.ByteBuffer key) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSimplePerColumnSecondaryIndex.delete(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath path,
DeletionTime deletion,
OpOrder.Group opGroup) |
void |
AbstractSimplePerColumnSecondaryIndex.delete(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec) |
abstract void |
PerColumnSecondaryIndex.delete(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec)
Called when a column has been tombstoned or replaced.
|
abstract void |
PerRowSecondaryIndex.delete(java.nio.ByteBuffer key,
OpOrder.Group opGroup)
cleans up deleted columns from cassandra cleanup compaction
|
void |
AbstractSimplePerColumnSecondaryIndex.deleteForCleanup(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec) |
abstract void |
PerColumnSecondaryIndex.deleteForCleanup(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec)
Called when a column has been removed due to a cleanup operation.
|
void |
SecondaryIndexManager.deleteFromIndexes(UnfilteredRowIterator partition,
OpOrder.Group opGroup,
int nowInSec)
Delete all data from all indexes for this partition.
|
void |
SecondaryIndexManager.indexPartition(UnfilteredRowIterator partition,
OpOrder.Group opGroup,
java.util.Set<SecondaryIndex> allIndexes,
int nowInSec)
When building an index against existing data, add the given partition to the index
|
void |
PerColumnSecondaryIndex.indexRow(DecoratedKey key,
Row row,
OpOrder.Group opGroup,
int nowInSec) |
void |
AbstractSimplePerColumnSecondaryIndex.insert(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
LivenessInfo info,
OpOrder.Group opGroup) |
void |
AbstractSimplePerColumnSecondaryIndex.insert(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup) |
abstract void |
PerColumnSecondaryIndex.insert(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup)
insert a column to the index
|
void |
PerColumnSecondaryIndex.maybeDelete(java.nio.ByteBuffer partitionKey,
Clustering clustering,
DeletionTime deletion,
OpOrder.Group opGroup)
For indexes on the primary key, delete the given PK.
|
void |
PerColumnSecondaryIndex.maybeIndex(java.nio.ByteBuffer partitionKey,
Clustering clustering,
long timestamp,
int ttl,
OpOrder.Group opGroup,
int nowInSec)
For indexes on the primary key, index the given PK.
|
void |
AbstractSimplePerColumnSecondaryIndex.update(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell oldCell,
Cell cell,
OpOrder.Group opGroup,
int nowInSec) |
abstract void |
PerColumnSecondaryIndex.update(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell oldCell,
Cell cell,
OpOrder.Group opGroup,
int nowInSec)
update a column from the index
|
SecondaryIndexManager.Updater |
SecondaryIndexManager.updaterFor(PartitionUpdate update,
OpOrder.Group opGroup,
int nowInSec)
This helper acts as a closure around the indexManager and updated 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,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec) |
void |
CompositesIndexOnPartitionKey.delete(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec) |
void |
CompositesIndex.delete(CompositesIndex.IndexedEntry entry,
OpOrder.Group opGroup,
int nowInSec) |
void |
CompositesIndexOnClusteringKey.maybeDelete(java.nio.ByteBuffer partitionKey,
Clustering clustering,
DeletionTime deletion,
OpOrder.Group opGroup) |
void |
CompositesIndexOnClusteringKey.maybeIndex(java.nio.ByteBuffer partitionKey,
Clustering clustering,
long timestamp,
int ttl,
OpOrder.Group opGroup,
int nowInSec) |
void |
CompositesIndexOnPartitionKey.maybeIndex(java.nio.ByteBuffer partitionKey,
Clustering clustering,
long timestamp,
int ttl,
OpOrder.Group opGroup,
int nowInSec) |
Modifier and Type | Method and Description |
---|---|
void |
KeysIndex.indexRow(DecoratedKey key,
Row row,
OpOrder.Group opGroup,
int nowInSec) |
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 |
---|---|
long[] |
AtomicBTreePartition.addAllWithSizeDelta(PartitionUpdate update,
OpOrder.Group writeOp,
SecondaryIndexManager.Updater indexer)
Adds a given update to this in-memtable partition.
|
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) |
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 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 Row.Builder |
MemtableAllocator.rowBuilder(CFMetaData metadata,
OpOrder.Group opGroup,
boolean isStatic) |
Row.Builder |
MemtableBufferAllocator.rowBuilder(CFMetaData metadata,
OpOrder.Group writeOp,
boolean isStatic) |
Row.Builder |
NativeAllocator.rowBuilder(CFMetaData metadata,
OpOrder.Group opGroup,
boolean isStatic) |
Constructor and Description |
---|
ContextAllocator(OpOrder.Group opGroup,
MemtableBufferAllocator allocator) |
Copyright © 2015 The Apache Software Foundation