QueryAggregation

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

Bases: object

Query results.

Methods

__init__(**kwargs) Initializes a new QueryAggregation object with values from keyword arguments.

Attributes

are_partial_results Gets the are_partial_results of this QueryAggregation.
columns Gets the columns of this QueryAggregation.
fields Gets the fields of this QueryAggregation.
is_content_hidden Gets the is_content_hidden of this QueryAggregation.
items Gets the items of this QueryAggregation.
partial_result_reason Gets the partial_result_reason of this QueryAggregation.
percent_complete [Required] Gets the percent_complete of this QueryAggregation.
query_execution_time_in_ms Gets the query_execution_time_in_ms of this QueryAggregation.
total_count Gets the total_count of this QueryAggregation.
total_matched_count Gets the total_matched_count of this QueryAggregation.
__init__(**kwargs)

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

Parameters:
  • total_count (int) – The value to assign to the total_count property of this QueryAggregation.
  • total_matched_count (int) – The value to assign to the total_matched_count property of this QueryAggregation.
  • are_partial_results (bool) – The value to assign to the are_partial_results property of this QueryAggregation.
  • partial_result_reason (str) – The value to assign to the partial_result_reason property of this QueryAggregation.
  • is_content_hidden (bool) – The value to assign to the is_content_hidden property of this QueryAggregation.
  • columns (list[oci.log_analytics.models.AbstractColumn]) – The value to assign to the columns property of this QueryAggregation.
  • fields (list[oci.log_analytics.models.AbstractColumn]) – The value to assign to the fields property of this QueryAggregation.
  • items (list[dict(str, object)]) – The value to assign to the items property of this QueryAggregation.
  • query_execution_time_in_ms (int) – The value to assign to the query_execution_time_in_ms property of this QueryAggregation.
  • percent_complete (int) – The value to assign to the percent_complete property of this QueryAggregation.
are_partial_results

Gets the are_partial_results of this QueryAggregation. True if query did not complete processing all data.

Returns:The are_partial_results of this QueryAggregation.
Return type:bool
columns

Gets the columns of this QueryAggregation. Query result columns

Returns:The columns of this QueryAggregation.
Return type:list[oci.log_analytics.models.AbstractColumn]
fields

Gets the fields of this QueryAggregation. Query result fields

Returns:The fields of this QueryAggregation.
Return type:list[oci.log_analytics.models.AbstractColumn]
is_content_hidden

Gets the is_content_hidden of this QueryAggregation. True if the data returned by query is hidden.

Returns:The is_content_hidden of this QueryAggregation.
Return type:bool
items

Gets the items of this QueryAggregation. Query result data

Returns:The items of this QueryAggregation.
Return type:list[dict(str, object)]
partial_result_reason

Gets the partial_result_reason of this QueryAggregation. Explanation of why results may be partial. Only set if arePartialResults is true.

Returns:The partial_result_reason of this QueryAggregation.
Return type:str
percent_complete

[Required] Gets the percent_complete of this QueryAggregation. Percentage progress completion of the query.

Returns:The percent_complete of this QueryAggregation.
Return type:int
query_execution_time_in_ms

Gets the query_execution_time_in_ms of this QueryAggregation. Time ellapsed executing query in milli-seconds.

Returns:The query_execution_time_in_ms of this QueryAggregation.
Return type:int
total_count

Gets the total_count of this QueryAggregation. Number of rows query retrieved. Up to maxTotalCount limit.

Returns:The total_count of this QueryAggregation.
Return type:int
total_matched_count

Gets the total_matched_count of this QueryAggregation. Number of rows matched by query.

Returns:The total_matched_count of this QueryAggregation.
Return type:int