Interface ReadActionOrBuilder (6.58.0)

public interface ReadActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The index.

getIndexBytes()

public abstract ByteString getIndexBytes()

The index to read at if it's an index read.

optional string index = 2;

Returns
TypeDescription
ByteString

The bytes for index.

getKeys()

public abstract KeySet getKeys()

Keys for performing this read.

.google.spanner.executor.v1.KeySet keys = 4;

Returns
TypeDescription
KeySet

The keys.

getKeysOrBuilder()

public abstract KeySetOrBuilder getKeysOrBuilder()

Keys for performing this read.

.google.spanner.executor.v1.KeySet keys = 4;

Returns
TypeDescription
KeySetOrBuilder

getLimit()

public abstract int getLimit()

Limit on number of rows to read. If set, must be positive.

int32 limit = 5;

Returns
TypeDescription
int

The limit.

getTable()

public abstract String getTable()

The table to read at.

string table = 1;

Returns
TypeDescription
String

The table.

getTableBytes()

public abstract ByteString getTableBytes()

The table to read at.

string table = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the keys field is set.