|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface Cursor
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Method Summary | |
int |
getColumnCount()
Returns the number of columns returned from the database for this query. |
int |
getColumnIndex(java.lang.String name)
Returns the zero based index of the column. |
java.lang.String |
getColumnName(int index)
Returns the name of the column for the given zero based column index. |
java.lang.Class |
getColumnType(int index)
Returns the java class tyep of the data in the column for the given zero based column index. |
int |
getPageCount()
Returns the number of other pages that resulted from the execution of this query. |
int |
getPageNumber()
Returns a zero based index indicating which page this cursor is a view of. |
int |
getRowCount()
Returns the number of rows avalible in this cursor. |
int |
getRowNumber()
Returns the current zero based row index. |
java.lang.Object |
getValue(int columnIndex)
Retrieves the value of the designated column in the current row of this cursor. |
java.lang.Object |
getValue(java.lang.String columnName)
Retrieves the value of the named column in the current row of this cursor. |
boolean |
next()
Moves the cursor down one row from its current position. |
void |
reset()
Moves the current row to the first row |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
public boolean next()
Returns: true if the new current row is valid; false if there are no more rows
public void reset()
public int getPageCount()
public int getPageNumber()
public int getRowCount()
public int getColumnCount()
public java.lang.String getColumnName(int index)
public java.lang.Class getColumnType(int index)
public int getColumnIndex(java.lang.String name)
public int getRowNumber()
public java.lang.Object getValue(java.lang.String columnName)
public java.lang.Object getValue(int columnIndex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |