MCPcopy Create free account
hub / github.com/PyTables/PyTables / reindex_dirty

Method reindex_dirty

tables/table.py:2967–2976  ·  view source on GitHub ↗

Recompute the existing indexes in table, *if* they are dirty. This can be useful when you have set :attr:`Table.autoindex` (see :class:`Table`) to false for the table and you want to update the indexes after an invalidating index operation (:meth:`Table.remove_rows`,

(self)

Source from the content-addressed store, hash-verified

2965 self._do_reindex(dirty=False)
2966
2967 def reindex_dirty(self) -> None:
2968 """Recompute the existing indexes in table, *if* they are dirty.
2969
2970 This can be useful when you have set :attr:`Table.autoindex`
2971 (see :class:`Table`) to false for the table and you want to
2972 update the indexes after an invalidating index operation
2973 (:meth:`Table.remove_rows`, for example).
2974
2975 """
2976 self._do_reindex(dirty=True)
2977
2978 def _g_copy_rows(
2979 self,

Callers 1

flushMethod · 0.95

Calls 1

_do_reindexMethod · 0.95

Tested by

no test coverage detected