InitialDataLoad

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

Bases: object

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

Attributes

ACTION_ON_EXISTING_TABLE_APPEND A constant which can be used with the action_on_existing_table property of a InitialDataLoad.
ACTION_ON_EXISTING_TABLE_REPLACE A constant which can be used with the action_on_existing_table property of a InitialDataLoad.
ACTION_ON_EXISTING_TABLE_SKIP A constant which can be used with the action_on_existing_table property of a InitialDataLoad.
ACTION_ON_EXISTING_TABLE_TRUNCATE A constant which can be used with the action_on_existing_table property of a InitialDataLoad.
INITIAL_LOAD_TYPE_DB_LINK A constant which can be used with the initial_load_type property of a InitialDataLoad.
INITIAL_LOAD_TYPE_OBJECT_STORAGE A constant which can be used with the initial_load_type property of a InitialDataLoad.
IS_INITIAL_LOAD_DISABLED A constant which can be used with the is_initial_load property of a InitialDataLoad.
IS_INITIAL_LOAD_ENABLED A constant which can be used with the is_initial_load property of a InitialDataLoad.
action_on_existing_table Gets the action_on_existing_table of this InitialDataLoad.
adb_wallet_path Gets the adb_wallet_path of this InitialDataLoad.
bucket_name Gets the bucket_name of this InitialDataLoad.
initial_load_type Gets the initial_load_type of this InitialDataLoad.
is_initial_load [Required] Gets the is_initial_load of this InitialDataLoad.
namespace_name Gets the namespace_name of this InitialDataLoad.
source_wallet_path Gets the source_wallet_path of this InitialDataLoad.
target_wallet_path Gets the target_wallet_path of this InitialDataLoad.

Methods

__init__(**kwargs) Initializes a new InitialDataLoad object with values from keyword arguments.
ACTION_ON_EXISTING_TABLE_APPEND = 'APPEND'

A constant which can be used with the action_on_existing_table property of a InitialDataLoad. This constant has a value of “APPEND”

ACTION_ON_EXISTING_TABLE_REPLACE = 'REPLACE'

A constant which can be used with the action_on_existing_table property of a InitialDataLoad. This constant has a value of “REPLACE”

ACTION_ON_EXISTING_TABLE_SKIP = 'SKIP'

A constant which can be used with the action_on_existing_table property of a InitialDataLoad. This constant has a value of “SKIP”

ACTION_ON_EXISTING_TABLE_TRUNCATE = 'TRUNCATE'

A constant which can be used with the action_on_existing_table property of a InitialDataLoad. This constant has a value of “TRUNCATE”

A constant which can be used with the initial_load_type property of a InitialDataLoad. This constant has a value of “DB_LINK”

INITIAL_LOAD_TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'

A constant which can be used with the initial_load_type property of a InitialDataLoad. This constant has a value of “OBJECT_STORAGE”

IS_INITIAL_LOAD_DISABLED = 'DISABLED'

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

IS_INITIAL_LOAD_ENABLED = 'ENABLED'

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

__init__(**kwargs)

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

Parameters:
  • is_initial_load (str) – The value to assign to the is_initial_load property of this InitialDataLoad. 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_existing_table (str) – The value to assign to the action_on_existing_table property of this InitialDataLoad. Allowed values for this property are: “TRUNCATE”, “REPLACE”, “APPEND”, “SKIP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • initial_load_type (str) – The value to assign to the initial_load_type property of this InitialDataLoad. Allowed values for this property are: “DB_LINK”, “OBJECT_STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • adb_wallet_path (str) – The value to assign to the adb_wallet_path property of this InitialDataLoad.
  • source_wallet_path (str) – The value to assign to the source_wallet_path property of this InitialDataLoad.
  • target_wallet_path (str) – The value to assign to the target_wallet_path property of this InitialDataLoad.
  • namespace_name (str) – The value to assign to the namespace_name property of this InitialDataLoad.
  • bucket_name (str) – The value to assign to the bucket_name property of this InitialDataLoad.
action_on_existing_table

Gets the action_on_existing_table of this InitialDataLoad. Action upon existing tables in target when initial Data Load is set i.e., isInitialLoad=true.

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

Returns:The action_on_existing_table of this InitialDataLoad.
Return type:str
adb_wallet_path

Gets the adb_wallet_path of this InitialDataLoad. Directory path of ADB wallet locally available in Non-ADB target DB. Required for ADB to non-ADB DBLink type initial load only. If not provided the default wallet path “/u01/targetwallet” will be used.

Returns:The adb_wallet_path of this InitialDataLoad.
Return type:str
bucket_name

Gets the bucket_name of this InitialDataLoad. Name of the ObjectStorage bucket. Required only for Objectstorage Initial load.

Returns:The bucket_name of this InitialDataLoad.
Return type:str
initial_load_type

Gets the initial_load_type of this InitialDataLoad. Type of Initial load, which can be objectStorage or dbLink.

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

Returns:The initial_load_type of this InitialDataLoad.
Return type:str
is_initial_load

[Required] Gets the is_initial_load of this InitialDataLoad. If ENABLED, then existing source data is also synchronized to the target 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 is_initial_load of this InitialDataLoad.
Return type:str
namespace_name

Gets the namespace_name of this InitialDataLoad. Namespace that serves as a container of the ObjectStorage bucket. Required only for Objectstorage Initial load.

Returns:The namespace_name of this InitialDataLoad.
Return type:str
source_wallet_path

Gets the source_wallet_path of this InitialDataLoad. Directory path of ObjectStorage wallet locally available in Non-ADB source DB. Required for Object Storage type initial load only if source DB is Non-ADB type.

Returns:The source_wallet_path of this InitialDataLoad.
Return type:str
target_wallet_path

Gets the target_wallet_path of this InitialDataLoad. Directory path of ObjectStorage wallet locally available in Non-ADB target DB. Required for Object Storage type initial load only if target DB is Non-ADB type.

Returns:The target_wallet_path of this InitialDataLoad.
Return type:str