| | |
- siirto.base.Base(builtins.object)
-
- FullLoadBase
class FullLoadBase(siirto.base.Base) |
| |
Full load base plugin.
All full load plugins will be derived from this plugin
To derive this class, you are expected to override the constructor as well
as the 'execute' method.
This runs a single instance for a single table.
:param output_folder_location: location to write the Copy command data
:type output_folder_location: str
:param connection_string: postgres connection string
:type connection: str
:param table_name: table name to be copied
:type table_name: str
:param notify_on_completion: callback on completion of full load process
:type notify_on_completion: Callable[[Any], None] |
| |
- Method resolution order:
- FullLoadBase
- siirto.base.Base
- builtins.object
Methods defined here:
- __init__(self, output_folder_location:str=None, connection_string:str=None, table_name:str=None, notify_on_completion:Callable[[str, str, str], NoneType]=None, *args, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- execute(self)
- This is the main method to derive when implementing an operator.
- setup_graceful_shutdown(self)
- Handles graceful shutdown in case of failures
Class methods defined here:
- get_object(plugin_name:str) from builtins.type
- Factory.
Get the full load plugin object having name `plugin_name`
:param plugin_name: plugin name
:return: full load plug_in
- load_derived_classes() from builtins.type
- load the derived full load plugin classes available in the current directory and
ending with _plugin.py
Data and other attributes defined here:
- plugin_name = None
- plugin_type = <PlugInType.Full_Load: 1>
Data descriptors inherited from siirto.base.Base:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |