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

Method Summarize

cpp/src/arrow/type.cc:1681–1693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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