20 namespace foreign_storage {
27 catalog_->getAllColumnMetadataForTable(foreign_table->
tableId,
false,
false,
true);
29 catalog_->getAllColumnMetadataForTable(foreign_table->
tableId,
false,
false,
false);
37 const int column_id)
const {
45 CHECK_LE(logical_column_id, column_id);
56 const std::list<const ColumnDescriptor*>&
78 const int column_id)
const {
DEVICE auto upper_bound(ARGS &&...args)
std::list< const ColumnDescriptor * > logical_and_physical_columns_
int numLogicalAndPhysicalColumns() const
int getParquetColumnIndex(const int column_id) const
const ForeignTable * getForeignTable() const
This file contains the class specification and related data structures for Catalog.
static SysCatalog & instance()
ForeignTableSchema(const int32_t db_id, const ForeignTable *foreign_table)
specifies the content in-memory of a row in the column metadata table
const std::list< const ColumnDescriptor * > & getLogicalAndPhysicalColumns() const
int numLogicalColumns() const
std::shared_ptr< Catalog > getCatalog(const std::string &dbName)
std::shared_ptr< Catalog_Namespace::Catalog > catalog_
const std::list< const ColumnDescriptor * > & getLogicalColumns() const
const ForeignTable * foreign_table_
std::vector< int > logical_column_ids_
const ColumnDescriptor * getLogicalColumn(const int column_id) const
std::list< const ColumnDescriptor * > logical_columns_
std::vector< int >::const_iterator getLogicalColumnIdIterator(const int column_id) const
const ColumnDescriptor * getColumnDescriptor(const int column_id) const