24 #define TRANSIENT_DICT_ID 0
25 #define TRANSIENT_DICT_DB_ID 0
75 : db_id(db_id), table_id(table_id), column_id(column_id) {}
98 struct hash<shared::StringDictKey> {
100 return dict_key.
hash();
105 struct hash<shared::TableKey> {
112 return column_key.
hash();
friend std::ostream & operator<<(std::ostream &os, const TableKey &table_key)
std::tuple< int, std::string > ColumnKey
ColumnKey(const TableKey &table_key, int32_t column_id)
size_t operator()(const shared::ColumnKey &column_key) const
bool operator<(const ColumnKey &other) const
ColumnKey(int32_t db_id, int32_t table_id, int32_t column_id)
bool operator<(const TableKey &other) const
friend std::ostream & operator<<(std::ostream &os, const ColumnKey &column_key)
bool operator<(const StringDictKey &other) const
bool operator==(const StringDictKey &other) const
StringDictKey(int32_t db_id, int32_t dict_id)
friend std::ostream & operator<<(std::ostream &os, const StringDictKey &dict_key)
size_t operator()(const shared::StringDictKey &dict_key) const
bool operator==(const ColumnKey &other) const
bool isTransientDict() const
static const StringDictKey kTransientDictKey
friend size_t hash_value(const TableKey &table_key)
TableKey(int32_t db_id, int32_t table_id)
bool operator==(const TableKey &other) const
size_t operator()(const shared::TableKey &table_key) const
bool operator!=(const TableKey &other) const
bool operator!=(const ColumnKey &other) const
bool operator!=(const StringDictKey &other) const