OmniSciDB
a5dc49c757
|
Go to the source code of this file.
Functions | |
void | validate_shared_dictionary (const Parser::CreateTableBaseStmt *stmt, const Parser::SharedDictionaryDef *shared_dict_def, const std::list< ColumnDescriptor > &columns, const std::vector< Parser::SharedDictionaryDef > &shared_dict_defs_so_far, const Catalog_Namespace::Catalog &catalog) |
const Parser::SharedDictionaryDef | compress_reference_path (Parser::SharedDictionaryDef cur_node, const std::vector< Parser::SharedDictionaryDef > &shared_dict_defs) |
void | validate_shared_dictionary_order (const Parser::CreateTableBaseStmt *stmt, const Parser::SharedDictionaryDef *shared_dict_def, const std::vector< Parser::SharedDictionaryDef > &shared_dict_defs, const std::list< ColumnDescriptor > &columns) |
const Parser::SharedDictionaryDef compress_reference_path | ( | Parser::SharedDictionaryDef | cur_node, |
const std::vector< Parser::SharedDictionaryDef > & | shared_dict_defs | ||
) |
Definition at line 23 of file SharedDictionaryValidator.cpp.
References CHECK_LT, Parser::SharedDictionaryDef::get_column(), Parser::SharedDictionaryDef::get_foreign_column(), and Parser::SharedDictionaryDef::get_foreign_table().
Referenced by Catalog_Namespace::Catalog::setColumnSharedDictionary().
void validate_shared_dictionary | ( | const Parser::CreateTableBaseStmt * | stmt, |
const Parser::SharedDictionaryDef * | shared_dict_def, | ||
const std::list< ColumnDescriptor > & | columns, | ||
const std::vector< Parser::SharedDictionaryDef > & | shared_dict_defs_so_far, | ||
const Catalog_Namespace::Catalog & | catalog | ||
) |
Definition at line 129 of file SharedDictionaryValidator.cpp.
References CHECK, ColumnDescriptor::columnName, Parser::SharedDictionaryDef::get_column(), anonymous_namespace{SharedDictionaryValidator.cpp}::get_compression_for_column(), Parser::SharedDictionaryDef::get_foreign_column(), Parser::SharedDictionaryDef::get_foreign_table(), Parser::CreateTableBaseStmt::get_table(), Parser::CreateTableBaseStmt::get_table_element_list(), Catalog_Namespace::Catalog::getAllColumnMetadataForTable(), Catalog_Namespace::Catalog::getMetadataForTable(), kENCODING_DICT, anonymous_namespace{SharedDictionaryValidator.cpp}::lookup_column(), and validate_shared_dictionary_order().
Referenced by Parser::CreateDataframeStmt::execute(), and Parser::CreateTableStmt::executeDryRun().
void validate_shared_dictionary_order | ( | const Parser::CreateTableBaseStmt * | stmt, |
const Parser::SharedDictionaryDef * | shared_dict_def, | ||
const std::vector< Parser::SharedDictionaryDef > & | shared_dict_defs, | ||
const std::list< ColumnDescriptor > & | columns | ||
) |
Definition at line 60 of file SharedDictionaryValidator.cpp.
References CHECK, Parser::SharedDictionaryDef::get_column(), Parser::SharedDictionaryDef::get_foreign_column(), Parser::SharedDictionaryDef::get_foreign_table(), and Parser::CreateTableBaseStmt::get_table().
Referenced by validate_shared_dictionary().