siirto.plugins.full_load.pg_default_full_load_plugin
index
/mnt/d/github/siirto/siirto/plugins/full_load/pg_default_full_load_plugin.py

 
Modules
       
os
psycopg2
shutil
signal

 
Classes
       
siirto.plugins.full_load.full_load_base.FullLoadBase(siirto.base.Base)
PgDefaultFullLoadPlugin

 
class PgDefaultFullLoadPlugin(siirto.plugins.full_load.full_load_base.FullLoadBase)
    Postgres full load default plugin.
 
:param split_file_size_limit: number of lines after which a
    new file will be created. Default is `1000000` lines.
:type split_file_size_limit: int
 
 
Method resolution order:
PgDefaultFullLoadPlugin
siirto.plugins.full_load.full_load_base.FullLoadBase
siirto.base.Base
builtins.object

Methods defined here:
__init__(self, split_file_size_limit:int=1000000, *args, **kwargs) -> None
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) -> None
Handles the graceful shutdown of the process.
Cleans the slot from pg, if already created
:return:

Static methods defined here:
file_len(file_name)

Data and other attributes defined here:
plugin_name = 'PgDefaultFullLoadPlugin'
plugin_parameters = {'split_file_size_limit': {'type': <class 'int'>}}
plugin_type = <PlugInType.Full_Load: 1>

Class methods inherited from siirto.plugins.full_load.full_load_base.FullLoadBase:
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 descriptors inherited from siirto.base.Base:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)