delta_timestamp_loader
            DeltaTimestampConfig
¶
    
              Bases: BaseModel
This class holds the config for the DeltaTimestampLoader.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| timestamp_filter_cols | A list of columns used for timestamp filtering. | required | |
| from_timestamp | The starting timestamp. If None, it starts from the beginning. | required | |
| to_timestamp | The ending timestamp. If None, it goes up to the latest timestamp. | required | |
| filter_method | The method used for filtering when multiple timestamp columns are used. Allowed values are '||', '&&', 'OR', 'AND'. Defaults to None. | required | 
Source code in src/cloe_nessy/integration/delta_loader/strategies/delta_timestamp_loader.py
                
            check_filter_method()
¶
    Validates that a filter method is set, when more than one timestamp col is used.
Source code in src/cloe_nessy/integration/delta_loader/strategies/delta_timestamp_loader.py
              
            parse_datetime(value)
  
      classmethod
  
¶
    Parses datetime input.
If a string is parsed, it is expected to be in ISO 8601 format.
Source code in src/cloe_nessy/integration/delta_loader/strategies/delta_timestamp_loader.py
              
            parse_filter_method(value)
  
      classmethod
  
¶
    Parses and validates filter_method input.
Source code in src/cloe_nessy/integration/delta_loader/strategies/delta_timestamp_loader.py
              
            DeltaTimestampLoader
¶
    
              Bases: DeltaLoader
Implementation of the DeltaLoader interface using timestamp strategy.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| config | DeltaTimestampConfig | Configuration for the DeltaTimestampLoader. | required | 
| table_identifier | str | Identifier for the table to be loaded. | required | 
| delta_load_identifier | str | Identifier for the delta load. | required | 
| metadata_table_identifier | str | None | Identifier for the metadata table. Defaults to None. | None | 
Source code in src/cloe_nessy/integration/delta_loader/strategies/delta_timestamp_loader.py
                | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |  | 
            _get_last_timestamp()
¶
    Retrieves last read timestamp for delta load.
Source code in src/cloe_nessy/integration/delta_loader/strategies/delta_timestamp_loader.py
              
            read_data(options=None)
¶
    Reads data using the Timestamp strategy.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| options | dict[str, str] | None | Additional DataFrameReader options. | None | 
Source code in src/cloe_nessy/integration/delta_loader/strategies/delta_timestamp_loader.py
              
            verify()
¶
    Verify that the source table has the Change Data Feed enabled.