Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Method and Description |
---|---|
Mutation |
Mutation.WriteBuilder.build()
Returns a newly created
Mutation based on the contents of the Builder . |
static Mutation |
Mutation.delete(String table,
Key key)
Returns a mutation that will delete the row with primary key
key . |
static Mutation |
Mutation.delete(String table,
KeySet keySet)
Returns a mutation that will delete all rows with primary keys covered by
keySet . |
Modifier and Type | Method and Description |
---|---|
void |
TransactionContext.buffer(Mutation mutation)
Buffers a single mutation to be applied if the transaction commits successfully.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionContext.buffer(Iterable<Mutation> mutations)
Buffers mutations to be applied if the transaction commits successfully.
|
Timestamp |
DatabaseClient.write(Iterable<Mutation> mutations)
Writes the given mutations atomically to the database.
|
Timestamp |
DatabaseClient.writeAtLeastOnce(Iterable<Mutation> mutations)
Writes the given mutations atomically to the database without replay protection.
|
Copyright © 2019 Google LLC. All rights reserved.