Submodule box.index
The box.index submodule provides read-only access for index
definitions and index keys. Indexes are contained in
box.space.{space-name}.index array
within each space object. They provide an API for ordered iteration over
tuples. This API is a direct binding to corresponding methods of index
objects of type box.index in the storage engine.
Below is a list of all box.index functions and members.
Name | Use |
|---|---|
Some useful examples | |
Create an index | |
Flag, true if an index is unique | |
Index type | |
Array of index key fields | |
Prepare for iterating | |
Select one or more tuples via index | |
Select a tuple via index | |
Find the minimum value in index | |
Find the maximum value in index | |
Find a random value in index | |
Count tuples matching key value | |
Update a tuple | |
Delete a tuple by key | |
Alter an index | |
Drop an index | |
Rename an index | |
Get count of bytes for an index | |
Get statistics for an index | |
Remove unused index space | |
Return a tuple's position for an index | |
Any function / method that any user wants to add |