Uses of Class
com.google.cloud.spanner.Mutation
-
Packages that use Mutation Package Description com.google.cloud.spanner A client for Cloud Spanner - A no-compromise relational database service.com.google.cloud.spanner.connection Internal API for Google Cloud Spanner. -
-
Uses of Mutation in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return Mutation Modifier and Type Method Description MutationMutation.WriteBuilder. build()Returns a newly createdMutationbased on the contents of theBuilder.static MutationMutation. delete(String table, Key key)Returns a mutation that will delete the row with primary keykey.static MutationMutation. delete(String table, KeySet keySet)Returns a mutation that will delete all rows with primary keys covered bykeySet.Methods in com.google.cloud.spanner with parameters of type Mutation Modifier and Type Method Description voidTransactionContext. buffer(Mutation mutation)Buffers a single mutation to be applied if the transaction commits successfully.default com.google.api.core.ApiFuture<Void>TransactionContext. bufferAsync(Mutation mutation)Same asTransactionContext.buffer(Mutation), but is guaranteed to be non-blocking.Method parameters in com.google.cloud.spanner with type arguments of type Mutation Modifier and Type Method Description voidTransactionContext. buffer(Iterable<Mutation> mutations)Buffers mutations to be applied if the transaction commits successfully.default com.google.api.core.ApiFuture<Void>TransactionContext. bufferAsync(Iterable<Mutation> mutations)Same asTransactionContext.buffer(Iterable), but is guaranteed to be non-blocking.com.google.cloud.TimestampDatabaseClient. write(Iterable<Mutation> mutations)Writes the given mutations atomically to the database.com.google.cloud.TimestampDatabaseClient. writeAtLeastOnce(Iterable<Mutation> mutations)Writes the given mutations atomically to the database without replay protection.CommitResponseDatabaseClient. writeAtLeastOnceWithOptions(Iterable<Mutation> mutations, Options.TransactionOption... options)Writes the given mutations atomically to the database without replay protection.CommitResponseDatabaseClient. 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 Mutation Modifier and Type Method Description voidConnection. bufferedWrite(Mutation mutation)Buffers the given mutation locally on the current transaction of thisConnection.voidConnection. write(Mutation mutation)Writes the specified mutation directly to the database and commits the change.com.google.api.core.ApiFuture<Void>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 Mutation Modifier and Type Method Description voidConnection. bufferedWrite(Iterable<Mutation> mutations)Buffers the given mutations locally on the current transaction of thisConnection.voidConnection. write(Iterable<Mutation> mutations)Writes the specified mutations directly to the database and commits the changes.com.google.api.core.ApiFuture<Void>Connection. writeAsync(Iterable<Mutation> mutations)Writes the specified mutations directly to the database and commits the changes.
-