Home | Trees | Indices | Help |
|
---|
|
Making data out of descriptors and sources.
Classes | |
Data A collection of tables. |
|
DDDependencyGraph a graph giving the dependency structure between DDs. |
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
__package__ =
|
Function Details |
ingests source into the Data instance data. If this builds database tables, you must pass in a connection object. If opts.keepGoing is True,the system will continue importing even if a particular source has caused an error. In that case, everything contributed by the bad source is rolled back (this will only work when filling database tables). |
returns a data instance built from ``dd``. It will arrange for the parsing of all tables generated from dd's grammar. If database tables are being made, you *must* pass in a connection. The entire operation will then run within a single transaction within this connection (except for building dependents; they will be built in separate transactions). The connection will be rolled back or committed depending on the success of the operation (unless you pass ``runCommit=False``, in which case even a successful import will not be committed).. You can pass in a data instance created by yourself in data. This makes sense if you want to, e.g., add some meta information up front. |
returns a Data instance containing only table (or table if it's already a data instance). If table has no rd, you must pass rdSource, which must be an object having and rd attribute (rds, tabledefs, etc, work). This will grab info meta from the table. |
returns a Data instance containing all of tablesForRoles. A DD is being generated based on baseDD; if baseDD has any tables, they are discarded. tablesForRoles is a mapping from strings (one of which should be "primary") to tables; the strings end up as roles. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |