|
||||||||||
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 filters supports IN(..) and IN(SELECT ...) optimizations.
Constructor Summary | |
---|---|
IndexCursor()
|
Method Summary | |
---|---|
void |
find(Session session,
ObjectArray<IndexCondition> indexConditions)
Re-evaluate the start and end values of the index search for rows. |
Row |
get()
Get the complete current row. |
long |
getKey()
Get the unique key of the 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()
Method Detail |
---|
public void setIndex(Index index)
public void find(Session session, ObjectArray<IndexCondition> indexConditions) throws java.sql.SQLException
session
- the sessionindexConditions
- the index conditions
java.sql.SQLException
public boolean isAlwaysFalse()
public Row get() throws java.sql.SQLException
Cursor
get
in interface Cursor
java.sql.SQLException
public long getKey()
Cursor
getKey
in interface Cursor
public SearchRow getSearchRow() throws java.sql.SQLException
Cursor
getSearchRow
in interface Cursor
java.sql.SQLException
public boolean next() throws java.sql.SQLException
Cursor
next
in interface Cursor
java.sql.SQLException
public boolean previous()
Cursor
previous
in interface Cursor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |