Interface ReadActionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ReadAction, ReadAction.Builder

public interface ReadActionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getColumn(int index)
    List of columns must begin with the key columns used for the read.
    com.google.protobuf.ByteString
    getColumnBytes(int index)
    List of columns must begin with the key columns used for the read.
    int
    List of columns must begin with the key columns used for the read.
    List of columns must begin with the key columns used for the read.
    The index to read at if it's an index read.
    com.google.protobuf.ByteString
    The index to read at if it's an index read.
    Keys for performing this read.
    Keys for performing this read.
    int
    Limit on number of rows to read.
    The table to read at.
    com.google.protobuf.ByteString
    The table to read at.
    boolean
    The index to read at if it's an index read.
    boolean
    Keys for performing this read.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTable

      String getTable()
       The table to read at.
       
      string table = 1;
      Returns:
      The table.
    • getTableBytes

      com.google.protobuf.ByteString getTableBytes()
       The table to read at.
       
      string table = 1;
      Returns:
      The bytes for table.
    • hasIndex

      boolean hasIndex()
       The index to read at if it's an index read.
       
      optional string index = 2;
      Returns:
      Whether the index field is set.
    • getIndex

      String getIndex()
       The index to read at if it's an index read.
       
      optional string index = 2;
      Returns:
      The index.
    • getIndexBytes

      com.google.protobuf.ByteString getIndexBytes()
       The index to read at if it's an index read.
       
      optional string index = 2;
      Returns:
      The bytes for index.
    • getColumnList

      List<String> getColumnList()
       List of columns must begin with the key columns used for the read.
       
      repeated string column = 3;
      Returns:
      A list containing the column.
    • getColumnCount

      int getColumnCount()
       List of columns must begin with the key columns used for the read.
       
      repeated string column = 3;
      Returns:
      The count of column.
    • getColumn

      String getColumn(int index)
       List of columns must begin with the key columns used for the read.
       
      repeated string column = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The column at the given index.
    • getColumnBytes

      com.google.protobuf.ByteString getColumnBytes(int index)
       List of columns must begin with the key columns used for the read.
       
      repeated string column = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the column at the given index.
    • hasKeys

      boolean hasKeys()
       Keys for performing this read.
       
      .google.spanner.executor.v1.KeySet keys = 4;
      Returns:
      Whether the keys field is set.
    • getKeys

      KeySet getKeys()
       Keys for performing this read.
       
      .google.spanner.executor.v1.KeySet keys = 4;
      Returns:
      The keys.
    • getKeysOrBuilder

      KeySetOrBuilder getKeysOrBuilder()
       Keys for performing this read.
       
      .google.spanner.executor.v1.KeySet keys = 4;
    • getLimit

      int getLimit()
       Limit on number of rows to read. If set, must be positive.
       
      int32 limit = 5;
      Returns:
      The limit.