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

Method finish

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

Source from the content-addressed store, hash-verified

398 self._null_bitmap.append(True)
399
400 def finish(self):
401 keys = self._key_appender.finish()
402 items = self._item_appender.finish()
403 offsets = pa.array(self._offsets, type=pa.int32())
404 return pa.MapArray.from_arrays(offsets, keys, items)
405
406 def reset(self):
407 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