Package | Description |
---|---|
org.apache.cassandra.db | |
org.apache.cassandra.db.index | |
org.apache.cassandra.db.partitions | |
org.apache.cassandra.db.rows |
Modifier and Type | Method and Description |
---|---|
void |
ColumnFamilyStore.apply(PartitionUpdate update,
SecondaryIndexManager.Updater indexer,
OpOrder.Group opGroup,
ReplayPosition replayPosition)
Insert/Update the column family for this key.
|
Modifier and Type | Field and Description |
---|---|
static SecondaryIndexManager.Updater |
SecondaryIndexManager.nullUpdater |
Modifier and Type | Method and Description |
---|---|
SecondaryIndexManager.Updater |
SecondaryIndexManager.gcUpdaterFor(DecoratedKey key,
int nowInSec)
Updated closure with only the modified row key.
|
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 |
---|---|
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 |
---|---|
static long |
Rows.merge(Row existing,
Row update,
Columns mergedColumns,
Row.Builder builder,
int nowInSec,
SecondaryIndexManager.Updater indexUpdater) |
static long |
Cells.reconcile(Clustering clustering,
Cell existing,
Cell update,
DeletionTime deletion,
Row.Builder builder,
int nowInSec,
SecondaryIndexManager.Updater indexUpdater)
Reconciles/merges two cells, one being an update to an existing cell,
yielding index updates if appropriate.
|
static long |
Cells.reconcileComplex(Clustering clustering,
ColumnDefinition column,
java.util.Iterator<Cell> existing,
java.util.Iterator<Cell> update,
DeletionTime deletion,
Row.Builder builder,
int nowInSec,
SecondaryIndexManager.Updater indexUpdater)
Computes the reconciliation of a complex column given its pre-existing
cells and the ones it is updated with, and generating index update if
appropriate.
|
Copyright © 2015 The Apache Software Foundation