Uses of Class
org.apache.cassandra.db.partitions.PartitionUpdate
Packages that use PartitionUpdate
Package
Description
-
Uses of PartitionUpdate in org.apache.cassandra.cql3.statements
Methods in org.apache.cassandra.cql3.statements that return PartitionUpdateModifier and TypeMethodDescriptionCQL3CasRequest.makeUpdates(FilteredPartition current, ClientState clientState, Ballot ballot) -
Uses of PartitionUpdate in org.apache.cassandra.db
Methods in org.apache.cassandra.db that return PartitionUpdateModifier and TypeMethodDescriptionSimpleBuilders.PartitionUpdateBuilder.build()Mutation.getPartitionUpdate(TableMetadata table) Methods in org.apache.cassandra.db that return types with arguments of type PartitionUpdateModifier and TypeMethodDescriptionCounterMutation.getPartitionUpdates()IMutation.getPartitionUpdates()com.google.common.collect.ImmutableCollection<PartitionUpdate>Mutation.getPartitionUpdates()Methods in org.apache.cassandra.db with parameters of type PartitionUpdateModifier and TypeMethodDescriptionMutation.PartitionUpdateCollector.add(PartitionUpdate partitionUpdate) voidColumnFamilyStore.apply(PartitionUpdate update, CassandraWriteContext context, boolean updateIndexes) Insert/Update the column family for this key.voidStorageHook.reportWrite(TableId tableId, PartitionUpdate partitionUpdate) voidCassandraTableWriteHandler.write(PartitionUpdate update, WriteContext context, boolean updateIndexes) voidTableWriteHandler.write(PartitionUpdate update, WriteContext context, boolean updateIndexes) Constructors in org.apache.cassandra.db with parameters of type PartitionUpdateConstructor parameters in org.apache.cassandra.db with type arguments of type PartitionUpdateModifierConstructorDescriptionMutation(String keyspaceName, DecoratedKey key, com.google.common.collect.ImmutableMap<TableId, PartitionUpdate> modifications, long approxCreatedAtNanos) Mutation(String keyspaceName, DecoratedKey key, com.google.common.collect.ImmutableMap<TableId, PartitionUpdate> modifications, long approxCreatedAtNanos, boolean cdcEnabled) -
Uses of PartitionUpdate in org.apache.cassandra.db.memtable
Methods in org.apache.cassandra.db.memtable with parameters of type PartitionUpdateModifier and TypeMethodDescriptionlongMemtable.put(PartitionUpdate update, UpdateTransaction indexer, OpOrder.Group opGroup) Put new data in the memtable.longShardedSkipListMemtable.put(PartitionUpdate update, UpdateTransaction indexer, OpOrder.Group opGroup) Should only be called by ColumnFamilyStore.apply via Keyspace.apply, which supplies the appropriate OpOrdering.longSkipListMemtable.put(PartitionUpdate update, UpdateTransaction indexer, OpOrder.Group opGroup) Should only be called by ColumnFamilyStore.apply via Keyspace.apply, which supplies the appropriate OpOrdering.longTrieMemtable.put(PartitionUpdate update, UpdateTransaction indexer, OpOrder.Group opGroup) Should only be called by ColumnFamilyStore.apply via Keyspace.apply, which supplies the appropriate OpOrdering. -
Uses of PartitionUpdate in org.apache.cassandra.db.partitions
Methods in org.apache.cassandra.db.partitions that return PartitionUpdateModifier and TypeMethodDescriptionPartitionUpdate.Builder.build()PartitionUpdate.SimpleBuilder.build()Build the update represented by this builder.PartitionUpdate.PartitionUpdateSerializer.deserialize(DataInputPlus in, int version, DeserializationHelper.Flag flag) static PartitionUpdatePartitionUpdate.emptyUpdate(TableMetadata metadata, DecoratedKey key) Creates a empty immutable partition update.static PartitionUpdatePartitionUpdate.fromBytes(ByteBuffer bytes, int version) Deserialize a partition update from a provided byte buffer.static PartitionUpdatePartitionUpdate.fromIterator(RowIterator iterator, ColumnFilter filter) Turns the given iterator into an update.static PartitionUpdatePartitionUpdate.fromIterator(UnfilteredRowIterator iterator, ColumnFilter filter) Turns the given iterator into an update.static PartitionUpdatePartitionUpdate.fullPartitionDelete(TableMetadata metadata, ByteBuffer key, long timestamp, long nowInSec) Creates a partition update that entirely deletes a given partition.static PartitionUpdatePartitionUpdate.fullPartitionDelete(TableMetadata metadata, DecoratedKey key, long timestamp, long nowInSec) Creates an immutable partition update that entirely deletes a given partition.static PartitionUpdatePartitionUpdate.merge(List<PartitionUpdate> updates) Merges the provided updates, yielding a new update that incorporates all those updates.static PartitionUpdatePartitionUpdate.singleRowUpdate(TableMetadata metadata, ByteBuffer key, Row row) Creates an immutable partition update that contains a single row update.static PartitionUpdatePartitionUpdate.singleRowUpdate(TableMetadata metadata, DecoratedKey key, Row row) Creates an immutable partition update that contains a single row update.static PartitionUpdatePartitionUpdate.singleRowUpdate(TableMetadata metadata, DecoratedKey key, Row row, Row staticRow) Creates an immutable partition update that contains a single row update.static PartitionUpdatePartitionUpdate.unsafeConstruct(TableMetadata metadata, DecoratedKey key, BTreePartitionData holder, MutableDeletionInfo deletionInfo, boolean canHaveShadowedData) PartitionUpdate.withOnlyPresentColumns()Methods in org.apache.cassandra.db.partitions with parameters of type PartitionUpdateModifier and TypeMethodDescriptionAtomicBTreePartition.addAll(PartitionUpdate update, Cloner cloner, OpOrder.Group writeOp, UpdateTransaction indexer) Adds a given update to this in-memtable partition.protected BTreePartitionDataBTreePartitionUpdater.makeMergedPartition(BTreePartitionData current, PartitionUpdate update) BTreePartitionUpdater.mergePartitions(BTreePartitionData current, PartitionUpdate update) voidPartitionUpdate.PartitionUpdateSerializer.serialize(PartitionUpdate update, DataOutputPlus out, int version) longPartitionUpdate.PartitionUpdateSerializer.serializedSize(PartitionUpdate update, int version) static ByteBufferPartitionUpdate.toBytes(PartitionUpdate update, int version) Serialize a partition update as a byte buffer.Method parameters in org.apache.cassandra.db.partitions with type arguments of type PartitionUpdateModifier and TypeMethodDescriptionstatic PartitionUpdatePartitionUpdate.merge(List<PartitionUpdate> updates) Merges the provided updates, yielding a new update that incorporates all those updates.Constructors in org.apache.cassandra.db.partitions with parameters of type PartitionUpdate -
Uses of PartitionUpdate in org.apache.cassandra.db.view
Methods in org.apache.cassandra.db.view that return types with arguments of type PartitionUpdateModifier and TypeMethodDescriptionViewUpdateGenerator.generateViewUpdates()Returns the updates that needs to be done to the view given the base table updates passed toViewUpdateGenerator.addBaseTableUpdate(org.apache.cassandra.db.rows.Row, org.apache.cassandra.db.rows.Row).Methods in org.apache.cassandra.db.view with parameters of type PartitionUpdateModifier and TypeMethodDescriptionvoidTableViews.pushViewReplicaUpdates(PartitionUpdate update, boolean writeCommitLog, AtomicLong baseComplete) Calculates and pushes updates to the views replicas.TableViews.updatedViews(PartitionUpdate updates) Return the views that are potentially updated by the provided updates. -
Uses of PartitionUpdate in org.apache.cassandra.db.virtual
Methods in org.apache.cassandra.db.virtual that return types with arguments of type PartitionUpdateMethods in org.apache.cassandra.db.virtual with parameters of type PartitionUpdateModifier and TypeMethodDescriptionfinal voidAbstractMutableVirtualTable.apply(PartitionUpdate update) voidAbstractVirtualTable.apply(PartitionUpdate update) voidVirtualTable.apply(PartitionUpdate update) Applies the specified update, if supported.Constructors in org.apache.cassandra.db.virtual with parameters of type PartitionUpdateConstructor parameters in org.apache.cassandra.db.virtual with type arguments of type PartitionUpdateModifierConstructorDescriptionVirtualMutation(String keyspaceName, DecoratedKey partitionKey, com.google.common.collect.ImmutableMap<TableId, PartitionUpdate> modifications) -
Uses of PartitionUpdate in org.apache.cassandra.index
Methods in org.apache.cassandra.index with parameters of type PartitionUpdateModifier and TypeMethodDescriptionSecondaryIndexManager.newUpdateTransaction(PartitionUpdate update, WriteContext ctx, long nowInSec, Memtable memtable) Transaction for updates on the write path.voidIndex.validate(PartitionUpdate update, ClientState state) 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.voidIndexRegistry.validate(PartitionUpdate update, ClientState state) 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.voidSecondaryIndexManager.validate(PartitionUpdate update, ClientState state) 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. -
Uses of PartitionUpdate in org.apache.cassandra.index.internal
Methods in org.apache.cassandra.index.internal with parameters of type PartitionUpdateModifier and TypeMethodDescriptionvoidCassandraIndex.validate(PartitionUpdate update, ClientState state) -
Uses of PartitionUpdate in org.apache.cassandra.index.sai
Methods in org.apache.cassandra.index.sai with parameters of type PartitionUpdateModifier and TypeMethodDescriptionvoidStorageAttachedIndex.validate(PartitionUpdate update, ClientState state) -
Uses of PartitionUpdate in org.apache.cassandra.index.sai.virtual
Methods in org.apache.cassandra.index.sai.virtual with parameters of type PartitionUpdate -
Uses of PartitionUpdate in org.apache.cassandra.index.sasi
Methods in org.apache.cassandra.index.sasi with parameters of type PartitionUpdateModifier and TypeMethodDescriptionvoidSASIIndex.validate(PartitionUpdate update, ClientState state) -
Uses of PartitionUpdate in org.apache.cassandra.metrics
Methods in org.apache.cassandra.metrics with parameters of type PartitionUpdateModifier and TypeMethodDescriptionstatic voidClientRequestSizeMetrics.recordRowAndColumnCountMetrics(PartitionUpdate update) -
Uses of PartitionUpdate in org.apache.cassandra.service
Methods in org.apache.cassandra.service that return PartitionUpdateModifier and TypeMethodDescriptionCASRequest.makeUpdates(FilteredPartition current, ClientState clientState, Ballot ballot) The updates to perform of a CAS success. -
Uses of PartitionUpdate in org.apache.cassandra.service.paxos
Fields in org.apache.cassandra.service.paxos declared as PartitionUpdateMethods in org.apache.cassandra.service.paxos with parameters of type PartitionUpdateModifier and TypeMethodDescriptionstatic CommitCommit.newProposal(Ballot ballot, PartitionUpdate update) Deprecated.See CASSANDRA-17164static Commit.ProposalCommit.Proposal.of(Ballot ballot, PartitionUpdate update) Constructors in org.apache.cassandra.service.paxos with parameters of type PartitionUpdateModifierConstructorDescriptionAccepted(Ballot ballot, PartitionUpdate update) AcceptedWithTTL(Ballot ballot, PartitionUpdate update, long localDeletionTime) Agreed(Ballot ballot, PartitionUpdate update) Commit(Ballot ballot, PartitionUpdate update) Committed(Ballot ballot, PartitionUpdate update) CommittedWithTTL(Ballot ballot, PartitionUpdate update, long localDeletionTime) Proposal(Ballot ballot, PartitionUpdate update) Constructor parameters in org.apache.cassandra.service.paxos with type arguments of type PartitionUpdate -
Uses of PartitionUpdate in org.apache.cassandra.service.paxos.uncommitted
Methods in org.apache.cassandra.service.paxos.uncommitted with parameters of type PartitionUpdateModifier and TypeMethodDescriptionvoidPaxosUncommittedIndex.validate(PartitionUpdate update, ClientState state) -
Uses of PartitionUpdate in org.apache.cassandra.service.reads.repair
Methods in org.apache.cassandra.service.reads.repair with parameters of type PartitionUpdateModifier and TypeMethodDescriptionstatic MutationBlockingReadRepairs.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. -
Uses of PartitionUpdate in org.apache.cassandra.triggers
Methods in org.apache.cassandra.triggers that return PartitionUpdateModifier and TypeMethodDescriptionTriggerExecutor.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.Methods in org.apache.cassandra.triggers with parameters of type PartitionUpdateModifier and TypeMethodDescriptionTriggerExecutor.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.