Interface RunQueryResponseOrBuilder (2.19.0)

public interface RunQueryResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBatch()

public abstract QueryResultBatch getBatch()

A batch of query results (always present).

.google.datastore.v1.QueryResultBatch batch = 1;

Returns
TypeDescription
QueryResultBatch

The batch.

getBatchOrBuilder()

public abstract QueryResultBatchOrBuilder getBatchOrBuilder()

A batch of query results (always present).

.google.datastore.v1.QueryResultBatch batch = 1;

Returns
TypeDescription
QueryResultBatchOrBuilder

getExplainMetrics()

public abstract ExplainMetrics getExplainMetrics()

Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.

.google.datastore.v1.ExplainMetrics explain_metrics = 9;

Returns
TypeDescription
ExplainMetrics

The explainMetrics.

getExplainMetricsOrBuilder()

public abstract ExplainMetricsOrBuilder getExplainMetricsOrBuilder()

Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.

.google.datastore.v1.ExplainMetrics explain_metrics = 9;

Returns
TypeDescription
ExplainMetricsOrBuilder

getQuery()

public abstract Query getQuery()

The parsed form of the GqlQuery from the request, if it was set.

.google.datastore.v1.Query query = 2;

Returns
TypeDescription
Query

The query.

getQueryOrBuilder()

public abstract QueryOrBuilder getQueryOrBuilder()

The parsed form of the GqlQuery from the request, if it was set.

.google.datastore.v1.Query query = 2;

Returns
TypeDescription
QueryOrBuilder

getTransaction()

public abstract ByteString getTransaction()

The identifier of the transaction that was started as part of this RunQuery request.

Set only when ReadOptions.new_transaction was set in RunQueryRequest.read_options.

bytes transaction = 5;

Returns
TypeDescription
ByteString

The transaction.

hasBatch()

public abstract boolean hasBatch()

A batch of query results (always present).

.google.datastore.v1.QueryResultBatch batch = 1;

Returns
TypeDescription
boolean

Whether the batch field is set.

hasExplainMetrics()

public abstract boolean hasExplainMetrics()

Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.

.google.datastore.v1.ExplainMetrics explain_metrics = 9;

Returns
TypeDescription
boolean

Whether the explainMetrics field is set.

hasQuery()

public abstract boolean hasQuery()

The parsed form of the GqlQuery from the request, if it was set.

.google.datastore.v1.Query query = 2;

Returns
TypeDescription
boolean

Whether the query field is set.