public static interface Mutation.WriteOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getColumns(int index)
public abstract String getColumns(int index)
The names of the columns in table to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The columns at the given index. |
getColumnsBytes(int index)
public abstract ByteString getColumnsBytes(int index)
The names of the columns in table to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the columns at the given index. |
getColumnsCount()
public abstract int getColumnsCount()
The names of the columns in table to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
Type | Description |
int | The count of columns. |
getColumnsList()
public abstract List<String> getColumnsList()
The names of the columns in table to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
repeated string columns = 2;
Type | Description |
List<String> | A list containing the columns. |
getTable()
public abstract String getTable()
Required. The table whose rows will be written.
string table = 1;
Type | Description |
String | The table. |
getTableBytes()
public abstract ByteString getTableBytes()
Required. The table whose rows will be written.
string table = 1;
Type | Description |
ByteString | The bytes for table. |
getValues(int index)
public abstract ListValue getValues(int index)
The values to be written. values
can contain more than one
list of values. If it does, then multiple rows are written, one
for each entry in values
. Each list in values
must have
exactly as many entries as there are entries in columns
above. Sending multiple lists is equivalent to sending multiple
Mutation
s, each containing one values
entry and repeating
table and columns. Individual values in each list are
encoded as described here.
repeated .google.protobuf.ListValue values = 3;
Name | Description |
index | int |
Type | Description |
ListValue |
getValuesCount()
public abstract int getValuesCount()
The values to be written. values
can contain more than one
list of values. If it does, then multiple rows are written, one
for each entry in values
. Each list in values
must have
exactly as many entries as there are entries in columns
above. Sending multiple lists is equivalent to sending multiple
Mutation
s, each containing one values
entry and repeating
table and columns. Individual values in each list are
encoded as described here.
repeated .google.protobuf.ListValue values = 3;
Type | Description |
int |
getValuesList()
public abstract List<ListValue> getValuesList()
The values to be written. values
can contain more than one
list of values. If it does, then multiple rows are written, one
for each entry in values
. Each list in values
must have
exactly as many entries as there are entries in columns
above. Sending multiple lists is equivalent to sending multiple
Mutation
s, each containing one values
entry and repeating
table and columns. Individual values in each list are
encoded as described here.
repeated .google.protobuf.ListValue values = 3;
Type | Description |
List<ListValue> |
getValuesOrBuilder(int index)
public abstract ListValueOrBuilder getValuesOrBuilder(int index)
The values to be written. values
can contain more than one
list of values. If it does, then multiple rows are written, one
for each entry in values
. Each list in values
must have
exactly as many entries as there are entries in columns
above. Sending multiple lists is equivalent to sending multiple
Mutation
s, each containing one values
entry and repeating
table and columns. Individual values in each list are
encoded as described here.
repeated .google.protobuf.ListValue values = 3;
Name | Description |
index | int |
Type | Description |
ListValueOrBuilder |
getValuesOrBuilderList()
public abstract List<? extends ListValueOrBuilder> getValuesOrBuilderList()
The values to be written. values
can contain more than one
list of values. If it does, then multiple rows are written, one
for each entry in values
. Each list in values
must have
exactly as many entries as there are entries in columns
above. Sending multiple lists is equivalent to sending multiple
Mutation
s, each containing one values
entry and repeating
table and columns. Individual values in each list are
encoded as described here.
repeated .google.protobuf.ListValue values = 3;
Type | Description |
List<? extends com.google.protobuf.ListValueOrBuilder> |