Firestore in Datastore mode V1 API - Class Google::Cloud::Datastore::V1::QueryPlan (v0.16.0)

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

Plan for the query.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#plan_info

def plan_info() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::Struct) — Planning phase information for the query. It will include:

    { "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

#plan_info=

def plan_info=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — Planning phase information for the query. It will include:

    { "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }

Returns
  • (::Google::Protobuf::Struct) — Planning phase information for the query. It will include:

    { "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, name ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, name ASC)"} ] }