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

Method PrintField

cpp/src/arrow/pretty_print.cc:664–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664Status SchemaPrinter::PrintField(const Field& field) {
665 Write(field.name());
666 Write(": ");
667 RETURN_NOT_OK(PrintType(*field.type(), field.nullable()));
668
669 if (options_.show_field_metadata && field.metadata() != nullptr) {
670 indent_ += options_.indent_size;
671 PrintMetadata("-- field metadata --", *field.metadata());
672 indent_ -= options_.indent_size;
673 }
674 return Status::OK();
675}
676
677} // namespace
678

Callers

nothing calls this directly

Calls 7

WriteFunction · 0.85
PrintTypeFunction · 0.85
nullableMethod · 0.80
OKFunction · 0.70
nameMethod · 0.45
typeMethod · 0.45
metadataMethod · 0.45

Tested by

no test coverage detected