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

Method Summarize

cpp/src/arrow/type.cc:1684–1696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1682
1683 template <typename OStream, typename U = T>
1684 std::enable_if_t<std::is_same_v<U, Field>> Summarize(OStream* os) const {
1685 const FieldVector* fields = get_children();
1686 if (!fields && get_parent()) {
1687 fields = &get_parent()->type()->fields();
1688 }
1689 *os << "fields: { ";
1690 if (fields) {
1691 for (const auto& field : *fields) {
1692 *os << field->ToString() << ", ";
1693 }
1694 }
1695 *os << "}";
1696 }
1697
1698 template <typename OStream, typename U = T>
1699 std::enable_if_t<!std::is_same_v<U, Field>> Summarize(OStream* os) const {

Callers 1

IndexErrorMethod · 0.80

Calls 3

fieldsMethod · 0.45
typeMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected