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

Method to_string

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

Source from the content-addressed store, hash-verified

1478 """
1479
1480 def to_string(self):
1481 type_code = self.val['type_code'].cast(gdb.lookup_type('int'))
1482 if not self.is_valid:
1483 return (f"{self._format_type()} of type {self.type}, "
1484 f"type code {type_code}, null value")
1485 eval_values = StdVector(self.val['value'])
1486 child_id = self.val['child_id'].cast(gdb.lookup_type('int'))
1487 return (f"{self._format_type()} of type code {type_code}, "
1488 f"value {deref(eval_values[child_id])}")
1489
1490
1491

Callers

nothing calls this directly

Calls 4

StdVectorClass · 0.85
derefFunction · 0.85
castMethod · 0.45
_format_typeMethod · 0.45

Tested by

no test coverage detected