MCPcopy Create free account
hub / github.com/ByConity/ByConity / contains

Method contains

src/DataTypes/DataTypeEnum.cpp:163–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162template <typename Type>
163bool DataTypeEnum<Type>::contains(const IDataType & rhs) const
164{
165 if (const auto * rhs_enum8 = typeid_cast<const DataTypeEnum8 *>(&rhs))
166 return this->containsAll(rhs_enum8->getValues());
167 if (const auto * rhs_enum16 = typeid_cast<const DataTypeEnum16 *>(&rhs))
168 return this->containsAll(rhs_enum16->getValues());
169 return false;
170}
171
172template <typename Type>
173SerializationPtr DataTypeEnum<Type>::doGetDefaultSerialization() const

Callers 13

getImplMethod · 0.45
dropTableMethod · 0.45
renameTableMethod · 0.45
addDependenciesMethod · 0.45
updateResyncTablesMethod · 0.45
fetchTablesCreateQueryFunction · 0.45
cleanUndoBuffersMethod · 0.45
findZombieJobsInServerFunction · 0.45
getLeastSupertypeFunction · 0.45

Calls 2

containsAllMethod · 0.45
getValuesMethod · 0.45

Tested by

no test coverage detected