|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.index.IndexCursor
public class IndexCursor
The filter used to walk through an index. This class supports IN(..) and IN(SELECT ...) optimizations.
Constructor Summary | |
---|---|
IndexCursor(TableFilter filter)
|
Method Summary | |
---|---|
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 |
getSearchRow()
Get the current row. |
boolean |
isAlwaysFalse()
Check if the result is empty for sure. |
boolean |
next()
Skip to the next row if one is available. |
boolean |
previous()
Skip to the previous row if one is available. |
void |
setIndex(Index index)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexCursor(TableFilter filter)
Method Detail |
---|
public void setIndex(Index index)
public void find(Session s, java.util.ArrayList<IndexCondition> indexConditions)
s
- the sessionindexConditions
- the index conditionspublic boolean isAlwaysFalse()
public Row get()
Cursor
get
in interface Cursor
public SearchRow getSearchRow()
Cursor
getSearchRow
in interface Cursor
public boolean next()
Cursor
next
in interface Cursor
public boolean previous()
Cursor
previous
in interface Cursor
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |