Uses of Class
com.google.cloud.spanner.Mutation
Packages that use Mutation
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
Internal API for Google Cloud Spanner.
-
Uses of Mutation in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return MutationModifier and TypeMethodDescriptionMutation.AckBuilder.build()Mutation.SendBuilder.build()Mutation.WriteBuilder.build()Returns a newly createdMutationbased on the contents of theBuilder.static MutationReturns a mutation that will delete the row with primary keykey.static MutationReturns a mutation that will delete all rows with primary keys covered bykeySet.Methods in com.google.cloud.spanner that return types with arguments of type MutationModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<Mutation>MutationGroup.getMutations()Returns corresponding mutations for this MutationGroup.Methods in com.google.cloud.spanner with parameters of type MutationModifier and TypeMethodDescriptionvoidBuffers a single mutation to be applied if the transaction commits successfully.TransactionContext.bufferAsync(Mutation mutation) Same asTransactionContext.buffer(Mutation), but is guaranteed to be non-blocking.static MutationGroupCreates aMutationGroupgiven a vararg of mutations.Method parameters in com.google.cloud.spanner with type arguments of type MutationModifier and TypeMethodDescriptionvoidBuffers mutations to be applied if the transaction commits successfully.TransactionContext.bufferAsync(Iterable<Mutation> mutations) Same asTransactionContext.buffer(Iterable), but is guaranteed to be non-blocking.static MutationGroupCreates aMutationGroupgiven an iterable of mutations.Writes the given mutations atomically to the database.DatabaseClient.writeAtLeastOnce(Iterable<Mutation> mutations) Writes the given mutations atomically to the database without replay protection.DatabaseClient.writeAtLeastOnceWithOptions(Iterable<Mutation> mutations, Options.TransactionOption... options) Writes the given mutations atomically to the database without replay protection.DatabaseClient.writeWithOptions(Iterable<Mutation> mutations, Options.TransactionOption... options) Writes the given mutations atomically to the database with the given options. -
Uses of Mutation in com.google.cloud.spanner.connection
Methods in com.google.cloud.spanner.connection with parameters of type MutationModifier and TypeMethodDescriptionvoidConnection.bufferedWrite(Mutation mutation) Buffers the given mutation locally on the current transaction of thisConnection.voidWrites the specified mutation directly to the database and commits the change.Connection.writeAsync(Mutation mutation) Writes the specified mutation directly to the database and commits the change.Method parameters in com.google.cloud.spanner.connection with type arguments of type MutationModifier and TypeMethodDescriptionvoidConnection.bufferedWrite(Iterable<Mutation> mutations) Buffers the given mutations locally on the current transaction of thisConnection.voidWrites the specified mutations directly to the database and commits the changes.Connection.writeAsync(Iterable<Mutation> mutations) Writes the specified mutations directly to the database and commits the changes.