#include <catalog/TableDesc.h>
|
static TableDesc * | Create (std::shared_ptr< const SysTable_Table > table, const std::vector< const SysTable_Column * > &columns) |
| Creates a new table descriptor by building the schema object constructed from the columns (which performs lookups in the global catalog cache instance g_catcache ). More...
|
|
static TableDesc * | Create (std::shared_ptr< const SysTable_Table > table, std::unique_ptr< Schema > schema) |
| This overload simply passes the arguments to the constructor. More...
|
|
◆ TableDesc()
taco::TableDesc::TableDesc |
( |
std::shared_ptr< const SysTable_Table > |
table, |
|
|
std::unique_ptr< Schema > |
schema |
|
) |
| |
|
inlineprivate |
◆ Create() [1/2]
Creates a new table descriptor by building the schema object constructed from the columns (which performs lookups in the global catalog cache instance g_catcache
).
◆ Create() [2/2]
This overload simply passes the arguments to the constructor.
◆ GetSchema()
const Schema* taco::TableDesc::GetSchema |
( |
| ) |
const |
|
inline |
Returns the cached table schema, which we guanrantee ‘IsLayoutComputed() == true’.
◆ GetTableEntry()
Returns the cached Table entry associated with this table descriptor.
Note that the table entry may be destructed as well if the table descriptor is destructed, so you must access the table entry while the table descriptor is still alive.
◆ m_schema
std::unique_ptr<Schema> taco::TableDesc::m_schema |
|
private |
◆ m_table
The documentation for this class was generated from the following files: