SubsettingSchemaObjectSummary

class oci.data_safe.models.SubsettingSchemaObjectSummary(**kwargs)

Bases: object

Summary of a table included in the schema for a subsetting policy

Attributes:

OBJECT_TYPE_EDITIONING_VIEW

A constant which can be used with the object_type property of a SubsettingSchemaObjectSummary.

OBJECT_TYPE_TABLE

A constant which can be used with the object_type property of a SubsettingSchemaObjectSummary.

initial_row_count

Gets the initial_row_count of this SubsettingSchemaObjectSummary.

is_stats_stale

Gets the is_stats_stale of this SubsettingSchemaObjectSummary.

key

[Required] Gets the key of this SubsettingSchemaObjectSummary.

object_name

[Required] Gets the object_name of this SubsettingSchemaObjectSummary.

object_type

Gets the object_type of this SubsettingSchemaObjectSummary.

schema_name

[Required] Gets the schema_name of this SubsettingSchemaObjectSummary.

time_created

Gets the time_created of this SubsettingSchemaObjectSummary.

time_updated

Gets the time_updated of this SubsettingSchemaObjectSummary.

Methods:

__init__(**kwargs)

Initializes a new SubsettingSchemaObjectSummary object with values from keyword arguments.

OBJECT_TYPE_EDITIONING_VIEW = 'EDITIONING_VIEW'

A constant which can be used with the object_type property of a SubsettingSchemaObjectSummary. This constant has a value of “EDITIONING_VIEW”

OBJECT_TYPE_TABLE = 'TABLE'

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

__init__(**kwargs)

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

Parameters
  • key (str) – The value to assign to the key property of this SubsettingSchemaObjectSummary.

  • schema_name (str) – The value to assign to the schema_name property of this SubsettingSchemaObjectSummary.

  • object_name (str) – The value to assign to the object_name property of this SubsettingSchemaObjectSummary.

  • object_type (str) – The value to assign to the object_type property of this SubsettingSchemaObjectSummary. Allowed values for this property are: “TABLE”, “EDITIONING_VIEW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • initial_row_count (int) – The value to assign to the initial_row_count property of this SubsettingSchemaObjectSummary.

  • is_stats_stale (bool) – The value to assign to the is_stats_stale property of this SubsettingSchemaObjectSummary.

  • time_created (datetime) – The value to assign to the time_created property of this SubsettingSchemaObjectSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this SubsettingSchemaObjectSummary.

property initial_row_count

Gets the initial_row_count of this SubsettingSchemaObjectSummary. The initial number of rows in this object/table

Returns

The initial_row_count of this SubsettingSchemaObjectSummary.

Return type

int

property is_stats_stale

Gets the is_stats_stale of this SubsettingSchemaObjectSummary. Indicates if the table stats are stale. This can be used to judge the accuracy of initialRowCount

Returns

The is_stats_stale of this SubsettingSchemaObjectSummary.

Return type

bool

property key

[Required] Gets the key of this SubsettingSchemaObjectSummary. The unique key that identifies a subsetting table. The key is numeric and unique within a subsetting policy

Returns

The key of this SubsettingSchemaObjectSummary.

Return type

str

property object_name

[Required] Gets the object_name of this SubsettingSchemaObjectSummary. The name of the database object

Returns

The object_name of this SubsettingSchemaObjectSummary.

Return type

str

property object_type

Gets the object_type of this SubsettingSchemaObjectSummary. The type of the database object that contains the subsetting table

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

Returns

The object_type of this SubsettingSchemaObjectSummary.

Return type

str

property schema_name

[Required] Gets the schema_name of this SubsettingSchemaObjectSummary. The database schema that contains the subsetting table

Returns

The schema_name of this SubsettingSchemaObjectSummary.

Return type

str

property time_created

Gets the time_created of this SubsettingSchemaObjectSummary. The date and time the subsetting table was created, in the format defined by RFC3339.

Returns

The time_created of this SubsettingSchemaObjectSummary.

Return type

datetime

property time_updated

Gets the time_updated of this SubsettingSchemaObjectSummary. The date and time the subsetting table was last updated, in the format defined by RFC3339.

Returns

The time_updated of this SubsettingSchemaObjectSummary.

Return type

datetime