mini\Table\Index\IndexInterface abstract interface

Documentation

Index interface with range query support

Extends HashIndexInterface with O(log n) range queries. Keys are binary strings that sort correctly via memcmp.

Inheritance

Implements: mini\Table\Index\HashIndexInterface

Methods (4)

Range query over keys

Insert a key-rowId pair

Delete a key-rowId pair

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

Source

src/Table/Index/IndexInterface.php:12-23