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

Method children

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

Source from the content-addressed store, hash-verified

1755 return "array"
1756
1757 def children(self):
1758 if self.length == 0:
1759 return
1760 null_bits = self._null_bitmap()
1761 address = self._buffer(1).data + self.offset * self.byte_width
1762 for i, valid in enumerate(null_bits):
1763 if valid:
1764 dec = self.decimal_class.from_address(address)
1765 yield self._valid_child(
1766 i, dec.format(self.precision, self.scale))
1767 else:
1768 yield self._null_child(i)
1769 address += self.byte_width
1770
1771
1772class 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