26 #include "gen-cpp/CalciteServer.h"
33 const std::string& tableName) {
38 throw std::runtime_error(
"Table/View " + tableName +
" for catalog " +
40 " does not exist, could not generate chunk key");
std::vector< int > ChunkKey
class for a per-database catalog. also includes metadata for the current database and the current use...
This file contains the class specification and related data structures for Catalog.
const DBMetadata & getCurrentDB() const
ChunkKey chunk_key_for_table(const Catalog_Namespace::Catalog &cat, const std::string &tableName)
const TableDescriptor * getMetadataForTable(const std::string &tableName, const bool populateFragmenter=true) const
Returns a pointer to a const TableDescriptor struct matching the provided tableName.