Package CHEM :: Package DB :: Module BaseDBPopulator
[hide private]
[frames] | no frames]

Module BaseDBPopulator



Base classes and standard processor objects for database population scripts

Classes [hide private]
  BaseDBPopulator
Base class to take some kind of input data (probably a file), iterate through it's contents and process it accordingly, possibly calculating and formatting different values and then submitting them for output (probably a database).
  BaseIteratorPreparer
Base class for all object iterator preparers.
  BaseProcessor
Base class for all object processors.
  SimpleProcessor
Very simple processor.
  FileStatsProcessor
Calculate some statistics for the inputFile and record those in the source file object that passes through this processor.
  RecordUpdate
Record the current time in the object's specified date field.
  ParentCopyProcessor
Copy one of the parent's value fields into the current object.
  AnnotatorProcessor
Simple processor which defers work to one of the Annotator objects from the Annotation package.
  IncrementParentIndex
Increment the (first) parent object's index attribute
  IncrementParentNewCountIfNew
If the current object's "isNew" attribute is set, then increment the (first) parent object's newCount attribute
  ParentIDProcessor
Current object is a child of one or more parent objects.
  RowInserter
Assume the objects data to insert has all been set, including any parent foreign key IDs.
  IndexProcessor
Record the current object's index attribute into one of the data fields, named by the specified index column.