Get the secondary index of a record from a secondary 256-bit integer index table given the secondary index key.
Get the upperbound secondary index from a secondary 256-bit integer index table given the secondary index key Upperbound secondary index is the first secondary index which key is < the given secondary index key
Parameters
code
- The owner of the secondary index tablescope
- The scope where the secondary index residestable
- The table where the secondary index residesdata
- The pointer to the secondary index key which acts as lowerbound pivot point, later on it will be replaced with the lowerbound secondary index keydata_len
- Size of the secondary index keyprimary
- It will be replaced with the primary key of the record which the upperbound secondary index contains
Precondition
A correponding primary 256-bit integer index table with the given code, scope table must exist
Post Condition
The data param will contains the upperbound secondary index key
Post Condition
The primary param will contains the record that corresponds to the upperbound secondary index
Returns
iterator to the upperbound secondary index