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-sql
is used to create new APDB instances based on SQL relational database technology.
create-cassandra
is used to create new APDB instances based on Cassandra storage technology.
list-index
dumps the contents of the APDB index file.
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 on to of Apache Cassandra. |
|
Configuration class for Cassandra-based APDB implementation. |
|
Part of Apdb configuration common to all implementations. |
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. |