AbstractColumn

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

Bases: object

Generic column defining all attributes common to all querylanguage columns.

Attributes

SUB_SYSTEM_LOG A constant which can be used with the sub_system property of a AbstractColumn.
TYPE_CHART_COLUMN A constant which can be used with the type property of a AbstractColumn.
TYPE_CHART_DATA_COLUMN A constant which can be used with the type property of a AbstractColumn.
TYPE_CLASSIFY_COLUMN A constant which can be used with the type property of a AbstractColumn.
TYPE_COLUMN A constant which can be used with the type property of a AbstractColumn.
TYPE_TIME_COLUMN A constant which can be used with the type property of a AbstractColumn.
TYPE_TREND_COLUMN A constant which can be used with the type property of a AbstractColumn.
VALUE_TYPE_BOOLEAN A constant which can be used with the value_type property of a AbstractColumn.
VALUE_TYPE_DOUBLE A constant which can be used with the value_type property of a AbstractColumn.
VALUE_TYPE_FACET A constant which can be used with the value_type property of a AbstractColumn.
VALUE_TYPE_FLOAT A constant which can be used with the value_type property of a AbstractColumn.
VALUE_TYPE_INTEGER A constant which can be used with the value_type property of a AbstractColumn.
VALUE_TYPE_LONG A constant which can be used with the value_type property of a AbstractColumn.
VALUE_TYPE_STRING A constant which can be used with the value_type property of a AbstractColumn.
VALUE_TYPE_TIMESTAMP A constant which can be used with the value_type property of a AbstractColumn.
display_name Gets the display_name of this AbstractColumn.
internal_name Gets the internal_name of this AbstractColumn.
is_case_sensitive Gets the is_case_sensitive of this AbstractColumn.
is_evaluable Gets the is_evaluable of this AbstractColumn.
is_groupable Gets the is_groupable of this AbstractColumn.
is_list_of_values Gets the is_list_of_values of this AbstractColumn.
is_multi_valued Gets the is_multi_valued of this AbstractColumn.
original_display_name Gets the original_display_name of this AbstractColumn.
sub_system Gets the sub_system of this AbstractColumn.
type [Required] Gets the type of this AbstractColumn.
value_type Gets the value_type of this AbstractColumn.
values Gets the values of this AbstractColumn.

Methods

__init__(**kwargs) Initializes a new AbstractColumn object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
SUB_SYSTEM_LOG = 'LOG'

A constant which can be used with the sub_system property of a AbstractColumn. This constant has a value of “LOG”

TYPE_CHART_COLUMN = 'CHART_COLUMN'

A constant which can be used with the type property of a AbstractColumn. This constant has a value of “CHART_COLUMN”

TYPE_CHART_DATA_COLUMN = 'CHART_DATA_COLUMN'

A constant which can be used with the type property of a AbstractColumn. This constant has a value of “CHART_DATA_COLUMN”

TYPE_CLASSIFY_COLUMN = 'CLASSIFY_COLUMN'

A constant which can be used with the type property of a AbstractColumn. This constant has a value of “CLASSIFY_COLUMN”

TYPE_COLUMN = 'COLUMN'

A constant which can be used with the type property of a AbstractColumn. This constant has a value of “COLUMN”

TYPE_TIME_COLUMN = 'TIME_COLUMN'

A constant which can be used with the type property of a AbstractColumn. This constant has a value of “TIME_COLUMN”

TYPE_TREND_COLUMN = 'TREND_COLUMN'

A constant which can be used with the type property of a AbstractColumn. This constant has a value of “TREND_COLUMN”

VALUE_TYPE_BOOLEAN = 'BOOLEAN'

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

VALUE_TYPE_DOUBLE = 'DOUBLE'

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

VALUE_TYPE_FACET = 'FACET'

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

VALUE_TYPE_FLOAT = 'FLOAT'

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

VALUE_TYPE_INTEGER = 'INTEGER'

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

VALUE_TYPE_LONG = 'LONG'

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

VALUE_TYPE_STRING = 'STRING'

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

VALUE_TYPE_TIMESTAMP = 'TIMESTAMP'

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

__init__(**kwargs)

Initializes a new AbstractColumn object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this AbstractColumn. Allowed values for this property are: “COLUMN”, “CHART_COLUMN”, “CHART_DATA_COLUMN”, “TIME_COLUMN”, “TREND_COLUMN”, “CLASSIFY_COLUMN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • display_name (str) – The value to assign to the display_name property of this AbstractColumn.
  • sub_system (str) – The value to assign to the sub_system property of this AbstractColumn. Allowed values for this property are: “LOG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • values (list[oci.log_analytics.models.FieldValue]) – The value to assign to the values property of this AbstractColumn.
  • is_list_of_values (bool) – The value to assign to the is_list_of_values property of this AbstractColumn.
  • is_multi_valued (bool) – The value to assign to the is_multi_valued property of this AbstractColumn.
  • is_case_sensitive (bool) – The value to assign to the is_case_sensitive property of this AbstractColumn.
  • is_groupable (bool) – The value to assign to the is_groupable property of this AbstractColumn.
  • is_evaluable (bool) – The value to assign to the is_evaluable property of this AbstractColumn.
  • value_type (str) – The value to assign to the value_type property of this AbstractColumn. Allowed values for this property are: “BOOLEAN”, “STRING”, “DOUBLE”, “FLOAT”, “LONG”, “INTEGER”, “TIMESTAMP”, “FACET”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • original_display_name (str) – The value to assign to the original_display_name property of this AbstractColumn.
  • internal_name (str) – The value to assign to the internal_name property of this AbstractColumn.
display_name

Gets the display_name of this AbstractColumn. Column display name - will be alias if column is renamed by queryStrng.

Returns:The display_name of this AbstractColumn.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

internal_name

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

Returns:The internal_name of this AbstractColumn.
Return type:str
is_case_sensitive

Gets the is_case_sensitive of this AbstractColumn. A flag indicating whether or not the field is a case sensitive field. Only applies to string fields.

Returns:The is_case_sensitive of this AbstractColumn.
Return type:bool
is_evaluable

Gets the is_evaluable of this AbstractColumn. Identifies if this column can be used as an expression parameter in any command that accepts querylanguage expressions.

Returns:The is_evaluable of this AbstractColumn.
Return type:bool
is_groupable

Gets the is_groupable of this AbstractColumn. Identifies if this column can be used as a grouping field in any grouping command.

Returns:The is_groupable of this AbstractColumn.
Return type:bool
is_list_of_values

Gets the is_list_of_values of this AbstractColumn. Identifies if all values in this column come from a pre-defined list of values.

Returns:The is_list_of_values of this AbstractColumn.
Return type:bool
is_multi_valued

Gets the is_multi_valued of this AbstractColumn. Identifies if this column allows multiple values to exist in a single row.

Returns:The is_multi_valued of this AbstractColumn.
Return type:bool
original_display_name

Gets the original_display_name of this AbstractColumn. Same as displayName unless column renamed in which case this will hold the original display name for the column.

Returns:The original_display_name of this AbstractColumn.
Return type:str
sub_system

Gets the sub_system of this AbstractColumn. Subsystem column belongs to.

Allowed values for this property are: “LOG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The sub_system of this AbstractColumn.
Return type:str
type

[Required] Gets the type of this AbstractColumn. Column classification when column requires special designation.

Allowed values for this property are: “COLUMN”, “CHART_COLUMN”, “CHART_DATA_COLUMN”, “TIME_COLUMN”, “TREND_COLUMN”, “CLASSIFY_COLUMN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this AbstractColumn.
Return type:str
value_type

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

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

Returns:The value_type of this AbstractColumn.
Return type:str
values

Gets the values of this AbstractColumn. If the column is a ‘List of Values’ column, this array contains the field values that are applicable to query results or all if no filters applied.

Returns:The values of this AbstractColumn.
Return type:list[oci.log_analytics.models.FieldValue]