mini\Table\Index\HashIndexInterface abstract interface

Documentation

Hash index interface for O(1) equality lookups

Keys are binary strings (use Index::packInt/packFloat/packString to encode). RowIds are integers (matching SQLite's rowid semantics).

Methods (3)

Insert a key-rowId pair

Delete a key-rowId pair

Find all rowIds for a key (O(1) lookup)

Source

src/Table/Index/HashIndexInterface.php:12-30