Uses of Class org.apache.cassandra.db.Mutation (apache-cassandra API)
Date: 2018-02-12

## Uses of Class
org.apache.cassandra.db.Mutation

- Packages that use Mutation
  Package | Description
  --- | ---
  org.apache.cassandra.db |
  org.apache.cassandra.db.commitlog |
  org.apache.cassandra.schema |
  org.apache.cassandra.service |
  org.apache.cassandra.service.paxos |
  org.apache.cassandra.triggers |

- - ### Uses of Mutation in org.apache.cassandra.db

    Methods in org.apache.cassandra.db that return Mutation
    Modifier and Type | Method and Description
    --- | ---
    `Mutation` | CounterMutation.`apply()` Applies the counter mutation, returns the result Mutation (for replication to other nodes).
    `Mutation` | Mutation.`copy()`
    `Mutation` | Mutation.MutationSerializer.`deserialize(java.io.DataInput in, int version)`
    `Mutation` | Mutation.MutationSerializer.`deserialize(java.io.DataInput in, int version, ColumnSerializer.Flag flag)`
    `static Mutation` | BatchlogManager.`getBatchlogMutationFor(java.util.Collection<Mutation> mutations, java.util.UUID uuid, int version)`
    `Mutation` | CounterMutation.`getMutation()`
    `Mutation` | HintedHandOffManager.`hintFor(Mutation mutation, long now, int ttl, Pair<java.net.InetAddress,java.util.UUID> target)` Returns a mutation representing a Hint to be sent to `targetId` as soon as it becomes available again.
    `Mutation` | Mutation.`without(java.util.UUID cfId)`

    Methods in org.apache.cassandra.db that return types with arguments of type Mutation
    Modifier and Type | Method and Description
    --- | ---
    `MessageOut<Mutation>` | Mutation.`createMessage()`
    `MessageOut<Mutation>` | Mutation.`createMessage(MessagingService.Verb verb)`

    Methods in org.apache.cassandra.db with parameters of type Mutation
    Modifier and Type | Method and Description
    --- | ---
    `void` | Keyspace.`apply(Mutation mutation, boolean writeCommitLog)`
    `void` | Keyspace.`apply(Mutation mutation, boolean writeCommitLog, boolean updateIndexes)` This method appends a row to the global CommitLog, then updates memtables and indexes.
    `static int` | HintedHandOffManager.`calculateHintTTL(Mutation mutation)`
    `Mutation` | HintedHandOffManager.`hintFor(Mutation mutation, long now, int ttl, Pair<java.net.InetAddress,java.util.UUID> target)` Returns a mutation representing a Hint to be sent to `targetId` as soon as it becomes available again.
    `void` | Mutation.MutationSerializer.`serialize(Mutation mutation, DataOutputPlus out, int version)`
    `long` | Mutation.MutationSerializer.`serializedSize(Mutation mutation, int version)`

    Method parameters in org.apache.cassandra.db with type arguments of type Mutation
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefinitionsUpdateVerbHandler.`doVerb(MessageIn<java.util.Collection<Mutation>> message, int id)`
    `void` | MutationVerbHandler.`doVerb(MessageIn<Mutation> message, int id)`
    `void` | ReadRepairVerbHandler.`doVerb(MessageIn<Mutation> message, int id)`
    `static Mutation` | BatchlogManager.`getBatchlogMutationFor(java.util.Collection<Mutation> mutations, java.util.UUID uuid, int version)`

    Constructors in org.apache.cassandra.db with parameters of type Mutation
    Constructor and Description
    `CounterMutation(Mutation mutation, ConsistencyLevel consistency)`

  - ### Uses of Mutation in org.apache.cassandra.db.commitlog

    Methods in org.apache.cassandra.db.commitlog with parameters of type Mutation
    Modifier and Type | Method and Description
    --- | ---
    `ReplayPosition` | CommitLog.`add(Mutation mutation)` Add a Mutation to the commit log.
    `org.apache.cassandra.db.commitlog.CommitLogSegment.Allocation` | CommitLogSegmentManager.`allocate(Mutation mutation, int size)` Reserve space in the current segment for the provided mutation or, if there isn't space available, create a new segment.
    `protected boolean` | CommitLogReplayer.`pointInTimeExceeded(Mutation fm)`

  - ### Uses of Mutation in org.apache.cassandra.schema

    Methods in org.apache.cassandra.schema that return Mutation
    Modifier and Type | Method and Description
    --- | ---
    `static Mutation` | LegacySchemaTables.`dropTypeFromSchemaMutation(KSMetaData keyspace, UserType type, long timestamp)`
    `static Mutation` | LegacySchemaTables.`makeCreateAggregateMutation(KSMetaData keyspace, UDAggregate aggregate, long timestamp)`
    `static Mutation` | LegacySchemaTables.`makeCreateFunctionMutation(KSMetaData keyspace, UDFunction function, long timestamp)`
    `static Mutation` | LegacySchemaTables.`makeCreateKeyspaceMutation(KSMetaData keyspace, long timestamp)`
    `static Mutation` | LegacySchemaTables.`makeCreateTableMutation(KSMetaData keyspace, CFMetaData table, long timestamp)`
    `static Mutation` | LegacySchemaTables.`makeCreateTypeMutation(KSMetaData keyspace, UserType type, long timestamp)`
    `static Mutation` | LegacySchemaTables.`makeDropAggregateMutation(KSMetaData keyspace, UDAggregate aggregate, long timestamp)`
    `static Mutation` | LegacySchemaTables.`makeDropFunctionMutation(KSMetaData keyspace, UDFunction function, long timestamp)`
    `static Mutation` | LegacySchemaTables.`makeDropKeyspaceMutation(KSMetaData keyspace, long timestamp)`
    `static Mutation` | LegacySchemaTables.`makeDropTableMutation(KSMetaData keyspace, CFMetaData table, long timestamp)`
    `static Mutation` | LegacySchemaTables.`makeUpdateTableMutation(KSMetaData keyspace, CFMetaData oldTable, CFMetaData newTable, long timestamp)`

    Methods in org.apache.cassandra.schema that return types with arguments of type Mutation
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.Collection<Mutation>` | LegacySchemaTables.`convertSchemaToMutations()`

    Method parameters in org.apache.cassandra.schema with type arguments of type Mutation
    Modifier and Type | Method and Description
    --- | ---
    `static void` | LegacySchemaTables.`mergeSchema(java.util.Collection<Mutation> mutations)` Merge remote schema in form of mutations with local and mutate ks/cf metadata objects (which also involves fs operations on add/drop ks/cf)
    `static void` | LegacySchemaTables.`mergeSchema(java.util.Collection<Mutation> mutations, boolean doFlush)`

  - ### Uses of Mutation in org.apache.cassandra.service

    Methods in org.apache.cassandra.service that return types with arguments of type Mutation
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Collection<Mutation>` | MigrationManager.MigrationsSerializer.`deserialize(java.io.DataInput in, int version)`

    Methods in org.apache.cassandra.service with parameters of type Mutation
    Modifier and Type | Method and Description
    --- | ---
    `static void` | StorageProxy.`sendToHintedEndpoints(Mutation mutation, java.lang.Iterable<java.net.InetAddress> targets, AbstractWriteResponseHandler<IMutation> responseHandler, java.lang.String localDataCenter)` Send the mutations to the right targets, write it locally if it corresponds or writes a hint when the node is not available.
    `static java.util.concurrent.Future<java.lang.Void>` | StorageProxy.`submitHint(Mutation mutation, java.net.InetAddress target, AbstractWriteResponseHandler<IMutation> responseHandler)`
    `static void` | StorageProxy.`writeHintForMutation(Mutation mutation, long now, int ttl, java.net.InetAddress target)`

    Method parameters in org.apache.cassandra.service with type arguments of type Mutation
    Modifier and Type | Method and Description
    --- | ---
    `static void` | StorageProxy.`mutateAtomically(java.util.Collection<Mutation> mutations, ConsistencyLevel consistency_level)` See mutate.
    `void` | MigrationManager.MigrationsSerializer.`serialize(java.util.Collection<Mutation> schema, DataOutputPlus out, int version)`
    `long` | MigrationManager.MigrationsSerializer.`serializedSize(java.util.Collection<Mutation> schema, int version)`

  - ### Uses of Mutation in org.apache.cassandra.service.paxos

    Methods in org.apache.cassandra.service.paxos that return Mutation
    Modifier and Type | Method and Description
    --- | ---
    `Mutation` | Commit.`makeMutation()`

  - ### Uses of Mutation in org.apache.cassandra.triggers

    Methods in org.apache.cassandra.triggers that return types with arguments of type Mutation
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Collection<Mutation>` | ITrigger.`augment(java.nio.ByteBuffer partitionKey, ColumnFamily update)` Called exactly once per CF update, returned mutations are atomically updated.
    `java.util.Collection<Mutation>` | TriggerExecutor.`execute(java.util.Collection<? extends IMutation> mutations)` Takes a collection of mutations and possibly augments it by adding extra mutations generated by configured triggers.

Copyright © 2018 The Apache Software Foundation