Construct GeoModel description from SQLite
First implementation of the mechanism for building GeoModel description from SQLite.
Not yet used by any Athena job. The changes so far restricted to two packages:
GeoModelSvc
and RDBAccessSvc
. To be followed by subsystem-specific code implementations.
Two new methods in the IGeoModelSvc
interface:
-
getParamSvcName()
returns the name of the Service which implements theIRDBAccessSvc
interface and which is used in the current job. This method allows us to avoid hardwiring the name of theIRDBAccessSvc
retrieved by the clients. -
buildFromSQLite()
to be used byGeoModel
tools to determine whether or not the geometry is being constructed from the SQLite file, and act accordingly.
Changes in the GeoModelSvc
:
- Introduced new property
SQLiteDB
which allows us to pass the path to the SQLite database file. If the property is set, then the geometry is built from that SQLite file. Otherwise the geometry is built from the Geometry Database tags. - Added a first implementation of the mechanism of building GeoModel description from the SQLite database. This mechanism is not yet complete, but it can already be used for testing purposes.
Also fixed SqliteRecord::dump()
so that it properly handles NULL values in table records.