Modifier and Type | Method and Description |
---|---|
PartitionUpdate |
CQL3CasRequest.makeUpdates(FilteredPartition current) |
Modifier and Type | Method and Description |
---|---|
PartitionUpdate |
SimpleBuilders.PartitionUpdateBuilder.build() |
PartitionUpdate |
Mutation.getPartitionUpdate(TableMetadata table) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PartitionUpdate> |
CounterMutation.getPartitionUpdates() |
java.util.Collection<PartitionUpdate> |
IMutation.getPartitionUpdates() |
com.google.common.collect.ImmutableCollection<PartitionUpdate> |
Mutation.getPartitionUpdates() |
Modifier and Type | Method and Description |
---|---|
Mutation.PartitionUpdateCollector |
Mutation.PartitionUpdateCollector.add(PartitionUpdate partitionUpdate) |
void |
ColumnFamilyStore.apply(PartitionUpdate update,
UpdateTransaction indexer,
OpOrder.Group opGroup,
CommitLogPosition commitLogPosition)
Insert/Update the column family for this key.
|
void |
StorageHook.reportWrite(TableId tableId,
PartitionUpdate partitionUpdate) |
void |
CassandraTableWriteHandler.write(PartitionUpdate update,
WriteContext context,
UpdateTransaction updateTransaction) |
void |
TableWriteHandler.write(PartitionUpdate update,
WriteContext context,
UpdateTransaction updateTransaction) |
Constructor and Description |
---|
Mutation(PartitionUpdate update) |
Constructor and Description |
---|
Mutation(java.lang.String keyspaceName,
DecoratedKey key,
com.google.common.collect.ImmutableMap<TableId,PartitionUpdate> modifications,
long approxCreatedAtNanos) |
Mutation(java.lang.String keyspaceName,
DecoratedKey key,
com.google.common.collect.ImmutableMap<TableId,PartitionUpdate> modifications,
long approxCreatedAtNanos,
boolean cdcEnabled) |
Modifier and Type | Method and Description |
---|---|
PartitionUpdate |
PartitionUpdate.SimpleBuilder.build()
Build the update represented by this builder.
|
PartitionUpdate |
PartitionUpdate.Builder.build() |
PartitionUpdate |
PartitionUpdate.PartitionUpdateSerializer.deserialize(DataInputPlus in,
int version,
DeserializationHelper.Flag flag) |
static PartitionUpdate |
PartitionUpdate.emptyUpdate(TableMetadata metadata,
DecoratedKey key)
Creates a empty immutable partition update.
|
static PartitionUpdate |
PartitionUpdate.fromBytes(java.nio.ByteBuffer bytes,
int version)
Deserialize a partition update from a provided byte buffer.
|
static PartitionUpdate |
PartitionUpdate.fromIterator(RowIterator iterator,
ColumnFilter filter)
Turns the given iterator into an update.
|
static PartitionUpdate |
PartitionUpdate.fromIterator(UnfilteredRowIterator iterator,
ColumnFilter filter)
Turns the given iterator into an update.
|
static PartitionUpdate |
PartitionUpdate.fullPartitionDelete(TableMetadata metadata,
java.nio.ByteBuffer key,
long timestamp,
int nowInSec)
Creates a partition update that entirely deletes a given partition.
|
static PartitionUpdate |
PartitionUpdate.fullPartitionDelete(TableMetadata metadata,
DecoratedKey key,
long timestamp,
int nowInSec)
Creates an immutable partition update that entirely deletes a given partition.
|
static PartitionUpdate |
PartitionUpdate.merge(java.util.List<PartitionUpdate> updates)
Merges the provided updates, yielding a new update that incorporates all those updates.
|
static PartitionUpdate |
PartitionUpdate.singleRowUpdate(TableMetadata metadata,
java.nio.ByteBuffer key,
Row row)
Creates an immutable partition update that contains a single row update.
|
static PartitionUpdate |
PartitionUpdate.singleRowUpdate(TableMetadata metadata,
DecoratedKey key,
Row row)
Creates an immutable partition update that contains a single row update.
|
static PartitionUpdate |
PartitionUpdate.singleRowUpdate(TableMetadata metadata,
DecoratedKey key,
Row row,
Row staticRow)
Creates an immutable partition update that contains a single row update.
|
static PartitionUpdate |
PartitionUpdate.unsafeConstruct(TableMetadata metadata,
DecoratedKey key,
AbstractBTreePartition.Holder holder,
MutableDeletionInfo deletionInfo,
boolean canHaveShadowedData) |
Modifier and Type | Method and Description |
---|---|
long[] |
AtomicBTreePartition.addAllWithSizeDelta(PartitionUpdate update,
Cloner cloner,
OpOrder.Group writeOp,
UpdateTransaction indexer)
Adds a given update to this in-memtable partition.
|
void |
PartitionUpdate.PartitionUpdateSerializer.serialize(PartitionUpdate update,
DataOutputPlus out,
int version) |
long |
PartitionUpdate.PartitionUpdateSerializer.serializedSize(PartitionUpdate update,
int version) |
static java.nio.ByteBuffer |
PartitionUpdate.toBytes(PartitionUpdate update,
int version)
Serialize a partition update as a byte buffer.
|
Modifier and Type | Method and Description |
---|---|
static PartitionUpdate |
PartitionUpdate.merge(java.util.List<PartitionUpdate> updates)
Merges the provided updates, yielding a new update that incorporates all those updates.
|
Constructor and Description |
---|
Builder(PartitionUpdate base,
int initialRowCapacity) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PartitionUpdate> |
ViewUpdateGenerator.generateViewUpdates()
Returns the updates that needs to be done to the view given the base table updates
passed to
ViewUpdateGenerator.addBaseTableUpdate(org.apache.cassandra.db.rows.Row, org.apache.cassandra.db.rows.Row) . |
Modifier and Type | Method and Description |
---|---|
void |
TableViews.pushViewReplicaUpdates(PartitionUpdate update,
boolean writeCommitLog,
java.util.concurrent.atomic.AtomicLong baseComplete)
Calculates and pushes updates to the views replicas.
|
java.util.Collection<View> |
TableViews.updatedViews(PartitionUpdate updates)
Return the views that are potentially updated by the provided updates.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PartitionUpdate> |
VirtualMutation.getPartitionUpdates() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVirtualTable.apply(PartitionUpdate update) |
void |
VirtualTable.apply(PartitionUpdate update)
Applies the specified update.
|
Constructor and Description |
---|
VirtualMutation(PartitionUpdate update) |
Constructor and Description |
---|
VirtualMutation(java.lang.String keyspaceName,
DecoratedKey partitionKey,
com.google.common.collect.ImmutableMap<TableId,PartitionUpdate> modifications) |
Modifier and Type | Method and Description |
---|---|
UpdateTransaction |
SecondaryIndexManager.newUpdateTransaction(PartitionUpdate update,
WriteContext ctx,
int nowInSec)
Transaction for updates on the write path.
|
void |
Index.validate(PartitionUpdate update)
Called at write time to ensure that values present in the update
are valid according to the rules of all registered indexes which
will process it.
|
void |
IndexRegistry.validate(PartitionUpdate update)
Called at write time to ensure that values present in the update
are valid according to the rules of all registered indexes which
will process it.
|
void |
SecondaryIndexManager.validate(PartitionUpdate update)
Called at write time to ensure that values present in the update
are valid according to the rules of all registered indexes which
will process it.
|
Modifier and Type | Method and Description |
---|---|
void |
CassandraIndex.validate(PartitionUpdate update) |
Modifier and Type | Method and Description |
---|---|
void |
SASIIndex.validate(PartitionUpdate update) |
Modifier and Type | Method and Description |
---|---|
PartitionUpdate |
CASRequest.makeUpdates(FilteredPartition current)
The updates to perform of a CAS success.
|
Modifier and Type | Field and Description |
---|---|
PartitionUpdate |
Commit.update |
Modifier and Type | Method and Description |
---|---|
static Commit |
Commit.newProposal(java.util.UUID ballot,
PartitionUpdate update) |
Constructor and Description |
---|
Commit(java.util.UUID ballot,
PartitionUpdate update) |
Modifier and Type | Method and Description |
---|---|
static Mutation |
BlockingReadRepairs.createRepairMutation(PartitionUpdate update,
ConsistencyLevel consistency,
InetAddressAndPort destination,
boolean suppressException)
Create a read repair mutation from the given update, if the mutation is not larger than the maximum
mutation size, otherwise return null.
|
Modifier and Type | Method and Description |
---|---|
PartitionUpdate |
TriggerExecutor.execute(PartitionUpdate updates)
Augment a partition update by executing triggers to generate an intermediate
set of mutations, then merging the update from each mutation with those
supplied.
|
Modifier and Type | Method and Description |
---|---|
PartitionUpdate |
TriggerExecutor.execute(PartitionUpdate updates)
Augment a partition update by executing triggers to generate an intermediate
set of mutations, then merging the update from each mutation with those
supplied.
|
Copyright © 2009- The Apache Software Foundation