OmniSciDB  c1a53651b2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TableDescriptor.h File Reference
#include <cstdint>
#include <string>
#include "DataMgr/MemoryLevel.h"
#include "Fragmenter/AbstractFragmenter.h"
#include "Shared/sqldefs.h"
+ Include dependency graph for TableDescriptor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  StorageType
 Encapsulates an enumeration of table storage type strings. More...
struct  TableDescriptor
struct  TableDescriptorUpdateParams


 specifies the content in-memory of a row in the table metadata table More...


bool table_is_replicated (const TableDescriptor *td)
bool compare_td_id (const TableDescriptor *first, const TableDescriptor *second)
bool table_is_temporary (const TableDescriptor *const td)

Macro Definition Documentation


specifies the content in-memory of a row in the table metadata table


Definition at line 42 of file TableDescriptor.h.

Referenced by Catalog_Namespace::Catalog::dumpCreateTableUnlocked(), Catalog_Namespace::Catalog::dumpSchema(), and Parser::CreateTableAsSelectStmt::execute().

Function Documentation

bool compare_td_id ( const TableDescriptor first,
const TableDescriptor second 

Definition at line 122 of file TableDescriptor.h.

References TableDescriptor::tableId.

122  {
123  return (first->tableId < second->tableId);
124 }
bool table_is_replicated ( const TableDescriptor td)

Definition at line 117 of file TableDescriptor.h.

References TableDescriptor::partitions.

Referenced by HashJoin::checkHashJoinReplicationConstraint(), anonymous_namespace{RelAlgExecutor.cpp}::do_table_reordering(), DBHandler::get_table_details_impl(), DBHandler::get_tables_meta_impl(), and foreign_storage::is_replicated_table_chunk_key().

117  {
118  return td->partitions == "REPLICATED";
119 }
std::string partitions

+ Here is the caller graph for this function: