Package com.google.spanner.executor.v1
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 TypeMethodDescriptiongetColumn(int index) List of columns must begin with the key columns used for the read.com.google.protobuf.ByteStringgetColumnBytes(int index) List of columns must begin with the key columns used for the read.intList 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.getIndex()The index to read at if it's an index read.com.google.protobuf.ByteStringThe index to read at if it's an index read.getKeys()Keys for performing this read.Keys for performing this read.intgetLimit()Limit on number of rows to read.getTable()The table to read at.com.google.protobuf.ByteStringThe table to read at.booleanhasIndex()The index to read at if it's an index read.booleanhasKeys()Keys for performing this 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()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 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
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.
-