Package com.google.spanner.executor.v1
Interface ReadResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReadResult,ReadResult.Builder
public interface ReadResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetIndex()Index name, if read from an index.com.google.protobuf.ByteStringIndex name, if read from an index.intRequest index (multiread only).getRow(int index) Rows read.intRows read.Rows read.getRowOrBuilder(int index) Rows read.List<? extends ValueListOrBuilder>Rows read.The type of rows read.The type of rows read.getTable()Table name.com.google.protobuf.ByteStringTable name.booleanhasIndex()Index name, if read from an index.booleanRequest index (multiread only).booleanThe type of rows read.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTable
String getTable()Table name.
string table = 1;- Returns:
- The table.
-
getTableBytes
com.google.protobuf.ByteString getTableBytes()Table name.
string table = 1;- Returns:
- The bytes for table.
-
hasIndex
boolean hasIndex()Index name, if read from an index.
optional string index = 2;- Returns:
- Whether the index field is set.
-
getIndex
String getIndex()Index name, if read from an index.
optional string index = 2;- Returns:
- The index.
-
getIndexBytes
com.google.protobuf.ByteString getIndexBytes()Index name, if read from an index.
optional string index = 2;- Returns:
- The bytes for index.
-
hasRequestIndex
boolean hasRequestIndex()Request index (multiread only).
optional int32 request_index = 3;- Returns:
- Whether the requestIndex field is set.
-
getRequestIndex
int getRequestIndex()Request index (multiread only).
optional int32 request_index = 3;- Returns:
- The requestIndex.
-
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 = 4; -
getRow
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 = 4; -
getRowCount
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 = 4; -
getRowOrBuilderList
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 = 4; -
getRowOrBuilder
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 = 4; -
hasRowType
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 = 5;- Returns:
- Whether the rowType field is set.
-
getRowType
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 = 5;- Returns:
- The rowType.
-
getRowTypeOrBuilder
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 = 5;
-