ReplicateSchemaChange

class oci.golden_gate.models.ReplicateSchemaChange(**kwargs)

Bases: object

Options required for pipeline Initial Data Load. If enabled, copies existing data from source to target before replication.

Attributes

ACTION_ON_DDL_ERROR_DISCARD A constant which can be used with the action_on_ddl_error property of a ReplicateSchemaChange.
ACTION_ON_DDL_ERROR_IGNORE A constant which can be used with the action_on_ddl_error property of a ReplicateSchemaChange.
ACTION_ON_DDL_ERROR_TERMINATE A constant which can be used with the action_on_ddl_error property of a ReplicateSchemaChange.
ACTION_ON_DML_ERROR_DISCARD A constant which can be used with the action_on_dml_error property of a ReplicateSchemaChange.
ACTION_ON_DML_ERROR_IGNORE A constant which can be used with the action_on_dml_error property of a ReplicateSchemaChange.
ACTION_ON_DML_ERROR_TERMINATE A constant which can be used with the action_on_dml_error property of a ReplicateSchemaChange.
CAN_REPLICATE_SCHEMA_CHANGE_DISABLED A constant which can be used with the can_replicate_schema_change property of a ReplicateSchemaChange.
CAN_REPLICATE_SCHEMA_CHANGE_ENABLED A constant which can be used with the can_replicate_schema_change property of a ReplicateSchemaChange.
action_on_ddl_error Gets the action_on_ddl_error of this ReplicateSchemaChange.
action_on_dml_error Gets the action_on_dml_error of this ReplicateSchemaChange.
can_replicate_schema_change [Required] Gets the can_replicate_schema_change of this ReplicateSchemaChange.

Methods

__init__(**kwargs) Initializes a new ReplicateSchemaChange object with values from keyword arguments.
ACTION_ON_DDL_ERROR_DISCARD = 'DISCARD'

A constant which can be used with the action_on_ddl_error property of a ReplicateSchemaChange. This constant has a value of “DISCARD”

ACTION_ON_DDL_ERROR_IGNORE = 'IGNORE'

A constant which can be used with the action_on_ddl_error property of a ReplicateSchemaChange. This constant has a value of “IGNORE”

ACTION_ON_DDL_ERROR_TERMINATE = 'TERMINATE'

A constant which can be used with the action_on_ddl_error property of a ReplicateSchemaChange. This constant has a value of “TERMINATE”

ACTION_ON_DML_ERROR_DISCARD = 'DISCARD'

A constant which can be used with the action_on_dml_error property of a ReplicateSchemaChange. This constant has a value of “DISCARD”

ACTION_ON_DML_ERROR_IGNORE = 'IGNORE'

A constant which can be used with the action_on_dml_error property of a ReplicateSchemaChange. This constant has a value of “IGNORE”

ACTION_ON_DML_ERROR_TERMINATE = 'TERMINATE'

A constant which can be used with the action_on_dml_error property of a ReplicateSchemaChange. This constant has a value of “TERMINATE”

CAN_REPLICATE_SCHEMA_CHANGE_DISABLED = 'DISABLED'

A constant which can be used with the can_replicate_schema_change property of a ReplicateSchemaChange. This constant has a value of “DISABLED”

CAN_REPLICATE_SCHEMA_CHANGE_ENABLED = 'ENABLED'

A constant which can be used with the can_replicate_schema_change property of a ReplicateSchemaChange. This constant has a value of “ENABLED”

__init__(**kwargs)

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

Parameters:
  • can_replicate_schema_change (str) – The value to assign to the can_replicate_schema_change property of this ReplicateSchemaChange. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • action_on_ddl_error (str) – The value to assign to the action_on_ddl_error property of this ReplicateSchemaChange. Allowed values for this property are: “TERMINATE”, “DISCARD”, “IGNORE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • action_on_dml_error (str) – The value to assign to the action_on_dml_error property of this ReplicateSchemaChange. Allowed values for this property are: “TERMINATE”, “DISCARD”, “IGNORE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
action_on_ddl_error

Gets the action_on_ddl_error of this ReplicateSchemaChange. Action upon DDL Error (active only if ‘Replicate schema changes (DDL)’ is selected) i.e canReplicateSchemaChange=true

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

Returns:The action_on_ddl_error of this ReplicateSchemaChange.
Return type:str
action_on_dml_error

Gets the action_on_dml_error of this ReplicateSchemaChange. Action upon DML Error (active only if ‘Replicate schema changes (DDL)’ is selected) i.e canReplicateSchemaChange=true

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

Returns:The action_on_dml_error of this ReplicateSchemaChange.
Return type:str
can_replicate_schema_change

[Required] Gets the can_replicate_schema_change of this ReplicateSchemaChange. If ENABLED, then addition or removal of schema is also replicated, apart from individual tables and records when creating or updating the pipeline.

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

Returns:The can_replicate_schema_change of this ReplicateSchemaChange.
Return type:str