| Constructor and Description |
|---|
IndexCursor(TableFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
find(Session s,
java.util.ArrayList<IndexCondition> indexConditions)
Re-evaluate the start and end values of the index search for rows.
|
Row |
get()
Get the complete current row.
|
SearchRow |
getEnd()
Get end search row.
|
SearchRow |
getSearchRow()
Get the current row.
|
SearchRow |
getStart()
Get start search row.
|
boolean |
isAlwaysFalse()
Check if the result is empty for sure.
|
boolean |
next()
Skip to the next row if one is available.
|
void |
prepare(Session s,
java.util.ArrayList<IndexCondition> indexConditions)
Prepare this index cursor to make a lookup in index.
|
boolean |
previous()
Skip to the previous row if one is available.
|
void |
setIndex(Index index) |
public IndexCursor(TableFilter filter)
public void setIndex(Index index)
public void prepare(Session s, java.util.ArrayList<IndexCondition> indexConditions)
s - Session.indexConditions - Index conditions.public void find(Session s, java.util.ArrayList<IndexCondition> indexConditions)
s - the sessionindexConditions - the index conditionspublic boolean isAlwaysFalse()
public SearchRow getStart()
public SearchRow getEnd()
public Row get()
Cursorpublic SearchRow getSearchRow()
CursorgetSearchRow in interface Cursorpublic boolean next()
Cursor