Column¶
- class lsst.dax.apdb.schema_model.Column(name: str, id: str, datatype: ~felis.datamodel.DataType | ~lsst.dax.apdb.schema_model.ExtraDataTypes, length: int | None = None, nullable: bool = True, value: ~typing.Any = None, autoincrement: bool | None = None, description: str | None = None, annotations: ~collections.abc.Mapping[str, ~typing.Any] = <factory>, table: ~lsst.dax.apdb.schema_model.Table | None = None)¶
- Bases: - object- Column representation in schema. - Attributes Summary - Unspecified value results in - None.- Column description. - Optional length for string/binary columns - True for nullable columns. - Table which defines this column, usually not - None.- Default value for column, can be - None.- Methods Summary - clone()- Make a clone of self. - from_felis(dm_column)- Convert Felis column definition into instance of this class. - size()- Return size in bytes of this column. - Attributes Documentation - Methods Documentation