Package | Description |
---|---|
com.google.api.services.spanner.v1.model |
Modifier and Type | Method and Description |
---|---|
Write |
Write.clone() |
Write |
Mutation.getInsert()
Insert new rows in a table.
|
Write |
Mutation.getInsertOrUpdate()
Like insert, except that if the row already exists, then its column values are overwritten with
the ones provided.
|
Write |
Mutation.getReplace()
Like insert, except that if the row already exists, it is deleted, and the column values
provided are inserted instead.
|
Write |
Mutation.getUpdate()
Update existing rows in a table.
|
Write |
Write.set(String fieldName,
Object value) |
Write |
Write.setColumns(List<String> columns)
The names of the columns in table to be written.
|
Write |
Write.setTable(String table)
Required.
|
Write |
Write.setValues(List<List<Object>> values)
The values to be written.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2011–2025 Google. All rights reserved.