MCPcopy Create free account
hub / github.com/apache/arrow / PrintRepLevel

Function PrintRepLevel

cpp/src/parquet/schema.cc:626–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624// Schema printing
625
626static void PrintRepLevel(Repetition::type repetition, std::ostream& stream) {
627 switch (repetition) {
628 case Repetition::REQUIRED:
629 stream << "required";
630 break;
631 case Repetition::OPTIONAL:
632 stream << "optional";
633 break;
634 case Repetition::REPEATED:
635 stream << "repeated";
636 break;
637 default:
638 break;
639 }
640}
641
642static void PrintType(const PrimitiveNode* node, std::ostream& stream) {
643 switch (node->physical_type()) {

Callers 1

VisitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected