17 #ifndef TABLE_DESCRIPTOR_H
18 #define TABLE_DESCRIPTOR_H
42 #define DEFAULT_MAX_ROLLBACK_EPOCHS 3
62 std::shared_ptr<Fragmenter_Namespace::AbstractFragmenter>
95 ,
mutex_(std::make_shared<std::mutex>()) {}
106 std::vector<int> table_chunk_key_prefix;
108 table_chunk_key_prefix =
fragmenter->getFragmentsForQuery().chunkKeyPrefix;
110 table_chunk_key_prefix.push_back(getCurrentDBId);
111 table_chunk_key_prefix.push_back(
tableId);
113 return table_chunk_key_prefix;
149 #endif // TABLE_DESCRIPTOR
int32_t maxRollbackEpochs
bool compare_td_id(const TableDescriptor *first, const TableDescriptor *second)
int32_t max_rollback_epochs
bool isForeignTable() const
std::vector< int > columnIdBySpi_
std::shared_ptr< std::mutex > mutex_
bool is_in_memory_system_table
#define DEFAULT_MAX_ROLLBACK_EPOCHS
specifies the content in-memory of a row in the table metadata table
bool g_enable_smem_group_by true
std::shared_ptr< Fragmenter_Namespace::AbstractFragmenter > fragmenter
static constexpr char const * LOCAL_TABLE
bool isTemporaryTable() const
bool table_is_temporary(const TableDescriptor *const td)
bool table_is_replicated(const TableDescriptor *td)
TableDescriptorUpdateParams(const TableDescriptor *td)
Fragmenter_Namespace::FragmenterType fragType
Data_Namespace::MemoryLevel persistenceLevel
Encapsulates an enumeration of table storage type strings.
virtual ~TableDescriptor()=default
bool g_enable_watchdog false
Common Enum definitions for SQL processing.
static constexpr char const * FOREIGN_TABLE
bool operator==(const TableDescriptor *td)
std::vector< int > getTableChunkKey(const int getCurrentDBId) const