OmniSciDB
a5dc49c757
|
#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 |
Static Public Attributes | |
static const StringDictKey | kTransientDictKey |
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 47 of file DbObjectKeys.h.
Referenced by DictionaryValueConverter< TARGET_TYPE >::DictionaryValueConverter(), json_utils::get_value(), RowSetMemoryOwner::getOrAddStringDictProxy(), ResultSet::getStringDictionaryProxy(), hash(), operator<(), shared::operator<<(), operator==(), json_utils::set_value(), StringValueConverter::StringValueConverter(), SQLTypeInfo::toLite(), translate_string_ids(), and ThriftSerializers::type_info_to_thrift().
int32_t shared::StringDictKey::dict_id |
Definition at line 48 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(), json_utils::get_value(), RowSetMemoryOwner::getOrAddStringDictProxy(), ResultSet::getStringDictionaryProxy(), SQLTypeInfo::getStringDictKey(), hash(), isTransientDict(), operator<(), shared::operator<<(), operator==(), json_utils::set_value(), SQLTypeInfo::setStringDictKey(), StringValueConverter::StringValueConverter(), SQLTypeInfo::toLite(), and translate_string_ids().
|
static |
Definition at line 45 of file DbObjectKeys.h.
Referenced by Parser::QuerySpec::analyze_group_by(), RelAlgExecutor::createTableFunctionWorkUnit(), QueryRewriter::generateCaseForDomainValues(), Analyzer::anonymous_namespace{Analyzer.cpp}::make_transient_dict_type(), anonymous_namespace{RelAlgExecutor.cpp}::set_transient_dict(), RelAlgTranslator::translateArrayFunction(), RelAlgTranslator::translateUoper(), and anonymous_namespace{ExpressionRewrite.cpp}::ArrayElementStringLiteralEncodingVisitor::visitArrayOper().