DatabaseDimensionElement¶
- class lsst.daf.butler.DatabaseDimensionElement(name: str, *, implied: NamedValueAbstractSet[Dimension], metadata_columns: NamedValueAbstractSet[IntColumnSpec | StringColumnSpec | FloatColumnSpec | HashColumnSpec | BoolColumnSpec], is_cached: bool, doc: str)¶
Bases:
DimensionElementAn intermediate base class for
DimensionElementdatabase classes.Instances of these element classes map directly to a database table or query.
- Parameters:
- name
str Name of the dimension.
- implied
NamedValueAbstractSet[Dimension] Other dimensions whose keys are included in this dimension’s (logical) table as foreign keys.
- metadata_columns
NamedValueAbstractSet[MetadataColumnSpec] Field specifications for all non-key fields in this dimension’s table.
- is_cached
bool Whether this element’s records should be persistently cached in the client.
- doc
str Extended description of this element.
- name
Attributes Summary
Extended description of this dimension element.
Return the implied dimensions.
Whether this element's records should be aggressively cached, because they are small in number and rarely inserted.
Additional metadata fields included in this element's table.
Return unique string identifier for this endpoint (
str).Return this endpoint's
SPATIALfamily.Return this endpoint's
TEMPORALfamily.Return the relationship families to which this endpoint belongs.
Attributes Documentation
- documentation¶
- implied¶
- is_cached¶
- metadata_columns¶
- name¶
- spatial¶
- temporal¶
- topology¶