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

Function isNumeric

c++/src/SchemaEvolution.cc:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 };
52
53 bool isNumeric(const Type& type) {
54 auto kind = type.getKind();
55 return kind == BOOLEAN || kind == BYTE || kind == SHORT || kind == INT || kind == LONG ||
56 kind == FLOAT || kind == DOUBLE;
57 }
58
59 bool isStringVariant(const Type& type) {
60 auto kind = type.getKind();

Callers 1

checkConversionFunction · 0.85

Calls 1

getKindMethod · 0.65

Tested by

no test coverage detected