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

Method to_string

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

Source from the content-addressed store, hash-verified

1526 """
1527
1528 def to_string(self):
1529 ext_type = ExtensionType(self.type)
1530 if not self.is_valid:
1531 return (f"{self._format_type()} of type "
1532 f"{ext_type.to_string().string_literal()}, null value")
1533 value = deref(self.val['value'])
1534 return (f"{self._format_type()} of type "
1535 f"{ext_type.to_string().string_literal()}, value {value}")
1536
1537
1538class 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