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

Method to_string

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

Source from the content-addressed store, hash-verified

1445 """
1446
1447 def to_string(self):
1448 if not self.is_valid:
1449 return self._format_null()
1450 index = deref(self.val['value']['index'])
1451 dictionary = deref(self.val['value']['dictionary'])
1452 return (f"{self._format_type()} of index {index}, "
1453 f"dictionary {dictionary}")
1454
1455
1456class BaseListScalarPrinter(ScalarPrinter):

Callers

nothing calls this directly

Calls 3

derefFunction · 0.85
_format_nullMethod · 0.80
_format_typeMethod · 0.45

Tested by

no test coverage detected