API Reference¶
condor-program main part are the parsers that convert the different kinds
of database documents into manageable dictionaries that only contain the
interest metadata fields. Those are implemented in the record
module.
The record API¶
The main class of the record API is the RecordParser
class, which outlines an api that parses data out of a raw string, or raw data
structure into a dictionary with the desired interest fields, details about how
to extract that information will go into the
RecordParser
child classes.
Furthermore, the RecordParser
is complemented by the
RecordIterator
class, that outlines an interface to
iterate over a file containing several records and returning (yielding) all the
records in a memory efficient fashion.
The utility module¶
The scripts package¶
Database manipulation¶
Script entry points¶
The entry points are organized in modules, this leads to some code duplication
but it can be reduced in the future. The populate script, which yields the
condorpopulate command is located in the populate
module, and contains the information descripted bellow.
The model script, which yields the condormodel command is located in the
model
module, and contains the information descripted
bellow.
The query script, which yields the condorquery command is located in the
query
module, and contains the information descripted
bellow.