Constructor and Description |
---|
IndexCursor() |
Modifier and Type | Method and Description |
---|---|
void |
find(SessionLocal 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(SessionLocal 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 void setIndex(Index index)
public void prepare(SessionLocal s, java.util.ArrayList<IndexCondition> indexConditions)
s
- Session.indexConditions
- Index conditions.public void find(SessionLocal s, java.util.ArrayList<IndexCondition> indexConditions)
s
- the sessionindexConditions
- the index conditionspublic boolean isAlwaysFalse()
public SearchRow getStart()
public SearchRow getEnd()
public Row get()
Cursor
public SearchRow getSearchRow()
Cursor
getSearchRow
in interface Cursor
public boolean next()
Cursor