lsst.dax.apdb g9290983e33+ffdc83c6f7
 
Loading...
Searching...
No Matches
lsst.dax.apdb.cassandra.apdbCassandraSchema.ExtraTables Class Reference
Inheritance diagram for lsst.dax.apdb.cassandra.apdbCassandraSchema.ExtraTables:

Public Member Functions

str table_name (self, str prefix="", int|None time_partition=None)
 
Mapping[ApdbTables, ExtraTablesreplica_chunk_tables (cls, bool has_subchunks)
 

Static Public Attributes

str ApdbReplicaChunks = "ApdbReplicaChunks"
 
str DiaObjectChunks = "DiaObjectChunks"
 
str DiaSourceChunks = "DiaSourceChunks"
 
str DiaForcedSourceChunks = "DiaForcedSourceChunks"
 
str DiaObjectChunks2 = "DiaObjectChunks2"
 
str DiaSourceChunks2 = "DiaSourceChunks2"
 
str DiaForcedSourceChunks2 = "DiaForcedSourceChunks2"
 
str ApdbUpdateRecordChunks = "ApdbUpdateRecordChunks"
 
str DiaSourceToPartition = "DiaSourceToPartition"
 
str DiaObjectLastToPartition = "DiaObjectLastToPartition"
 
str ApdbVisitDetector = "ApdbVisitDetector"
 

Detailed Description

Names of the extra tables used by Cassandra implementation.

Chunk tables exist in two versions now to support both old and new schema.
Eventually we will drop support for old tables.

Member Function Documentation

◆ replica_chunk_tables()

Mapping[ApdbTables, ExtraTables] lsst.dax.apdb.cassandra.apdbCassandraSchema.ExtraTables.replica_chunk_tables ( cls,
bool has_subchunks )
Return mapping of APDB tables to corresponding replica chunks
tables.

◆ table_name()

str lsst.dax.apdb.cassandra.apdbCassandraSchema.ExtraTables.table_name ( self,
str prefix = "",
int | None time_partition = None )
Return full table name.

Parameters
----------
prefix : `str`, optional
    Optional prefix for table name.
time_partition : `int`, optional
    Optional time partition, only used for tables that support time
    patitioning.

The documentation for this class was generated from the following file: