|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tmatesoft.sqljet.core.internal.table.SqlJetCursor
org.tmatesoft.sqljet.core.internal.table.SqlJetRowNumCursor
public abstract class SqlJetRowNumCursor
| Field Summary |
|---|
| Fields inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetCursor |
|---|
btreeTable, db |
| Method Summary | |
|---|---|
protected void |
computeRows(boolean current)
|
void |
delete()
Deletes the current record. |
boolean |
eof()
Tests whether this cursor is positioned behind the last record. |
boolean |
first()
Goes to the first record. |
protected boolean |
firstRowNum(boolean first)
|
long |
getLimit()
Returns limit of this cursor. |
long |
getRowCount()
Returns number of rows accessible with this cursor. |
long |
getRowIndex()
Returns index of the current row. |
boolean |
goToRow(long rowNum)
Goes to the row with the specified index. |
boolean |
last()
Goes to the last record. |
protected boolean |
lastRowNum(boolean last)
|
boolean |
next()
Goes to the next record. |
protected boolean |
nextRowNum(boolean next)
|
boolean |
previous()
Goes to the previous record. |
protected boolean |
previousRowNum(boolean previous)
|
void |
setLimit(long limit)
Sets limit for this cursor. |
| Methods inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetCursor |
|---|
close, getBlobAsArray, getBlobAsStream, getBoolean, getFieldsCount, getFieldType, getFloat, getInteger, getString, getValue, isNull, reverse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.tmatesoft.sqljet.core.table.ISqlJetCursor |
|---|
getBlobAsArray, getBlobAsStream, getBoolean, getFieldType, getFloat, getInteger, getRowId, getRowValues, getString, getValue, goTo, isNull, update, updateByFieldNames, updateByFieldNamesOr, updateOr, updateWithRowId, updateWithRowIdOr |
| Method Detail |
|---|
public void setLimit(long limit)
throws SqlJetException
ISqlJetCursor
limit - the limit to set
SqlJetExceptionpublic long getLimit()
ISqlJetCursor
public long getRowCount()
throws SqlJetException
ISqlJetCursor
SqlJetException
protected void computeRows(boolean current)
throws SqlJetException
SqlJetException
public long getRowIndex()
throws SqlJetException
ISqlJetCursor
SqlJetException
public boolean goToRow(long rowNum)
throws SqlJetException
ISqlJetCursor
SqlJetException
public void delete()
throws SqlJetException
ISqlJetCursor
SqlJetException
public boolean first()
throws SqlJetException
ISqlJetCursor
first in interface ISqlJetCursorfirst in class SqlJetCursorSqlJetException
public boolean next()
throws SqlJetException
ISqlJetCursor
next in interface ISqlJetCursornext in class SqlJetCursorSqlJetException
public boolean previous()
throws SqlJetException
ISqlJetCursor
previous in interface ISqlJetCursorprevious in class SqlJetCursorSqlJetException
public boolean last()
throws SqlJetException
ISqlJetCursor
last in interface ISqlJetCursorlast in class SqlJetCursorSqlJetException
protected boolean firstRowNum(boolean first)
throws SqlJetException
SqlJetException
protected boolean nextRowNum(boolean next)
throws SqlJetException
SqlJetException
protected boolean previousRowNum(boolean previous)
throws SqlJetException
SqlJetException
protected boolean lastRowNum(boolean last)
throws SqlJetException
SqlJetException
public boolean eof()
throws SqlJetException
ISqlJetCursor
eof in interface ISqlJetCursoreof in class SqlJetCursorSqlJetException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||