lsst.dax.apdb gbebdf9febd+5cb2473566
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lsst.dax.apdb.apdb.ApdbTableData Class Reference
Inheritance diagram for lsst.dax.apdb.apdb.ApdbTableData:
lsst.dax.apdb.apdbSql.ApdbSqlTableData lsst.dax.apdb.cassandra_utils.ApdbCassandraTableData

Public Member Functions

list[str] column_names (self)
 
Iterable[tuple] rows (self)
 

Detailed Description

Abstract class for representing table data.

Member Function Documentation

◆ column_names()

list[str] lsst.dax.apdb.apdb.ApdbTableData.column_names (   self)
Return ordered sequence of column names in the table.

Returns
-------
names : `list` [`str`]
    Column names.

Reimplemented in lsst.dax.apdb.apdbSql.ApdbSqlTableData, and lsst.dax.apdb.cassandra_utils.ApdbCassandraTableData.

◆ rows()

Iterable[tuple] lsst.dax.apdb.apdb.ApdbTableData.rows (   self)
Return table rows, each row is a tuple of values.

Returns
-------
rows : `iterable` [`tuple`]
    Iterable of tuples.

Reimplemented in lsst.dax.apdb.apdbSql.ApdbSqlTableData, and lsst.dax.apdb.cassandra_utils.ApdbCassandraTableData.


The documentation for this class was generated from the following file: