lsst.dax.apdb g9290983e33+165d8ad773
Loading...
Searching...
No Matches
lsst.dax.apdb.schema_model.Column Class Reference

Public Member Functions

Column from_felis (cls, felis.datamodel.Column dm_column)
Column clone (self)
int size (self)

Static Public Attributes

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

Detailed Description

Column representation in schema.

Member Function Documentation

◆ clone()

Column lsst.dax.apdb.schema_model.Column.clone ( self)
Make a clone of 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