public interface ReadActionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getColumn(int index)
public abstract String getColumn(int index)List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The column at the given index. |
getColumnBytes(int index)
public abstract ByteString getColumnBytes(int index)List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the column at the given index. |
getColumnCount()
public abstract int getColumnCount()List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of column. |
getColumnList()
public abstract List<String> getColumnList()List of columns must begin with the key columns used for the read.
repeated string column = 3;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the column. |
getIndex()
public abstract String getIndex()The index to read at if it's an index read.
optional string index = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The index. |
getIndexBytes()
public abstract ByteString getIndexBytes()The index to read at if it's an index read.
optional string index = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for index. |
getKeys()
public abstract KeySet getKeys()Keys for performing this read.
.google.spanner.executor.v1.KeySet keys = 4;
| Returns | |
|---|---|
| Type | Description |
KeySet |
The keys. |
getKeysOrBuilder()
public abstract KeySetOrBuilder getKeysOrBuilder()Keys for performing this read.
.google.spanner.executor.v1.KeySet keys = 4;
| Returns | |
|---|---|
| Type | Description |
KeySetOrBuilder |
|
getLimit()
public abstract int getLimit()Limit on number of rows to read. If set, must be positive.
int32 limit = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The limit. |
getTable()
public abstract String getTable()The table to read at.
string table = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The table. |
getTableBytes()
public abstract ByteString getTableBytes()The table to read at.
string table = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for table. |
hasIndex()
public abstract boolean hasIndex()The index to read at if it's an index read.
optional string index = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the index field is set. |
hasKeys()
public abstract boolean hasKeys()Keys for performing this read.
.google.spanner.executor.v1.KeySet keys = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the keys field is set. |