Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
com.google.cloud.spanner.jdbc |
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.
|
com.google.cloud.Timestamp |
DatabaseClient.write(Iterable<Mutation> mutations)
Writes the given mutations atomically to the database.
|
com.google.cloud.Timestamp |
DatabaseClient.writeAtLeastOnce(Iterable<Mutation> mutations)
Writes the given mutations atomically to the database without replay protection.
|
Modifier and Type | Method and Description |
---|---|
void |
CloudSpannerJdbcConnection.bufferedWrite(Mutation mutation)
Buffers the given mutation locally on the current transaction of this
Connection . |
void |
CloudSpannerJdbcConnection.write(Mutation mutation)
Writes the specified mutation directly to the database and commits the change.
|
Modifier and Type | Method and Description |
---|---|
void |
CloudSpannerJdbcConnection.bufferedWrite(Iterable<Mutation> mutations)
Buffers the given mutations locally on the current transaction of this
Connection . |
void |
CloudSpannerJdbcConnection.write(Iterable<Mutation> mutations)
Writes the specified mutations directly to the database and commits the changes.
|
Copyright © 2019 Google LLC. All rights reserved.