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

Method to_string

cpp/gdb_arrow.py:1545–1552  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1543 """
1544
1545 def to_string(self):
1546 ext_type = ExtensionType(self.type)
1547 if not self.is_valid:
1548 return (f"{self._format_type()} of type "
1549 f"{ext_type.to_string().string_literal()}, null value")
1550 value = deref(self.val['value'])
1551 return (f"{self._format_type()} of type "
1552 f"{ext_type.to_string().string_literal()}, value {value}")
1553
1554
1555class ArrayDataPrinter:

Callers

nothing calls this directly

Calls 5

to_stringMethod · 0.95
derefFunction · 0.85
ExtensionTypeClass · 0.70
_format_typeMethod · 0.45
string_literalMethod · 0.45

Tested by

no test coverage detected