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 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

      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 = 4;
    • getRow

      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 = 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

      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 = 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;