| 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)) { |
no outgoing calls
no test coverage detected