OmniSciDB  eb3a3d0a03
 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.

Classes

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

Macros

#define DEFAULT_MAX_ROLLBACK_EPOCHS   3
 specifies the content in-memory of a row in the table metadata table More...
 

Functions

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

#define DEFAULT_MAX_ROLLBACK_EPOCHS   3

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

TableDescriptor

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 
)
inline

Definition at line 107 of file TableDescriptor.h.

References TableDescriptor::tableId.

107  {
108  return (first->tableId < second->tableId);
109 }
bool table_is_replicated ( const TableDescriptor td)
inline

Definition at line 102 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().

102  {
103  return td->partitions == "REPLICATED";
104 }
std::string partitions

+ Here is the caller graph for this function: