Interface ReadResultOrBuilder (6.74.1)

public interface ReadResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIndex()

public abstract String getIndex()

Index name, if read from an index.

optional string index = 2;

Returns
Type Description
String

The index.

getIndexBytes()

public abstract ByteString getIndexBytes()

Index name, if read from an index.

optional string index = 2;

Returns
Type Description
ByteString

The bytes for index.

getRequestIndex()

public abstract int getRequestIndex()

Request index (multiread only).

optional int32 request_index = 3;

Returns
Type Description
int

The requestIndex.

getRow(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
ValueList

getRowCount()

public abstract 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;

Returns
Type Description
int

getRowList()

public abstract 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;

Returns
Type Description
List<ValueList>

getRowOrBuilder(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
ValueListOrBuilder

getRowOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.ValueListOrBuilder>

getRowType()

public abstract 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
Type Description
StructType

The rowType.

getRowTypeOrBuilder()

public abstract 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;

Returns
Type Description
StructTypeOrBuilder

getTable()

public abstract String getTable()

Table name.

string table = 1;

Returns
Type Description
String

The table.

getTableBytes()

public abstract ByteString getTableBytes()

Table name.

string table = 1;

Returns
Type Description
ByteString

The bytes for table.

hasIndex()

public abstract boolean hasIndex()

Index name, if read from an index.

optional string index = 2;

Returns
Type Description
boolean

Whether the index field is set.

hasRequestIndex()

public abstract boolean hasRequestIndex()

Request index (multiread only).

optional int32 request_index = 3;

Returns
Type Description
boolean

Whether the requestIndex field is set.

hasRowType()

public abstract 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
Type Description
boolean

Whether the rowType field is set.