TableStatisticSummary

class oci.database_management.models.TableStatisticSummary(**kwargs)

Bases: object

The summary of table statistics statuses, which includes status categories such as Stale, Not Stale, and No Stats, the number of table statistics grouped by status category, and the percentage of objects with a particular status.

Attributes:

TYPE_NOT_STALE

A constant which can be used with the type property of a TableStatisticSummary.

TYPE_NO_STATS

A constant which can be used with the type property of a TableStatisticSummary.

TYPE_STALE

A constant which can be used with the type property of a TableStatisticSummary.

count

[Required] Gets the count of this TableStatisticSummary.

percentage

[Required] Gets the percentage of this TableStatisticSummary.

type

[Required] Gets the type of this TableStatisticSummary.

Methods:

__init__(**kwargs)

Initializes a new TableStatisticSummary object with values from keyword arguments.

TYPE_NOT_STALE = 'NOT_STALE'

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

TYPE_NO_STATS = 'NO_STATS'

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

TYPE_STALE = 'STALE'

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

__init__(**kwargs)

Initializes a new TableStatisticSummary object with values from keyword arguments. 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 TableStatisticSummary. Allowed values for this property are: “NO_STATS”, “STALE”, “NOT_STALE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • count (int) – The value to assign to the count property of this TableStatisticSummary.

  • percentage (float) – The value to assign to the percentage property of this TableStatisticSummary.

property count

[Required] Gets the count of this TableStatisticSummary. The number of objects aggregated by status category.

Returns

The count of this TableStatisticSummary.

Return type

int

property percentage

[Required] Gets the percentage of this TableStatisticSummary. The percentage of objects with a particular status.

Returns

The percentage of this TableStatisticSummary.

Return type

float

property type

[Required] Gets the type of this TableStatisticSummary. The valid status categories of table statistics.

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

Returns

The type of this TableStatisticSummary.

Return type

str