Class: Google::Cloud::Datastore::V1::RunQueryResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Datastore::V1::RunQueryResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/datastore/v1/datastore.rb
Overview
The response for Datastore.RunQuery.
Instance Attribute Summary collapse
-
#batch ⇒ ::Google::Cloud::Datastore::V1::QueryResultBatch
A batch of query results (always present).
-
#explain_metrics ⇒ ::Google::Cloud::Datastore::V1::ExplainMetrics
Query explain metrics.
-
#query ⇒ ::Google::Cloud::Datastore::V1::Query
The parsed form of the
GqlQuery
from the request, if it was set. -
#transaction ⇒ ::String
The identifier of the transaction that was started as part of this RunQuery request.
Instance Attribute Details
#batch ⇒ ::Google::Cloud::Datastore::V1::QueryResultBatch
Returns A batch of query results (always present).
149 150 151 152 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 149 class RunQueryResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#explain_metrics ⇒ ::Google::Cloud::Datastore::V1::ExplainMetrics
Returns 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.
149 150 151 152 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 149 class RunQueryResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#query ⇒ ::Google::Cloud::Datastore::V1::Query
Returns The parsed form of the GqlQuery
from the request, if it was set.
149 150 151 152 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 149 class RunQueryResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#transaction ⇒ ::String
Returns 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.
149 150 151 152 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 149 class RunQueryResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |