public abstract class SqlJetCursor extends java.lang.Object implements ISqlJetCursor
ISqlJetCursor.| Modifier and Type | Field and Description |
|---|---|
protected ISqlJetBtreeTable |
btreeTable |
protected SqlJetDb |
db |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the cursor.
|
boolean |
eof()
Tests whether this cursor is positioned behind the last record.
|
boolean |
first()
Goes to the first record.
|
byte[] |
getBlobAsArray(int field)
Returns specified field's value as BLOB.
|
java.io.InputStream |
getBlobAsStream(int field)
Returns specified field's value as BLOB.
|
boolean |
getBoolean(int field)
Returns specified field's value as boolean.
|
int |
getFieldsCount()
Returns number of fields in the current record.
|
SqlJetValueType |
getFieldType(int field)
Returns field type.
|
double |
getFloat(int field)
Returns specified field's value as float.
|
long |
getInteger(int field)
Returns specified field's value as integer.
|
java.lang.String |
getString(int field)
Returns specified field's value as String.
|
java.lang.Object |
getValue(int field)
Returns value of the field of the specified index in the current row.
|
boolean |
isNull(int field)
Tests field value for null.
|
boolean |
last()
Goes to the last record.
|
boolean |
next()
Goes to the next record.
|
boolean |
previous()
Goes to the previous record.
|
ISqlJetCursor |
reverse()
Returns cursor with the order reversed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, getBlobAsArray, getBlobAsStream, getBoolean, getFieldType, getFloat, getInteger, getLimit, getRowCount, getRowId, getRowIndex, getRowValues, getString, getValue, goTo, goToRow, isNull, setLimit, update, updateByFieldNames, updateByFieldNamesOr, updateOr, updateWithRowId, updateWithRowIdOrprotected final ISqlJetBtreeTable btreeTable
protected final SqlJetDb db
public void close()
throws SqlJetException
ISqlJetCursorclose in interface ISqlJetCursorSqlJetExceptionpublic boolean eof()
throws SqlJetException
ISqlJetCursoreof in interface ISqlJetCursorSqlJetExceptionpublic boolean first()
throws SqlJetException
ISqlJetCursorfirst in interface ISqlJetCursorSqlJetExceptionpublic boolean last()
throws SqlJetException
ISqlJetCursorlast in interface ISqlJetCursorSqlJetExceptionpublic boolean next()
throws SqlJetException
ISqlJetCursornext in interface ISqlJetCursorSqlJetExceptionpublic boolean previous()
throws SqlJetException
ISqlJetCursorprevious in interface ISqlJetCursorSqlJetExceptionpublic int getFieldsCount()
throws SqlJetException
ISqlJetCursorgetFieldsCount in interface ISqlJetCursorSqlJetExceptionpublic SqlJetValueType getFieldType(int field) throws SqlJetException
ISqlJetCursorgetFieldType in interface ISqlJetCursorfield - index of the fieldSqlJetExceptionpublic boolean isNull(int field)
throws SqlJetException
ISqlJetCursorisNull in interface ISqlJetCursorfield - number of field begin from zeroSqlJetExceptionpublic java.lang.String getString(int field)
throws SqlJetException
ISqlJetCursorgetString in interface ISqlJetCursorfield - index of the fieldSqlJetExceptionpublic long getInteger(int field)
throws SqlJetException
ISqlJetCursorgetInteger in interface ISqlJetCursorfield - index of the fieldSqlJetExceptionpublic double getFloat(int field)
throws SqlJetException
ISqlJetCursorgetFloat in interface ISqlJetCursorfield - index of the fieldSqlJetExceptionpublic byte[] getBlobAsArray(int field)
throws SqlJetException
ISqlJetCursorgetBlobAsArray in interface ISqlJetCursorfield - index of the fieldSqlJetExceptionpublic java.io.InputStream getBlobAsStream(int field)
throws SqlJetException
ISqlJetCursorgetBlobAsStream in interface ISqlJetCursorfield - number of field begin from zeroSqlJetExceptionpublic java.lang.Object getValue(int field)
throws SqlJetException
ISqlJetCursorgetValue in interface ISqlJetCursorfield - index of the fieldSqlJetExceptionpublic boolean getBoolean(int field)
throws SqlJetException
ISqlJetCursorgetBoolean in interface ISqlJetCursorfield - index of the fieldSqlJetExceptionpublic ISqlJetCursor reverse() throws SqlJetException
ISqlJetCursorreverse in interface ISqlJetCursorSqlJetExceptionCopyright © 2009-2010 TMate Software Ltd. All Rights Reserved.