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

Method to_string

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

Source from the content-addressed store, hash-verified

1510 """
1511
1512 def to_string(self):
1513 if not self.is_valid:
1514 return self._format_null()
1515
1516 array = deref(self.val['value'])
1517 data = deref(array['data_'])
1518 data_printer = ArrayDataPrinter("arrow::ArrayData", data)
1519 return (f"{self._format_type()} of type {self.type}, "
1520 f"value {data_printer._format_contents()}")
1521
1522
1523class ExtensionScalarPrinter(ScalarPrinter):

Callers

nothing calls this directly

Calls 5

_format_contentsMethod · 0.95
derefFunction · 0.85
ArrayDataPrinterClass · 0.85
_format_nullMethod · 0.80
_format_typeMethod · 0.45

Tested by

no test coverage detected