Reference documentation and code samples for the Cloud Datastore V1 Client class RunQueryResponse.
The response for Datastore.RunQuery .
Generated from protobuf message google.datastore.v1.RunQueryResponse
Namespace
Google \ Cloud \ Datastore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ batch
↳ query
↳ transaction
string
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 .
↳ explain_metrics
ExplainMetrics
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.
getBatch
A batch of query results (always present).
hasBatch
clearBatch
setBatch
A batch of query results (always present).
$this
getQuery
The parsed form of the GqlQuery
from the request, if it was set.
hasQuery
clearQuery
setQuery
The parsed form of the GqlQuery
from the request, if it was set.
$this
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 .
string
setTransaction
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 .
var
string
$this
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.
hasExplainMetrics
clearExplainMetrics
setExplainMetrics
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.
$this