MCPcopy Create free account
hub / github.com/apache/orc / isPrimitive

Function isPrimitive

c++/src/SchemaEvolution.cc:170–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 }
169
170 inline bool isPrimitive(const Type* type) {
171 auto kind = type->getKind();
172 return kind != STRUCT && kind != MAP && kind != LIST && kind != UNION;
173 }
174
175 void SchemaEvolution::buildSafePPDConversionMap(const Type* readType, const Type* fileType) {
176 if (readType == nullptr || !isPrimitive(readType) || fileType == nullptr ||

Callers 1

Calls 1

getKindMethod · 0.65

Tested by

no test coverage detected