Modifier and Type | Method and Description |
---|---|
PartitionUpdate |
CQL3CasRequest.makeUpdates(FilteredPartition current) |
Modifier and Type | Method and Description |
---|---|
void |
DeleteStatement.addUpdateForKey(PartitionUpdate update,
Clustering clustering,
UpdateParameters params) |
abstract void |
ModificationStatement.addUpdateForKey(PartitionUpdate update,
Clustering clustering,
UpdateParameters params) |
void |
UpdateStatement.addUpdateForKey(PartitionUpdate update,
Clustering clustering,
UpdateParameters params) |
void |
DeleteStatement.addUpdateForKey(PartitionUpdate update,
Slice slice,
UpdateParameters params) |
abstract void |
ModificationStatement.addUpdateForKey(PartitionUpdate update,
Slice slice,
UpdateParameters params) |
void |
UpdateStatement.addUpdateForKey(PartitionUpdate update,
Slice slice,
UpdateParameters params) |
Modifier and Type | Method and Description |
---|---|
static void |
BatchStatement.verifyBatchSize(java.lang.Iterable<PartitionUpdate> updates)
Checks batch size to ensure threshold is met.
|
Modifier and Type | Method and Description |
---|---|
PartitionUpdate |
RowUpdateBuilder.buildUpdate() |
PartitionUpdate |
Mutation.get(CFMetaData cfm) |
PartitionUpdate |
Mutation.getPartitionUpdate(java.util.UUID cfId) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PartitionUpdate> |
CounterMutation.getPartitionUpdates() |
java.util.Collection<PartitionUpdate> |
IMutation.getPartitionUpdates() |
java.util.Collection<PartitionUpdate> |
Mutation.getPartitionUpdates() |
Modifier and Type | Method and Description |
---|---|
Mutation |
Mutation.add(PartitionUpdate update) |
void |
ColumnFamilyStore.apply(PartitionUpdate update,
UpdateTransaction indexer,
OpOrder.Group opGroup,
ReplayPosition replayPosition)
Insert/Update the column family for this key.
|
Constructor and Description |
---|
Mutation(PartitionUpdate update) |
RowUpdateBuilder(PartitionUpdate update,
long timestamp,
int ttl) |
Constructor and Description |
---|
Mutation(java.lang.String keyspaceName,
DecoratedKey key,
java.util.Map<java.util.UUID,PartitionUpdate> modifications) |
Modifier and Type | Method and Description |
---|---|
PartitionUpdate |
PartitionUpdate.PartitionUpdateSerializer.deserialize(DataInputPlus in,
int version,
SerializationHelper.Flag flag,
java.nio.ByteBuffer key) |
PartitionUpdate |
PartitionUpdate.PartitionUpdateSerializer.deserialize(DataInputPlus in,
int version,
SerializationHelper.Flag flag,
DecoratedKey key) |
static PartitionUpdate |
PartitionUpdate.emptyUpdate(CFMetaData metadata,
DecoratedKey key)
Creates a empty immutable partition update.
|
static PartitionUpdate |
PartitionUpdate.fromBytes(java.nio.ByteBuffer bytes,
int version,
DecoratedKey key)
Deserialize a partition update from a provided byte buffer.
|
static PartitionUpdate |
PartitionUpdate.fromIterator(RowIterator iterator) |
static PartitionUpdate |
PartitionUpdate.fromIterator(UnfilteredRowIterator iterator)
Turns the given iterator into an update.
|
static PartitionUpdate |
PartitionUpdate.fullPartitionDelete(CFMetaData metadata,
java.nio.ByteBuffer key,
long timestamp,
int nowInSec)
Creates a partition update that entirely deletes a given partition.
|
static PartitionUpdate |
PartitionUpdate.fullPartitionDelete(CFMetaData 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(CFMetaData metadata,
java.nio.ByteBuffer key,
Row row)
Creates an immutable partition update that contains a single row update.
|
static PartitionUpdate |
PartitionUpdate.singleRowUpdate(CFMetaData metadata,
DecoratedKey key,
Row row)
Creates an immutable partition update that contains a single row update.
|
Modifier and Type | Method and Description |
---|---|
long[] |
AtomicBTreePartition.addAllWithSizeDelta(PartitionUpdate update,
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.
|
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
#generateViewMutations . |
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 |
---|---|
UpdateTransaction |
SecondaryIndexManager.newUpdateTransaction(PartitionUpdate update,
OpOrder.Group opGroup,
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 |
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 |
---|---|
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 |
---|---|
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 © 2016 The Apache Software Foundation