OmniSciDB  04ee39c94c
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  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)
 

Function Documentation

◆ compare_td_id()

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

Definition at line 84 of file TableDescriptor.h.

References TableDescriptor::tableId.

84  {
85  return (first->tableId < second->tableId);
86 }

◆ table_is_replicated()

bool table_is_replicated ( const TableDescriptor td)
inline

Definition at line 79 of file TableDescriptor.h.

References TableDescriptor::partitions.

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

79  {
80  return td->partitions == "REPLICATED";
81 }
std::string partitions
+ Here is the caller graph for this function: