Class: DatadogAPIClient::V2::DdsqlTabularQueryResponseAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::DdsqlTabularQueryResponseAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ddsql_tabular_query_response_attributes.rb
Overview
Attributes of a DDSQL tabular query response. query_id is set when
state is running; columns is set when state is completed.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#columns ⇒ Object
Column-major result set.
-
#query_id ⇒ Object
Opaque token to pass to the fetch endpoint to poll for results.
-
#state ⇒ Object
readonly
Lifecycle state of a DDSQL tabular query response.
-
#warnings ⇒ Object
Non-fatal messages emitted by the query engine while serving this response.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_response_attributes.rb', line 42 def additional_properties @additional_properties end |
#columns ⇒ Object
Column-major result set. Each element carries one column's name, type, and values,
with one value per row of the result. Set when state is completed.
27 28 29 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_response_attributes.rb', line 27 def columns @columns end |
#query_id ⇒ Object
Opaque token to pass to the fetch endpoint to poll for results.
Set when state is running and absent when state is completed.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_response_attributes.rb', line 31 def query_id @query_id end |
#state ⇒ Object
Lifecycle state of a DDSQL tabular query response.
running means the query is still executing and the client should poll
the fetch endpoint with the returned query_id. completed means the
result set is inlined in columns and no further polling is required.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_response_attributes.rb', line 37 def state @state end |
#warnings ⇒ Object
Non-fatal messages emitted by the query engine while serving this response.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_response_attributes.rb', line 40 def warnings @warnings end |