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

Method StructColumnPrinter

c++/src/ColumnPrinter.cc:552–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550 }
551
552 StructColumnPrinter::StructColumnPrinter(std::string& buffer, const Type& type,
553 ColumnPrinter::Param param)
554 : ColumnPrinter(buffer) {
555 for (unsigned int i = 0; i < type.getSubtypeCount(); ++i) {
556 fieldNames_.push_back(type.getFieldName(i));
557 fieldPrinter_.push_back(createColumnPrinter(buffer, type.getSubtype(i), param));
558 }
559 }
560
561 void StructColumnPrinter::reset(const ColumnVectorBatch& batch) {
562 ColumnPrinter::reset(batch);

Callers

nothing calls this directly

Calls 3

createColumnPrinterFunction · 0.85
getSubtypeCountMethod · 0.80
getSubtypeMethod · 0.80

Tested by

no test coverage detected