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

Function Documentation

bool compare_td_id ( const TableDescriptor first,
const TableDescriptor second 
)
inline

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

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: