TimeColumn

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

Bases: oci.log_analytics.models.abstract_column.AbstractColumn

Time column returned when the shape of a queries results contsin a time series.

Attributes

SUB_SYSTEM_LOG str(object=’’) -> str
TYPE_CHART_COLUMN str(object=’’) -> str
TYPE_CHART_DATA_COLUMN str(object=’’) -> str
TYPE_CLASSIFY_COLUMN str(object=’’) -> str
TYPE_COLUMN str(object=’’) -> str
TYPE_TABLE_COLUMN str(object=’’) -> str
TYPE_TIME_CLUSTER_COLUMN str(object=’’) -> str
TYPE_TIME_CLUSTER_DATA_COLUMN str(object=’’) -> str
TYPE_TIME_COLUMN str(object=’’) -> str
TYPE_TIME_STATS_COLUMN str(object=’’) -> str
TYPE_TIME_STATS_DATA_COLUMN str(object=’’) -> str
TYPE_TREND_COLUMN str(object=’’) -> str
VALUE_TYPE_BOOLEAN str(object=’’) -> str
VALUE_TYPE_DOUBLE str(object=’’) -> str
VALUE_TYPE_FACET str(object=’’) -> str
VALUE_TYPE_FLOAT str(object=’’) -> str
VALUE_TYPE_INTEGER str(object=’’) -> str
VALUE_TYPE_LONG str(object=’’) -> str
VALUE_TYPE_STRING str(object=’’) -> str
VALUE_TYPE_TABLE str(object=’’) -> str
VALUE_TYPE_TIMESTAMP str(object=’’) -> str
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_hidden Gets the is_hidden 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.
span Gets the span of this TimeColumn.
sub_system Gets the sub_system of this AbstractColumn.
times Gets the times of this TimeColumn.
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 TimeColumn 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'
TYPE_CHART_COLUMN = 'CHART_COLUMN'
TYPE_CHART_DATA_COLUMN = 'CHART_DATA_COLUMN'
TYPE_CLASSIFY_COLUMN = 'CLASSIFY_COLUMN'
TYPE_COLUMN = 'COLUMN'
TYPE_TABLE_COLUMN = 'TABLE_COLUMN'
TYPE_TIME_CLUSTER_COLUMN = 'TIME_CLUSTER_COLUMN'
TYPE_TIME_CLUSTER_DATA_COLUMN = 'TIME_CLUSTER_DATA_COLUMN'
TYPE_TIME_COLUMN = 'TIME_COLUMN'
TYPE_TIME_STATS_COLUMN = 'TIME_STATS_COLUMN'
TYPE_TIME_STATS_DATA_COLUMN = 'TIME_STATS_DATA_COLUMN'
TYPE_TREND_COLUMN = 'TREND_COLUMN'
VALUE_TYPE_BOOLEAN = 'BOOLEAN'
VALUE_TYPE_DOUBLE = 'DOUBLE'
VALUE_TYPE_FACET = 'FACET'
VALUE_TYPE_FLOAT = 'FLOAT'
VALUE_TYPE_INTEGER = 'INTEGER'
VALUE_TYPE_LONG = 'LONG'
VALUE_TYPE_STRING = 'STRING'
VALUE_TYPE_TABLE = 'TABLE'
VALUE_TYPE_TIMESTAMP = 'TIMESTAMP'
__init__(**kwargs)

Initializes a new TimeColumn object with values from keyword arguments. The default value of the type attribute of this class is TIME_COLUMN and it should not be changed. 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 TimeColumn. Allowed values for this property are: “COLUMN”, “CHART_COLUMN”, “CHART_DATA_COLUMN”, “TIME_STATS_COLUMN”, “TIME_STATS_DATA_COLUMN”, “TIME_CLUSTER_COLUMN”, “TIME_CLUSTER_DATA_COLUMN”, “TABLE_COLUMN”, “TIME_COLUMN”, “TREND_COLUMN”, “CLASSIFY_COLUMN”
  • display_name (str) – The value to assign to the display_name property of this TimeColumn.
  • sub_system (str) – The value to assign to the sub_system property of this TimeColumn. Allowed values for this property are: “LOG”
  • values (list[oci.log_analytics.models.FieldValue]) – The value to assign to the values property of this TimeColumn.
  • is_list_of_values (bool) – The value to assign to the is_list_of_values property of this TimeColumn.
  • is_multi_valued (bool) – The value to assign to the is_multi_valued property of this TimeColumn.
  • is_case_sensitive (bool) – The value to assign to the is_case_sensitive property of this TimeColumn.
  • is_groupable (bool) – The value to assign to the is_groupable property of this TimeColumn.
  • is_evaluable (bool) – The value to assign to the is_evaluable property of this TimeColumn.
  • is_hidden (bool) – The value to assign to the is_hidden property of this TimeColumn.
  • value_type (str) – The value to assign to the value_type property of this TimeColumn. Allowed values for this property are: “BOOLEAN”, “STRING”, “DOUBLE”, “FLOAT”, “LONG”, “INTEGER”, “TIMESTAMP”, “FACET”, “TABLE”
  • original_display_name (str) – The value to assign to the original_display_name property of this TimeColumn.
  • internal_name (str) – The value to assign to the internal_name property of this TimeColumn.
  • span (str) – The value to assign to the span property of this TimeColumn.
  • times (list[int]) – The value to assign to the times property of this TimeColumn.
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_hidden

Gets the is_hidden of this AbstractColumn. Identifies if this column should be hidden by default but can be displayed in the UI on demand.

Returns:The is_hidden 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
span

Gets the span of this TimeColumn. Time span between each series data point.

Returns:The span of this TimeColumn.
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
times

Gets the times of this TimeColumn. List of timestamps that represent each time stamp in the entire time series even if certain intervals are filtered out of query results.

Returns:The times of this TimeColumn.
Return type:list[int]
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_STATS_COLUMN”, “TIME_STATS_DATA_COLUMN”, “TIME_CLUSTER_COLUMN”, “TIME_CLUSTER_DATA_COLUMN”, “TABLE_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”, “TABLE”, ‘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]