LSST Applications g00274db5b6+edbf708997,g00d0e8bbd7+edbf708997,g199a45376c+5137f08352,g1fd858c14a+1d4b6db739,g262e1987ae+f4d9505c4f,g29ae962dfc+7156fb1a53,g2cef7863aa+73c82f25e4,g35bb328faa+edbf708997,g3e17d7035e+5b3adc59f5,g3fd5ace14f+852fa6fbcb,g47891489e3+6dc8069a4c,g53246c7159+edbf708997,g64539dfbff+9f17e571f4,g67b6fd64d1+6dc8069a4c,g74acd417e5+ae494d68d9,g786e29fd12+af89c03590,g7ae74a0b1c+a25e60b391,g7aefaa3e3d+536efcc10a,g7cc15d900a+d121454f8d,g87389fa792+a4172ec7da,g89139ef638+6dc8069a4c,g8d7436a09f+28c28d8d6d,g8ea07a8fe4+db21c37724,g92c671f44c+9f17e571f4,g98df359435+b2e6376b13,g99af87f6a8+b0f4ad7b8d,gac66b60396+966efe6077,gb88ae4c679+7dec8f19df,gbaa8f7a6c5+38b34f4976,gbf99507273+edbf708997,gc24b5d6ed1+9f17e571f4,gca7fc764a6+6dc8069a4c,gcc769fe2a4+97d0256649,gd7ef33dd92+6dc8069a4c,gdab6d2f7ff+ae494d68d9,gdbb4c4dda9+9f17e571f4,ge410e46f29+6dc8069a4c,geaed405ab2+e194be0d2b,w.2025.47
LSST Data Management Base Package
Loading...
Searching...
No Matches
lsst.dax.apdb.apdbSchema.ApdbTables Class Reference
Inheritance diagram for lsst.dax.apdb.apdbSchema.ApdbTables:

Public Member Functions

str table_name (self, str prefix="", int|None time_partition=None)
 

Static Public Attributes

str DiaObject = "DiaObject"
 
str DiaSource = "DiaSource"
 
str DiaForcedSource = "DiaForcedSource"
 
str DiaObjectLast = "DiaObjectLast"
 
str SSObject = "SSObject"
 
str SSSource = "SSSource"
 
str DiaObject_To_Object_Match = "DiaObject_To_Object_Match"
 
str metadata = "metadata"
 

Detailed Description

Names of the tables in APDB schema.

Definition at line 68 of file apdbSchema.py.

Member Function Documentation

◆ table_name()

str lsst.dax.apdb.apdbSchema.ApdbTables.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, should only be used for tables that
    support time partitioning.

Definition at line 98 of file apdbSchema.py.

98 def table_name(self, prefix: str = "", time_partition: int | None = None) -> str:
99 """Return full table name.
100
101 Parameters
102 ----------
103 prefix : `str`, optional
104 Optional prefix for table name.
105 time_partition : `int`, optional
106 Optional time partition, should only be used for tables that
107 support time partitioning.
108 """
109 name = f"{prefix}{self.value}"
110 if time_partition is not None:
111 name = f"{name}_{time_partition}"
112 return name
113
114

Member Data Documentation

◆ DiaForcedSource

str lsst.dax.apdb.apdbSchema.ApdbTables.DiaForcedSource = "DiaForcedSource"
static

Definition at line 77 of file apdbSchema.py.

◆ DiaObject

str lsst.dax.apdb.apdbSchema.ApdbTables.DiaObject = "DiaObject"
static

Definition at line 71 of file apdbSchema.py.

◆ DiaObject_To_Object_Match

str lsst.dax.apdb.apdbSchema.ApdbTables.DiaObject_To_Object_Match = "DiaObject_To_Object_Match"
static

Definition at line 92 of file apdbSchema.py.

◆ DiaObjectLast

str lsst.dax.apdb.apdbSchema.ApdbTables.DiaObjectLast = "DiaObjectLast"
static

Definition at line 80 of file apdbSchema.py.

◆ DiaSource

str lsst.dax.apdb.apdbSchema.ApdbTables.DiaSource = "DiaSource"
static

Definition at line 74 of file apdbSchema.py.

◆ metadata

str lsst.dax.apdb.apdbSchema.ApdbTables.metadata = "metadata"
static

Definition at line 95 of file apdbSchema.py.

◆ SSObject

str lsst.dax.apdb.apdbSchema.ApdbTables.SSObject = "SSObject"
static

Definition at line 86 of file apdbSchema.py.

◆ SSSource

str lsst.dax.apdb.apdbSchema.ApdbTables.SSSource = "SSSource"
static

Definition at line 89 of file apdbSchema.py.


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