lsst.dax.apdb¶
Contributing¶
lsst.dax.apdb is developed at https://github.com/lsst/dax_apdb.
You can find Jira issues for this module under the dax_apdb component.
Script reference¶
This package provides a command line utility that can be used for some management operations.
The name of the CLI script is apdb-cli and it has a number of subcommands:
create-sqlis used to create new APDB instances based on SQL relational database technology.
create-cassandrais used to create new APDB instances based on Cassandra storage technology.
list-cassandracommand lists the names of APDB keyspaces and associated accounts for a specified Cassandra cluster.
delete-cassandradrops an existing APDB instance from a Cassandra cluster.
list-indexdumps the contents of the APDB index file.
metadataprovides support for operations on APDB metadata table.
Each sub-command provides command line help describing its arguments.
Python API reference¶
lsst.dax.apdb Package¶
Classes¶
| 
 | Abstract interface for APDB. | 
| 
 | Implementation of APDB database with Apache Cassandra backend. | 
| 
 | Configuration class for Cassandra-based APDB implementation. | 
| 
 | Base class for APDB configuration types. | 
| Interface for accessing APDB metadata. | |
| Abstract interface for APDB replication methods. | |
| 
 | Implementation of APDB interface based on SQL database. | 
| 
 | APDB configuration class for SQL implementation (ApdbSql). | 
| Abstract class for representing table data. | |
| 
 | Names of the tables in APDB schema. | 
| Exception raised when version numbers are not compatible. | |
| 
 | Class used for identification of replication chunks. | 
| 
 | Class representing a version number. | 
lsst.dax.apdb.schema_model Module¶
Classes¶
| 
 | Description of check constraint. | 
| 
 | Column representation in schema. | 
| 
 | Constraint description, this is a base class, actual constraints will be instances of one of the subclasses. | 
| 
 | Additional column data types that we need in dax_apdb. | 
| 
 | Description of foreign key constraint. | 
| 
 | Index representation. | 
| 
 | Complete schema description, collection of tables. | 
| 
 | Description of a single table schema. | 
| 
 | Description of unique constraint. |