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

Method getNumElements

src/common/types/types.cpp:128–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128uint64_t ArrayType::getNumElements(const LogicalType& type) {
129 DASSERT(type.getPhysicalType() == PhysicalTypeID::ARRAY);
130 auto arrayTypeInfo = type.extraTypeInfo->constPtrCast<ArrayTypeInfo>();
131 return arrayTypeInfo->getNumElements();
132}
133
134std::vector<const LogicalType*> StructType::getFieldTypes(const LogicalType& type) {
135 DASSERT(type.getPhysicalType() == PhysicalTypeID::STRUCT);

Callers 1

toStringMethod · 0.45

Calls 1

getPhysicalTypeMethod · 0.45

Tested by

no test coverage detected