OmniSciDB
c1a53651b2
|
#include <DbObjectKeys.h>
Public Member Functions | |
StringDictKey () | |
StringDictKey (int32_t db_id, int32_t dict_id) | |
bool | operator== (const StringDictKey &other) const |
bool | operator!= (const StringDictKey &other) const |
bool | operator< (const StringDictKey &other) const |
size_t | hash () const |
bool | isTransientDict () const |
Public Attributes | |
int32_t | db_id |
int32_t | dict_id |
Friends | |
std::ostream & | operator<< (std::ostream &os, const StringDictKey &dict_key) |
Definition at line 28 of file DbObjectKeys.h.
|
inline |
Definition at line 29 of file DbObjectKeys.h.
|
inline |
size_t shared::StringDictKey::hash | ( | ) | const |
Definition at line 44 of file DbObjectKeys.cpp.
References shared::compute_hash(), db_id, and dict_id.
Referenced by std::hash< shared::StringDictKey >::operator()().
bool shared::StringDictKey::isTransientDict | ( | ) | const |
Definition at line 48 of file DbObjectKeys.cpp.
References dict_id, and TRANSIENT_DICT_ID.
Referenced by Analyzer::CaseExpr::add_cast().
bool shared::StringDictKey::operator!= | ( | const StringDictKey & | other | ) | const |
Definition at line 28 of file DbObjectKeys.cpp.
bool shared::StringDictKey::operator< | ( | const StringDictKey & | other | ) | const |
bool shared::StringDictKey::operator== | ( | const StringDictKey & | other | ) | const |
|
friend |
Definition at line 39 of file DbObjectKeys.cpp.
int32_t shared::StringDictKey::db_id |
Definition at line 45 of file DbObjectKeys.h.
Referenced by DictionaryValueConverter< TARGET_TYPE >::DictionaryValueConverter(), RowSetMemoryOwner::getOrAddStringDictProxy(), ResultSet::getStringDictionaryProxy(), hash(), operator<(), shared::operator<<(), operator==(), StringValueConverter::StringValueConverter(), translate_string_ids(), and ThriftSerializers::type_info_to_thrift().
int32_t shared::StringDictKey::dict_id |
Definition at line 46 of file DbObjectKeys.h.
Referenced by Analyzer::Expr::add_cast(), Analyzer::CaseExpr::add_cast(), anonymous_namespace{ResultSetIteration.cpp}::build_string_array_target_value(), CodeGenerator::codegenCastFromString(), Parser::common_string_type(), Analyzer::BinOper::common_string_type(), DictionaryValueConverter< TARGET_TYPE >::DictionaryValueConverter(), RowSetMemoryOwner::getOrAddStringDictProxy(), ResultSet::getStringDictionaryProxy(), SQLTypeInfo::getStringDictKey(), hash(), isTransientDict(), operator<(), shared::operator<<(), operator==(), SQLTypeInfo::setStringDictKey(), StringValueConverter::StringValueConverter(), and translate_string_ids().