MCPcopy Create free account
hub / github.com/apache/fory / finish

Method finish

python/pyfory/format/columnar.py:330–334  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

328 self._null_bitmap.append(True)
329
330 def finish(self):
331 values = self._elem_appender.finish()
332 offsets = pa.array(self._offsets, type=pa.int32())
333 null_mask = pa.array([not v for v in self._null_bitmap], type=pa.bool_())
334 return pa.ListArray.from_arrays(offsets, values, mask=null_mask)
335
336 def reset(self):
337 self._offsets = [0]

Callers

nothing calls this directly

Calls 3

int32Method · 0.80
finishMethod · 0.45
arrayMethod · 0.45

Tested by

no test coverage detected