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

Function streamKindToString

c++/src/Common.cc:95–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 std::string streamKindToString(StreamKind kind) {
96 switch (static_cast<int>(kind)) {
97 case StreamKind_PRESENT:
98 return "present";
99 case StreamKind_DATA:
100 return "data";
101 case StreamKind_LENGTH:
102 return "length";
103 case StreamKind_DICTIONARY_DATA:
104 return "dictionary";
105 case StreamKind_DICTIONARY_COUNT:
106 return "dictionary count";
107 case StreamKind_SECONDARY:
108 return "secondary";
109 case StreamKind_ROW_INDEX:
110 return "index";
111 case StreamKind_BLOOM_FILTER:
112 return "bloom";
113 }
114 std::stringstream buffer;
115 buffer << "unknown - " << kind;
116 return buffer.str();
117 }
118
119 std::string columnEncodingKindToString(ColumnEncodingKind kind) {
120 switch (static_cast<int>(kind)) {

Callers 1

printStripeInformationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected