Package | Description |
---|---|
com.google.api.services.spanner.v1.model |
Modifier and Type | Method and Description |
---|---|
Mutation |
Mutation.clone() |
Mutation |
BeginTransactionRequest.getMutationKey()
Optional.
|
Mutation |
Mutation.set(String fieldName,
Object value) |
Mutation |
Mutation.setDelete(Delete delete)
Delete rows from a table.
|
Mutation |
Mutation.setInsert(Write insert)
Insert new rows in a table.
|
Mutation |
Mutation.setInsertOrUpdate(Write insertOrUpdate)
Like insert, except that if the row already exists, then its column values are overwritten with
the ones provided.
|
Mutation |
Mutation.setReplace(Write replace)
Like insert, except that if the row already exists, it is deleted, and the column values
provided are inserted instead.
|
Mutation |
Mutation.setUpdate(Write update)
Update existing rows in a table.
|
Modifier and Type | Method and Description |
---|---|
List<Mutation> |
CommitRequest.getMutations()
The mutations to be executed when this transaction commits.
|
List<Mutation> |
MutationGroup.getMutations()
Required.
|
Modifier and Type | Method and Description |
---|---|
BeginTransactionRequest |
BeginTransactionRequest.setMutationKey(Mutation mutationKey)
Optional.
|
Modifier and Type | Method and Description |
---|---|
CommitRequest |
CommitRequest.setMutations(List<Mutation> mutations)
The mutations to be executed when this transaction commits.
|
MutationGroup |
MutationGroup.setMutations(List<Mutation> mutations)
Required.
|
Copyright © 2011–2025 Google. All rights reserved.