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

Method registerSimpleDataTypeCustom

src/DataTypes/DataTypeFactory.cpp:225–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void DataTypeFactory::registerSimpleDataTypeCustom(const String &name, SimpleCreatorWithCustom creator, CaseSensitiveness case_sensitiveness)
226{
227 registerDataTypeCustom(name, [creator](const ASTPtr & /*ast*/)
228 {
229 return creator();
230 }, case_sensitiveness);
231}
232
233const DataTypeFactory::Value & DataTypeFactory::findCreatorByName(const String & family_name) const
234{

Callers 3

registerDataTypeStringFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected