IndexCursor

The filter used to walk through an index. This class supports IN(..) and IN(SELECT ...) optimizations.

Methods
void find(Session s, ArrayList indexConditions)
Re-evaluate the start and end values of the index search for rows.
void find(Session s, ArrayList indexConditions)
Re-evaluate the start and end values of the index search for rows.
Parameters:
s - the session
indexConditions - the index conditions
Row get()
Row get()
SearchRow getEnd()
Get end search row.
SearchRow getEnd()
Get end search row.
Returns:
search row
SearchRow getSearchRow()
SearchRow getSearchRow()
SearchRow getStart()
Get start search row.
SearchRow getStart()
Get start search row.
Returns:
search row
boolean isAlwaysFalse()
Check if the result is empty for sure.
boolean isAlwaysFalse()
Check if the result is empty for sure.
Returns:
true if it is
boolean ()
boolean ()
void prepare(Session s, ArrayList indexConditions)
Prepare this index cursor to make a lookup in index.
void prepare(Session s, ArrayList indexConditions)
Prepare this index cursor to make a lookup in index.
Parameters:
s - Session.
indexConditions - Index conditions.
boolean ()
boolean ()
void setIndex(Index index)
void setIndex(Index index)