Class: Google::Apis::DatastoreV1beta3::ExplainOptions
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta3::ExplainOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastore_v1beta3/classes.rb,
lib/google/apis/datastore_v1beta3/representations.rb,
lib/google/apis/datastore_v1beta3/representations.rb
Overview
Explain options for the query.
Instance Attribute Summary collapse
-
#analyze ⇒ Boolean
(also: #analyze?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExplainOptions
constructor
A new instance of ExplainOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExplainOptions
Returns a new instance of ExplainOptions.
577 578 579 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 577 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analyze ⇒ Boolean Also known as: analyze?
Optional. Whether to execute this query. When false (the default), the query
will be planned, returning only metrics from the planning stages. When true,
the query will be planned and executed, returning the full query results along
with both planning and execution stage metrics.
Corresponds to the JSON property analyze
574 575 576 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 574 def analyze @analyze end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
582 583 584 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 582 def update!(**args) @analyze = args[:analyze] if args.key?(:analyze) end |