InitialDataLoad¶
-
class
oci.golden_gate.models.InitialDataLoad(**kwargs)¶ Bases:
objectOptions required for the pipeline Initial Data Load. If enabled, copies existing data from source to target before replication.
Attributes
ACTION_ON_EXISTING_TABLE_APPENDA constant which can be used with the action_on_existing_table property of a InitialDataLoad. ACTION_ON_EXISTING_TABLE_REPLACEA constant which can be used with the action_on_existing_table property of a InitialDataLoad. ACTION_ON_EXISTING_TABLE_SKIPA constant which can be used with the action_on_existing_table property of a InitialDataLoad. ACTION_ON_EXISTING_TABLE_TRUNCATEA constant which can be used with the action_on_existing_table property of a InitialDataLoad. IS_INITIAL_LOAD_DISABLEDA constant which can be used with the is_initial_load property of a InitialDataLoad. IS_INITIAL_LOAD_ENABLEDA constant which can be used with the is_initial_load property of a InitialDataLoad. action_on_existing_tableGets the action_on_existing_table of this InitialDataLoad. is_initial_load[Required] Gets the is_initial_load 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”
-
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’.
-
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
-
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
-