ApdbTableData

class lsst.dax.apdb.ApdbTableData

Bases: abc.ABC

Abstract class for representing table data.

Methods Summary

column_names() Return ordered sequence of column names in the table.
rows() Return table rows, each row is a tuple of values.

Methods Documentation

column_names() → list

Return ordered sequence of column names in the table.

Returns:
names : list [str]

Column names.

rows() → collections.abc.Iterable[tuple]

Return table rows, each row is a tuple of values.

Returns:
rows : iterable [tuple]

Iterable of tuples.