OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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
 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)
 

Function Documentation

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

Definition at line 97 of file TableDescriptor.h.

References TableDescriptor::tableId.

97  {
98  return (first->tableId < second->tableId);
99 }
bool table_is_replicated ( const TableDescriptor td)
inline

Definition at line 92 of file TableDescriptor.h.

References TableDescriptor::partitions.

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

92  {
93  return td->partitions == "REPLICATED";
94 }
std::string partitions

+ Here is the caller graph for this function: