ResultColumn

class oci.log_analytics.models.ResultColumn(**kwargs)

Bases: object

Querylanguage result column.

Attributes:

VALUE_TYPE_BOOLEAN

A constant which can be used with the value_type property of a ResultColumn.

VALUE_TYPE_DOUBLE

A constant which can be used with the value_type property of a ResultColumn.

VALUE_TYPE_FACET

A constant which can be used with the value_type property of a ResultColumn.

VALUE_TYPE_FLOAT

A constant which can be used with the value_type property of a ResultColumn.

VALUE_TYPE_INTEGER

A constant which can be used with the value_type property of a ResultColumn.

VALUE_TYPE_LONG

A constant which can be used with the value_type property of a ResultColumn.

VALUE_TYPE_STRING

A constant which can be used with the value_type property of a ResultColumn.

VALUE_TYPE_TABLE

A constant which can be used with the value_type property of a ResultColumn.

VALUE_TYPE_TIMESTAMP

A constant which can be used with the value_type property of a ResultColumn.

display_name

Gets the display_name of this ResultColumn.

internal_name

Gets the internal_name of this ResultColumn.

value_type

Gets the value_type of this ResultColumn.

Methods:

__init__(**kwargs)

Initializes a new ResultColumn object with values from keyword arguments.

VALUE_TYPE_BOOLEAN = 'BOOLEAN'

A constant which can be used with the value_type property of a ResultColumn. This constant has a value of “BOOLEAN”

VALUE_TYPE_DOUBLE = 'DOUBLE'

A constant which can be used with the value_type property of a ResultColumn. This constant has a value of “DOUBLE”

VALUE_TYPE_FACET = 'FACET'

A constant which can be used with the value_type property of a ResultColumn. This constant has a value of “FACET”

VALUE_TYPE_FLOAT = 'FLOAT'

A constant which can be used with the value_type property of a ResultColumn. This constant has a value of “FLOAT”

VALUE_TYPE_INTEGER = 'INTEGER'

A constant which can be used with the value_type property of a ResultColumn. This constant has a value of “INTEGER”

VALUE_TYPE_LONG = 'LONG'

A constant which can be used with the value_type property of a ResultColumn. This constant has a value of “LONG”

VALUE_TYPE_STRING = 'STRING'

A constant which can be used with the value_type property of a ResultColumn. This constant has a value of “STRING”

VALUE_TYPE_TABLE = 'TABLE'

A constant which can be used with the value_type property of a ResultColumn. This constant has a value of “TABLE”

VALUE_TYPE_TIMESTAMP = 'TIMESTAMP'

A constant which can be used with the value_type property of a ResultColumn. This constant has a value of “TIMESTAMP”

__init__(**kwargs)

Initializes a new ResultColumn object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • internal_name (str) – The value to assign to the internal_name property of this ResultColumn.

  • display_name (str) – The value to assign to the display_name property of this ResultColumn.

  • value_type (str) – The value to assign to the value_type property of this ResultColumn. Allowed values for this property are: “BOOLEAN”, “STRING”, “DOUBLE”, “FLOAT”, “LONG”, “INTEGER”, “TIMESTAMP”, “FACET”, “TABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property display_name

Gets the display_name of this ResultColumn. Display name - will be alias if result column is renamed by queryString.

Returns

The display_name of this ResultColumn.

Return type

str

property internal_name

Gets the internal_name of this ResultColumn. Internal identifier for the column.

Returns

The internal_name of this ResultColumn.

Return type

str

property value_type

Gets the value_type of this ResultColumn. Field denoting column data type.

Allowed values for this property are: “BOOLEAN”, “STRING”, “DOUBLE”, “FLOAT”, “LONG”, “INTEGER”, “TIMESTAMP”, “FACET”, “TABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The value_type of this ResultColumn.

Return type

str