MCPcopy Index your code
hub / github.com/apache/orc / printOptions

Function printOptions

tools/src/ToolsHelper.cc:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include <getopt.h>
22
23void printOptions(std::ostream& out) {
24 out << "Options:\n"
25 << "\t-h --help\n"
26 << "\t-c --columns\t\tComma separated list of top-level column fields\n"
27 << "\t-t --columnTypeIds\tComma separated list of column type ids\n"
28 << "\t-n --columnNames\tComma separated list of column names\n"
29 << "\t-b --batch\t\tBatch size for reading\n"
30 << "\t-m --metrics\t\tShow metrics for reading\n";
31}
32
33bool parseOptions(int* argc, char** argv[], uint64_t* batchSize,
34 orc::RowReaderOptions* rowReaderOpts, bool* showMetrics) {

Callers 3

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected