MCPcopy Create free account
hub / github.com/bytedance/bolt / toString

Function toString

bolt/dwio/common/Options.cpp:59–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59std::string toString(FileFormat fmt) {
60 switch (fmt) {
61 case FileFormat::DWRF:
62 return "dwrf";
63 case FileFormat::RC:
64 return "rc";
65 case FileFormat::RC_TEXT:
66 return "rc:text";
67 case FileFormat::RC_BINARY:
68 return "rc:binary";
69 case FileFormat::TEXT:
70 return "text";
71 case FileFormat::JSON:
72 return "json";
73 case FileFormat::PARQUET:
74 return "parquet";
75 case FileFormat::ALPHA:
76 return "alpha";
77 case FileFormat::ORC:
78 return "orc";
79 default:
80 return "unknown";
81 }
82}
83
84std::string ReaderOptions::toString() const {
85 std::stringstream ss;

Callers 15

registerReaderFactoryFunction · 0.70
getReaderFactoryFunction · 0.70
registerWriterFactoryFunction · 0.70
getWriterFactoryFunction · 0.70
Options.hFile · 0.70
toStringMethod · 0.70
toStringMethod · 0.70
toStringMethod · 0.70
toStringMethod · 0.70
toStringMethod · 0.70
toStringMethod · 0.70
goMethod · 0.50

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.40