Uses of Class
org.apache.cassandra.db.Mutation
Packages that use Mutation
Package
Description
Hints subsystem consists of several components.
-
Uses of Mutation in org.apache.cassandra.batchlog
Method parameters in org.apache.cassandra.batchlog with type arguments of type MutationModifier and TypeMethodDescriptionstatic BatchBatch.createLocal(TimeUUID id, long creationTime, Collection<Mutation> mutations) Creates a 'local' batch - with all enclosed mutations in decoded form (as Mutation instances) -
Uses of Mutation in org.apache.cassandra.db
Methods in org.apache.cassandra.db that return MutationModifier and TypeMethodDescriptionCounterMutation.applyCounterMutation()Applies the counter mutation, returns the result Mutation (for replication to other nodes).Mutation.PartitionUpdateCollector.build()Mutation.SimpleBuilder.build()Build the mutation represented by this builder.SimpleBuilders.MutationBuilder.build()SimpleBuilders.PartitionUpdateBuilder.buildAsMutation()Mutation.MutationSerializer.deserialize(DataInputPlus in, int version) Mutation.MutationSerializer.deserialize(DataInputPlus in, int version, DeserializationHelper.Flag flag) Mutation.get()CounterMutation.getMutation()static MutationCreates a new mutation that merges all the provided mutations.Methods in org.apache.cassandra.db that return types with arguments of type MutationModifier and TypeMethodDescriptionCounterMutation.hintOnFailure()IMutation.hintOnFailure()Mutation.hintOnFailure()Methods in org.apache.cassandra.db with parameters of type MutationModifier and TypeMethodDescriptionvoidvoidvoidIf apply is blocking, apply must not be deferred Otherwise there is a race condition where ALL mutation workers are beeing blocked ending in a complete deadlock of the mutation stage.Future<?>Keyspace.applyFuture(Mutation mutation, boolean writeCommitLog, boolean updateIndexes) Future<?>Keyspace.applyFuture(Mutation mutation, boolean writeCommitLog, boolean updateIndexes, boolean isDroppable, boolean isDeferrable) CassandraKeyspaceWriteHandler.beginWrite(Mutation mutation, boolean makeDurable) KeyspaceWriteHandler.beginWrite(Mutation mutation, boolean makeDurable) voidMutation.MutationSerializer.prepareSerializedBuffer(Mutation mutation, int version) Called early during request processing to prevent thatMutation.MutationSerializer.serialization(Mutation, int)is called concurrently.voidMutation.MutationSerializer.serialize(Mutation mutation, DataOutputPlus out, int version) longMutation.MutationSerializer.serializedSize(Mutation mutation, int version) Method parameters in org.apache.cassandra.db with type arguments of type MutationModifier and TypeMethodDescriptionprotected voidMutationVerbHandler.applyMutation(Message<Mutation> message, InetAddressAndPort respondToAddress) voidvoidstatic MutationCreates a new mutation that merges all the provided mutations.Constructors in org.apache.cassandra.db with parameters of type Mutation -
Uses of Mutation in org.apache.cassandra.db.commitlog
Methods in org.apache.cassandra.db.commitlog with parameters of type MutationModifier and TypeMethodDescriptionAdd a Mutation to the commit log.abstract CommitLogSegment.AllocationAllocate a segment within this CLSM.Reserve space in the current segment for the provided mutation or, if there isn't space available, create a new segment.Reserve space in the current segment for the provided mutation or, if there isn't space available, create a new segment.voidCommitLogReadHandler.handleMutation(Mutation m, int size, int entryLocation, CommitLogDescriptor desc) Process a deserialized mutationvoidCommitLogReplayer.handleMutation(Mutation m, int size, int entryLocation, CommitLogDescriptor desc) CommitLogReplayer.MutationInitiator.initiateMutation(Mutation mutation, long segmentId, int serializedSize, int entryLocation, CommitLogReplayer commitLogReplayer) protected booleanCommitLogReplayer.pointInTimeExceeded(Mutation fm) -
Uses of Mutation in org.apache.cassandra.db.partitions
Methods in org.apache.cassandra.db.partitions that return MutationModifier and TypeMethodDescriptionPartitionUpdate.SimpleBuilder.buildAsMutation()As shortcut fornew Mutation(build()). -
Uses of Mutation in org.apache.cassandra.db.view
Methods in org.apache.cassandra.db.view that return types with arguments of type MutationModifier and TypeMethodDescriptionTableViews.generateViewUpdates(Collection<View> views, UnfilteredRowIterator updates, UnfilteredRowIterator existings, long nowInSec, boolean separateUpdates) Given some updates on the base table of this object and the existing values for the rows affected by that update, generates the mutation to be applied to the provided views. -
Uses of Mutation in org.apache.cassandra.db.virtual
Methods in org.apache.cassandra.db.virtual that return types with arguments of type Mutation -
Uses of Mutation in org.apache.cassandra.hints
Methods in org.apache.cassandra.hints with parameters of type Mutation -
Uses of Mutation in org.apache.cassandra.locator
Method parameters in org.apache.cassandra.locator with type arguments of type MutationModifier and TypeMethodDescription<T> AbstractWriteResponseHandler<T>AbstractReplicationStrategy.getWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, Runnable callback, WriteType writeType, Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime) <T> AbstractWriteResponseHandler<T>AbstractReplicationStrategy.getWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, Runnable callback, WriteType writeType, Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime, ConsistencyLevel idealConsistencyLevel) -
Uses of Mutation in org.apache.cassandra.schema
Methods in org.apache.cassandra.schema that return types with arguments of type MutationModifier and TypeMethodDescriptionSchemaMutationsSerializer.deserialize(DataInputPlus in, int version) Method parameters in org.apache.cassandra.schema with type arguments of type MutationModifier and TypeMethodDescriptionvoidSchemaPushVerbHandler.doVerb(Message<Collection<Mutation>> message) voidSchemaPushVerbHandler.register(Consumer<Message<Collection<Mutation>>> handler) voidSchemaMutationsSerializer.serialize(Collection<Mutation> schema, DataOutputPlus out, int version) longSchemaMutationsSerializer.serializedSize(Collection<Mutation> schema, int version) -
Uses of Mutation in org.apache.cassandra.service
Methods in org.apache.cassandra.service with parameters of type MutationModifier and TypeMethodDescriptionbooleanStorageProxy.appliesLocally(Mutation mutation) static voidStorageProxy.sendToHintedReplicas(Mutation mutation, ReplicaPlan.ForWrite plan, AbstractWriteResponseHandler<IMutation> responseHandler, String localDataCenter, Stage stage, Dispatcher.RequestTime requestTime) Send the mutations to the right targets, write it locally if it corresponds or writes a hint when the node is not available.static voidStorageProxy.submitHint(Mutation mutation, Replica target, AbstractWriteResponseHandler<IMutation> responseHandler) Method parameters in org.apache.cassandra.service with type arguments of type MutationModifier and TypeMethodDescriptionstatic voidStorageProxy.mutateAtomically(Collection<Mutation> mutations, ConsistencyLevel consistency_level, boolean requireQuorumForRemove, Dispatcher.RequestTime requestTime) See mutate.static voidStorageProxy.mutateMV(ByteBuffer dataKey, Collection<Mutation> mutations, boolean writeCommitLog, AtomicLong baseComplete, Dispatcher.RequestTime requestTime) Use this method to have these Mutations applied across all replicas.Constructor parameters in org.apache.cassandra.service with type arguments of type MutationModifierConstructorDescriptionprotectedAbstractWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, Runnable callback, WriteType writeType, Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime) DatacenterSyncWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, Runnable callback, WriteType writeType, Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime) DatacenterWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, Runnable callback, WriteType writeType, Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime) WriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, Runnable callback, WriteType writeType, Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime) WriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, WriteType writeType, Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime) -
Uses of Mutation in org.apache.cassandra.service.paxos
Methods in org.apache.cassandra.service.paxos that return Mutation -
Uses of Mutation in org.apache.cassandra.service.reads.repair
Methods in org.apache.cassandra.service.reads.repair that return MutationModifier 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.Method parameters in org.apache.cassandra.service.reads.repair with type arguments of type MutationModifier and TypeMethodDescriptionvoidBlockingReadRepair.repairPartition(DecoratedKey partitionKey, Map<Replica, Mutation> mutations, ReplicaPlan.ForWrite writePlan) voidNoopReadRepair.repairPartition(DecoratedKey partitionKey, Map<Replica, Mutation> mutations, ReplicaPlan.ForWrite writePlan) voidReadOnlyReadRepair.repairPartition(DecoratedKey partitionKey, Map<Replica, Mutation> mutations, ReplicaPlan.ForWrite writePlan) voidReadRepair.repairPartition(DecoratedKey partitionKey, Map<Replica, Mutation> mutations, ReplicaPlan.ForWrite writePlan) Repairs a partition _after_ receiving data responses.protected voidBlockingPartitionRepair.sendRR(Message<Mutation> message, InetAddressAndPort endpoint) Constructor parameters in org.apache.cassandra.service.reads.repair with type arguments of type MutationModifierConstructorDescriptionBlockingPartitionRepair(DecoratedKey key, Map<Replica, Mutation> repairs, ReplicaPlan.ForWrite writePlan) -
Uses of Mutation in org.apache.cassandra.triggers
Methods in org.apache.cassandra.triggers that return types with arguments of type MutationModifier and TypeMethodDescriptionCalled exactly once per CF update, returned mutations are atomically updated.TriggerExecutor.execute(Collection<? extends IMutation> mutations) Takes a collection of mutations and possibly augments it by adding extra mutations generated by configured triggers.