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

Class AProf1Fixer

source code


Updates the AProf1 column in the detection table.

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
 
setUpParameters(self, part, nParts)
Prepares data for table update.
source code
 
updateTable(self, table)
Updates database with the values of aProf1 from the files.
source code

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

setUpParameters(self, part, nParts)

source code 

Prepares data for table update.

Overrides: DetectionUpdater.setUpParameters

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