Class: DatadogAPIClient::V2::DdsqlTabularQueryRequestAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::DdsqlTabularQueryRequestAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ddsql_tabular_query_request_attributes.rb
Overview
Attributes describing the DDSQL query to execute.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#query ⇒ Object
readonly
The DDSQL statement to execute.
-
#row_limit ⇒ Object
readonly
Cap on the number of rows returned.
-
#time ⇒ Object
readonly
Time window scoping the underlying data sources, expressed in Unix milliseconds since the epoch.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_request_attributes.rb', line 38 def additional_properties @additional_properties end |
#query ⇒ Object
The DDSQL statement to execute. DDSQL is Datadog's SQL dialect, which is a subset of PostgreSQL, scoped to Datadog data sources.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_request_attributes.rb', line 26 def query @query end |
#row_limit ⇒ Object
Cap on the number of rows returned. Defaults to 5,000 when omitted. Must be between 1 and 10,000 inclusive; values outside this range are rejected with 400.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_request_attributes.rb', line 30 def row_limit @row_limit end |
#time ⇒ Object
Time window scoping the underlying data sources, expressed in Unix milliseconds
since the epoch. Inclusive on from_timestamp, exclusive on to_timestamp.
Results from static tables (for example, dd.hosts) are not affected by the
time window, but the field must still be provided.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_request_attributes.rb', line 36 def time @time end |