|
|
int | length = None |
| |
|
bool | nullable = True |
| |
|
Any | value = None |
| |
|
bool | autoincrement = None |
| |
|
str | description = None |
| |
|
Mapping | annotations = dataclasses.field(default_factory=dict) |
| |
|
Table | table = None |
| |
Column representation in schema.
◆ clone()
| Column lsst.dax.apdb.schema_model.Column.clone |
( |
| self | ) |
|
◆ from_felis()
| Column lsst.dax.apdb.schema_model.Column.from_felis |
( |
| cls, |
|
|
felis.datamodel.Column | dm_column ) |
Convert Felis column definition into instance of this class.
Parameters
----------
dm_column : `felis.datamodel.Column`
Felis column definition.
Returns
-------
column : `Column`
Converted column definition.
◆ size()
| int lsst.dax.apdb.schema_model.Column.size |
( |
| self | ) |
|
Return size in bytes of this column.
Returns
-------
size : `int`
Size in bytes for this column, typically represents in-memory size
of the corresponding data type. May or may not be the same as
storage size or wire-level protocol size.
The documentation for this class was generated from the following file:
- python/lsst/dax/apdb/schema_model.py