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

Function PrintRepLevel

cpp/src/parquet/schema.cc:659–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657// Schema printing
658
659static void PrintRepLevel(Repetition::type repetition, std::ostream& stream) {
660 switch (repetition) {
661 case Repetition::REQUIRED:
662 stream << "required";
663 break;
664 case Repetition::OPTIONAL:
665 stream << "optional";
666 break;
667 case Repetition::REPEATED:
668 stream << "repeated";
669 break;
670 default:
671 break;
672 }
673}
674
675static void PrintType(const PrimitiveNode* node, std::ostream& stream) {
676 switch (node->physical_type()) {

Callers 1

VisitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected