- 6.111.0 (latest)
- 6.108.0
- 6.107.0
- 6.103.0
- 6.102.1
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class QueryResult.Builder extends GeneratedMessage.Builder<QueryResult.Builder> implements QueryResultOrBuilderQueryResult contains result of a Query.
Protobuf type google.spanner.executor.v1.QueryResult
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > QueryResult.BuilderImplements
QueryResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRow(Iterable<? extends ValueList> values)
public QueryResult.Builder addAllRow(Iterable<? extends ValueList> values)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.spanner.executor.v1.ValueList> |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
addRow(ValueList value)
public QueryResult.Builder addRow(ValueList value)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ValueList |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
addRow(ValueList.Builder builderForValue)
public QueryResult.Builder addRow(ValueList.Builder builderForValue)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ValueList.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
addRow(int index, ValueList value)
public QueryResult.Builder addRow(int index, ValueList value)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ValueList |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
addRow(int index, ValueList.Builder builderForValue)
public QueryResult.Builder addRow(int index, ValueList.Builder builderForValue)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ValueList.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
addRowBuilder()
public ValueList.Builder addRowBuilder()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Returns | |
|---|---|
| Type | Description |
ValueList.Builder |
|
addRowBuilder(int index)
public ValueList.Builder addRowBuilder(int index)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValueList.Builder |
|
build()
public QueryResult build()| Returns | |
|---|---|
| Type | Description |
QueryResult |
|
buildPartial()
public QueryResult buildPartial()| Returns | |
|---|---|
| Type | Description |
QueryResult |
|
clear()
public QueryResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
clearRow()
public QueryResult.Builder clearRow()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
clearRowType()
public QueryResult.Builder clearRowType()The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 2;
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
getDefaultInstanceForType()
public QueryResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
QueryResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRow(int index)
public ValueList getRow(int index)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValueList |
|
getRowBuilder(int index)
public ValueList.Builder getRowBuilder(int index)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValueList.Builder |
|
getRowBuilderList()
public List<ValueList.Builder> getRowBuilderList()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRowCount()
public int getRowCount()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getRowList()
public List<ValueList> getRowList()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Returns | |
|---|---|
| Type | Description |
List<ValueList> |
|
getRowOrBuilder(int index)
public ValueListOrBuilder getRowOrBuilder(int index)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValueListOrBuilder |
|
getRowOrBuilderList()
public List<? extends ValueListOrBuilder> getRowOrBuilderList()Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.spanner.executor.v1.ValueListOrBuilder> |
|
getRowType()
public StructType getRowType()The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 2;
| Returns | |
|---|---|
| Type | Description |
StructType |
The rowType. |
getRowTypeBuilder()
public StructType.Builder getRowTypeBuilder()The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 2;
| Returns | |
|---|---|
| Type | Description |
StructType.Builder |
|
getRowTypeOrBuilder()
public StructTypeOrBuilder getRowTypeOrBuilder()The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 2;
| Returns | |
|---|---|
| Type | Description |
StructTypeOrBuilder |
|
hasRowType()
public boolean hasRowType()The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rowType field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public QueryResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
mergeFrom(QueryResult other)
public QueryResult.Builder mergeFrom(QueryResult other)| Parameter | |
|---|---|
| Name | Description |
other |
QueryResult |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
mergeRowType(StructType value)
public QueryResult.Builder mergeRowType(StructType value)The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StructType |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
removeRow(int index)
public QueryResult.Builder removeRow(int index)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
setRow(int index, ValueList value)
public QueryResult.Builder setRow(int index, ValueList value)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ValueList |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
setRow(int index, ValueList.Builder builderForValue)
public QueryResult.Builder setRow(int index, ValueList.Builder builderForValue)Rows read. Each row is a struct with multiple fields, one for each column in read result. All rows have the same type.
repeated .google.spanner.executor.v1.ValueList row = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ValueList.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
setRowType(StructType value)
public QueryResult.Builder setRowType(StructType value)The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StructType |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|
setRowType(StructType.Builder builderForValue)
public QueryResult.Builder setRowType(StructType.Builder builderForValue)The type of rows read. It must be set if at least one row was read.
optional .google.spanner.v1.StructType row_type = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StructType.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryResult.Builder |
|