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

Method to_string

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

Source from the content-addressed store, hash-verified

1495 """
1496
1497 def to_string(self):
1498 type_code = self.val['type_code'].cast(gdb.lookup_type('int'))
1499 if not self.is_valid:
1500 return (f"{self._format_type()} of type {self.type}, "
1501 f"type code {type_code}, null value")
1502 eval_values = StdVector(self.val['value'])
1503 child_id = self.val['child_id'].cast(gdb.lookup_type('int'))
1504 return (f"{self._format_type()} of type code {type_code}, "
1505 f"value {deref(eval_values[child_id])}")
1506
1507
1508

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