OmniSciDB  91042dcc5b
 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::dumpCreateTable(), Catalog_Namespace::Catalog::dumpSchema(), and Parser::CreateTableAsSelectStmt::execute().

Function Documentation

bool compare_td_id ( const TableDescriptor first,
const TableDescriptor second 

Definition at line 109 of file TableDescriptor.h.

References TableDescriptor::tableId.

109  {
110  return (first->tableId < second->tableId);
111 }
bool table_is_replicated ( const TableDescriptor td)

Definition at line 104 of file TableDescriptor.h.

References TableDescriptor::partitions.

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

104  {
105  return td->partitions == "REPLICATED";
106 }
std::string partitions

+ Here is the caller graph for this function: