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

Class MjdStackUpdater

source code


Updates values of mjd in OB stacks

Nested Classes [hide private]
    Nested Errors and Exceptions

Inherited from wsatools.DbConnect.CuSession.CuSession: CuError

Instance Methods [hide private]
int
calcNParts(self)
Returns: Number of parts to split the table update into.
source code
 
updateTable(self, table)
Updates database with the values of aProf1 from the files.
source code

Inherited from DetectionUpdater: 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]

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]

calcNParts(self)

source code 
Returns: int
Number of parts to split the table update into.
Overrides: DetectionUpdater.calcNParts

updateTable(self, table)

source code 

Updates database with the values of aProf1 from the files.

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