|
def | __init__ (self, location) |
|
def | __del__ (self) |
|
def | lookup (self, args, kwargs) |
|
def | __init__ (self, conn) |
|
def | lookup (self, lookupProperties, reference, dataId, kwargs) |
|
def | executeQuery (self, returnFields, joinClause, whereFields, range, values) |
|
def | __init__ (self) |
|
A PostgreSQL-based registry
Definition at line 418 of file registries.py.
◆ __init__()
def lsst.daf.persistence.registries.PgsqlRegistry.__init__ |
( |
|
self, |
|
|
|
location |
|
) |
| |
Constructor
Parameters
----------
location : `str`
Path to PostgreSQL configuration file.
Definition at line 422 of file registries.py.
◆ __del__()
def lsst.daf.persistence.registries.PgsqlRegistry.__del__ |
( |
|
self | ) |
|
◆ lookup()
def lsst.daf.persistence.registries.PgsqlRegistry.lookup |
( |
|
self, |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
◆ readYaml()
def lsst.daf.persistence.registries.PgsqlRegistry.readYaml |
( |
|
location | ) |
|
|
static |
Read YAML configuration file
The YAML configuration file should contain:
* host : host name for database connection
* port : port for database connection
* user : user name for database connection
* database : database name
It may also contain:
* password : password for database connection
The optional entries are set to `None` in the output configuration.
Parameters
----------
location : `str`
Path to PostgreSQL YAML config file.
Returns
-------
config : `dict`
Configuration
Definition at line 443 of file registries.py.
◆ placeHolder
string lsst.daf.persistence.registries.PgsqlRegistry.placeHolder = "%s" |
|
static |
The documentation for this class was generated from the following file: