MCPcopy Create free account
hub / github.com/apache/cloudberry / Dump

Method Dump

contrib/pax_storage/src/cpp/storage/orc/orc_dump_reader.cpp:136–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136std::string OrcDumpReader::Dump() {
137 if (config_->print_all) {
138 return DumpAllInfo();
139 }
140
141 if (config_->print_all_desc) {
142 return DumpAllDesc();
143 }
144
145 if (config_->print_post_script) {
146 return DumpPostScript();
147 }
148
149 if (config_->print_footer) {
150 return DumpFooter();
151 }
152
153 if (config_->print_schema) {
154 return DumpSchema();
155 }
156
157 if (config_->print_group_info) {
158 return DumpGroupInfo();
159 }
160
161 if (config_->print_group_footer) {
162 return DumpGroupFooter();
163 }
164
165 if (config_->print_all_data) {
166 return DumpAllData();
167 }
168
169 // defualt dump all of desc
170 return DumpAllDesc();
171}
172
173std::string OrcDumpReader::DumpAllInfo() {
174 std::stringstream all_info;

Callers 2

do_dumpFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected