public abstract class SqlJetRowNumCursor extends SqlJetCursor
btreeTable, db
Modifier and Type | Method and Description |
---|---|
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.
|
close, getBlobAsArray, getBlobAsStream, getBoolean, getFieldsCount, getFieldType, getFloat, getInteger, getString, getValue, isNull, reverse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlobAsArray, getBlobAsStream, getBoolean, getFieldType, getFloat, getInteger, getRowId, getRowValues, getString, getValue, goTo, isNull, update, updateByFieldNames, updateByFieldNamesOr, updateOr, updateWithRowId, updateWithRowIdOr
public void setLimit(long limit) throws SqlJetException
ISqlJetCursor
limit
- the limit to setSqlJetException
public 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 ISqlJetCursor
first
in class SqlJetCursor
SqlJetException
public boolean next() throws SqlJetException
ISqlJetCursor
next
in interface ISqlJetCursor
next
in class SqlJetCursor
SqlJetException
public boolean previous() throws SqlJetException
ISqlJetCursor
previous
in interface ISqlJetCursor
previous
in class SqlJetCursor
SqlJetException
public boolean last() throws SqlJetException
ISqlJetCursor
last
in interface ISqlJetCursor
last
in class SqlJetCursor
SqlJetException
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 ISqlJetCursor
eof
in class SqlJetCursor
SqlJetException
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.