lsst.dax.apdb gb469cb74ca+da2db42413
|
Public Member Functions | |
def | __init__ (self, list[str] columns, list[tuple] rows) |
list[str] | column_names (self) |
Iterable[tuple] | rows (self) |
None | append (self, ApdbCassandraTableData other) |
Iterator[tuple] | __iter__ (self) |
list[str] | column_names (self) |
Iterable[tuple] | rows (self) |
Implementation of ApdbTableData that wraps Cassandra raw data.
Iterator[tuple] lsst.dax.apdb.cassandra_utils.ApdbCassandraTableData.__iter__ | ( | self | ) |
Make it look like a row iterator, needed for some odd logic.
None lsst.dax.apdb.cassandra_utils.ApdbCassandraTableData.append | ( | self, | |
ApdbCassandraTableData | other | ||
) |
Extend rows in this table with rows in other table
list[str] lsst.dax.apdb.cassandra_utils.ApdbCassandraTableData.column_names | ( | self | ) |
Return ordered sequence of column names in the table. Returns ------- names : `list` [`str`] Column names.
Reimplemented from lsst.dax.apdb.apdb.ApdbTableData.
Iterable[tuple] lsst.dax.apdb.cassandra_utils.ApdbCassandraTableData.rows | ( | self | ) |
Return table rows, each row is a tuple of values. Returns ------- rows : `iterable` [`tuple`] Iterable of tuples.
Reimplemented from lsst.dax.apdb.apdb.ApdbTableData.