MCPcopy Create free account
hub / github.com/apache/arrow / TypeToString

Function TypeToString

cpp/src/parquet/types.cc:267–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267std::string TypeToString(Type::type t) {
268 switch (t) {
269 case Type::BOOLEAN:
270 return "BOOLEAN";
271 case Type::INT32:
272 return "INT32";
273 case Type::INT64:
274 return "INT64";
275 case Type::INT96:
276 return "INT96";
277 case Type::FLOAT:
278 return "FLOAT";
279 case Type::DOUBLE:
280 return "DOUBLE";
281 case Type::BYTE_ARRAY:
282 return "BYTE_ARRAY";
283 case Type::FIXED_LEN_BYTE_ARRAY:
284 return "FIXED_LEN_BYTE_ARRAY";
285 case Type::UNDEFINED:
286 default:
287 return "UNKNOWN";
288 }
289}
290
291std::string TypeToString(Type::type t, int type_length) {
292 auto s = TypeToString(t);

Callers 15

CheckColumnMethod · 0.85
WriteNullValueMethod · 0.85
FormatDecimalValueFunction · 0.85
MakeColumnStatsFunction · 0.85
PrimitiveNodeMethod · 0.85
ToStringMethod · 0.85
SetDataMethod · 0.85
ValidateMethod · 0.85

Calls 1

to_stringFunction · 0.85