Class: DatadogAPIClient::V2::DdsqlTabularQueryColumn
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::DdsqlTabularQueryColumn
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ddsql_tabular_query_column.rb
Overview
A single column of a DDSQL tabular query result.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#name ⇒ Object
readonly
Name of the column as projected by the SQL statement.
-
#type ⇒ Object
readonly
DDSQL data type of the column's values, for example
VARCHAR,BIGINT,DECIMAL,BOOLEAN,TIMESTAMP,JSON, or an array variant such asVARCHAR[]. -
#values ⇒ Object
readonly
Column values in row order, one entry per result row.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_column.rb', line 47 def additional_properties @additional_properties end |
#name ⇒ Object
Name of the column as projected by the SQL statement.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_column.rb', line 25 def name @name end |
#type ⇒ Object
DDSQL data type of the column's values, for example VARCHAR, BIGINT,
DECIMAL, BOOLEAN, TIMESTAMP, JSON, or an array variant such as
VARCHAR[]. See the
DDSQL data-types reference
for the full, up-to-date list.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_column.rb', line 32 def type @type end |
#values ⇒ Object
Column values in row order, one entry per result row. The element type
follows the column's type. The following serialization rules should be
taken into account:
BIGINTvalues are encoded as JSON numbers in the signed 64-bit integer range.DECIMALvalues are encoded as JSON numbers with 64-bit double precision.TIMESTAMPandDATEvalues are encoded as Unix-millisecond integers; aDATEresolves to midnight UTC.JSONvalues are returned as a JSON-encoded string.
null is allowed for any column type where a value is missing.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_column.rb', line 45 def values @values end |