MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getFieldNames

Method getFieldNames

src/common/types/types.cpp:148–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148std::vector<std::string> StructType::getFieldNames(const LogicalType& type) {
149 DASSERT(type.getPhysicalType() == PhysicalTypeID::STRUCT);
150 auto structTypeInfo = type.extraTypeInfo->constPtrCast<StructTypeInfo>();
151 return structTypeInfo->getChildrenNames();
152}
153
154uint64_t StructType::getNumFields(const LogicalType& type) {
155 DASSERT(type.getPhysicalType() == PhysicalTypeID::STRUCT);

Callers

nothing calls this directly

Calls 2

getChildrenNamesMethod · 0.80
getPhysicalTypeMethod · 0.45

Tested by

no test coverage detected