| 构造器和说明 |
|---|
IndexCursor(TableFilter filter) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
find(Session s,
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,
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, ArrayList<IndexCondition> indexConditions)
s - Session.indexConditions - Index conditions.public void find(Session s, ArrayList<IndexCondition> indexConditions)
s - the sessionindexConditions - the index conditionspublic boolean isAlwaysFalse()
public SearchRow getStart()
public SearchRow getEnd()
public SearchRow getSearchRow()
CursorgetSearchRow 在接口中 Cursorpublic boolean next()
CursorCopyright © 2017. All rights reserved.