Package helpers :: Module UpdateDetectionTables :: Class DetectionCopier
[hide private]

Class DetectionCopier

source code


Copies detection table data from a source database.

Nested Classes [hide private]
    Nested Errors and Exceptions

Inherited from wsatools.DbConnect.CuSession.CuSession: CuError

Instance Methods [hide private]
 
updateTable(self, table)
Copies detections from given table in source database.
source code

Inherited from DetectionUpdater: calcNParts, setUpParameters

Inherited from DetectionUpdater (private): _onException, _onRun, _parseSchemas

Inherited from wsatools.DbConnect.CuSession.CuSession: __del__, __init__, logBrokenFile, run

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from wsatools.DbConnect.CuSession.CuSession: logException

Class Variables [hide private]
  copyAll = True
If False, then only copies detections where multiframes exist in the destination database.
  srcDb = None
A DbSession to the source database.

Inherited from DetectionUpdater: comment, firstProg, lastProg, tableSet

Inherited from DetectionUpdater (private): _autoCommit, _isPersistent

Inherited from wsatools.DbConnect.CuSession.CuSession: archive, cuEventID, cuNum, curator, eTypes, isDayStampedLog, onlyNonSurveys, onlySurveys, programme, programmeID, resultsFilePathName, shareFileID, sysc

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

updateTable(self, table)

source code 

Copies detections from given table in source database.

Parameters:
  • table (schema.Table) - Schema for detection table to update.
Overrides: DetectionUpdater.updateTable

Class Variable Details [hide private]

copyAll

If False, then only copies detections where multiframes exist in the destination database. Otherwise all detections are copied regardless.

Value:
True