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

Method to_string

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

Source from the content-addressed store, hash-verified

1512 """
1513
1514 def to_string(self):
1515 type_code = self.val['type_code'].cast(gdb.lookup_type('int'))
1516 if not self.is_valid:
1517 return (f"{self._format_type()} of type {self.type}, "
1518 f"type code {type_code}, null value")
1519 value = deref(self.val['value'])
1520 return (f"{self._format_type()} of type code {type_code}, "
1521 f"value {value}")
1522
1523
1524class MapScalarPrinter(ScalarPrinter):

Callers

nothing calls this directly

Calls 3

derefFunction · 0.85
castMethod · 0.45
_format_typeMethod · 0.45

Tested by

no test coverage detected