Interface QueryResultOrBuilder (0.1.0)

public interface QueryResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getColumns(int index)

public abstract Column getColumns(int index)

List of columns included in the result. This also includes the data type of the column.

repeated .google.cloud.sql.v1beta4.Column columns = 1;

Parameter
Name Description
index int
Returns
Type Description
Column

getColumnsCount()

public abstract int getColumnsCount()

List of columns included in the result. This also includes the data type of the column.

repeated .google.cloud.sql.v1beta4.Column columns = 1;

Returns
Type Description
int

getColumnsList()

public abstract List<Column> getColumnsList()

List of columns included in the result. This also includes the data type of the column.

repeated .google.cloud.sql.v1beta4.Column columns = 1;

Returns
Type Description
List<Column>

getColumnsOrBuilder(int index)

public abstract ColumnOrBuilder getColumnsOrBuilder(int index)

List of columns included in the result. This also includes the data type of the column.

repeated .google.cloud.sql.v1beta4.Column columns = 1;

Parameter
Name Description
index int
Returns
Type Description
ColumnOrBuilder

getColumnsOrBuilderList()

public abstract List<? extends ColumnOrBuilder> getColumnsOrBuilderList()

List of columns included in the result. This also includes the data type of the column.

repeated .google.cloud.sql.v1beta4.Column columns = 1;

Returns
Type Description
List<? extends com.google.cloud.sql.v1beta4.ColumnOrBuilder>

getMessage()

public abstract String getMessage()

Message related to the SQL execution result.

string message = 3;

Returns
Type Description
String

The message.

getMessageBytes()

public abstract ByteString getMessageBytes()

Message related to the SQL execution result.

string message = 3;

Returns
Type Description
ByteString

The bytes for message.

getPartialResult()

public abstract boolean getPartialResult()

Set to true if the SQL execution's result is truncated due to size limits or an error retrieving results.

bool partial_result = 4;

Returns
Type Description
boolean

The partialResult.

getRows(int index)

public abstract Row getRows(int index)

Rows returned by the SQL statement.

repeated .google.cloud.sql.v1beta4.Row rows = 2;

Parameter
Name Description
index int
Returns
Type Description
Row

getRowsCount()

public abstract int getRowsCount()

Rows returned by the SQL statement.

repeated .google.cloud.sql.v1beta4.Row rows = 2;

Returns
Type Description
int

getRowsList()

public abstract List<Row> getRowsList()

Rows returned by the SQL statement.

repeated .google.cloud.sql.v1beta4.Row rows = 2;

Returns
Type Description
List<Row>

getRowsOrBuilder(int index)

public abstract RowOrBuilder getRowsOrBuilder(int index)

Rows returned by the SQL statement.

repeated .google.cloud.sql.v1beta4.Row rows = 2;

Parameter
Name Description
index int
Returns
Type Description
RowOrBuilder

getRowsOrBuilderList()

public abstract List<? extends RowOrBuilder> getRowsOrBuilderList()

Rows returned by the SQL statement.

repeated .google.cloud.sql.v1beta4.Row rows = 2;

Returns
Type Description
List<? extends com.google.cloud.sql.v1beta4.RowOrBuilder>

getStatus()

public abstract Status getStatus()

If results were truncated due to an error, details of that error.

.google.rpc.Status status = 8;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusOrBuilder()

public abstract StatusOrBuilder getStatusOrBuilder()

If results were truncated due to an error, details of that error.

.google.rpc.Status status = 8;

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasStatus()

public abstract boolean hasStatus()

If results were truncated due to an error, details of that error.

.google.rpc.Status status = 8;

Returns
Type Description
boolean

Whether the status field is set.