Firestore in Datastore mode V1 API - Class Google::Cloud::Datastore::V1::PlanSummary (v0.19.0)

Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::PlanSummary.

Planning phase information for the query.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#indexes_used

def indexes_used() -> ::Array<::Google::Protobuf::Struct>
Returns
  • (::Array<::Google::Protobuf::Struct>) — The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]

#indexes_used=

def indexes_used=(value) -> ::Array<::Google::Protobuf::Struct>
Parameter
  • value (::Array<::Google::Protobuf::Struct>) — The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]
Returns
  • (::Array<::Google::Protobuf::Struct>) — The indexes selected for the query. For example: [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ]