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

Method children

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

Source from the content-addressed store, hash-verified

1738 return "array"
1739
1740 def children(self):
1741 if self.length == 0:
1742 return
1743 null_bits = self._null_bitmap()
1744 address = self._buffer(1).data + self.offset * self.byte_width
1745 for i, valid in enumerate(null_bits):
1746 if valid:
1747 dec = self.decimal_class.from_address(address)
1748 yield self._valid_child(
1749 i, dec.format(self.precision, self.scale))
1750 else:
1751 yield self._null_child(i)
1752 address += self.byte_width
1753
1754
1755class FixedSizeBinaryArrayDataPrinter(ArrayDataPrinter):

Callers

nothing calls this directly

Calls 6

_null_bitmapMethod · 0.80
_bufferMethod · 0.80
from_addressMethod · 0.80
_valid_childMethod · 0.80
_null_childMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected