Class SqlJetReverseOrderCursor

java.lang.Object
org.tmatesoft.sqljet.core.internal.table.SqlJetReverseOrderCursor
All Implemented Interfaces:
ISqlJetCursor

public class SqlJetReverseOrderCursor extends java.lang.Object implements ISqlJetCursor
Author:
TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes the cursor.
    void
    Deletes the current record.
    boolean
    eof()
    Tests whether this cursor is positioned behind the last record.
    boolean
    Goes to the first record.
    byte[]
    getBlobAsArray(int field)
    Returns specified field's value as BLOB.
    byte[]
    getBlobAsArray(java.lang.String fieldName)
    Returns specified field's value as BLOB.
    java.io.InputStream
    getBlobAsStream(int field)
    Returns specified field's value as BLOB.
    java.io.InputStream
    getBlobAsStream(java.lang.String fieldName)
    Returns specified field's value as BLOB.
    boolean
    getBoolean(int field)
    Returns specified field's value as boolean.
    boolean
    getBoolean(java.lang.String fieldName)
    Returns specified field's value as boolean.
    int
    Returns number of fields in the current record.
    getFieldType(int field)
    Returns field type.
    getFieldType(java.lang.String fieldName)
    Returns field type.
    double
    getFloat(int field)
    Returns specified field's value as float.
    double
    getFloat(java.lang.String fieldName)
    Returns specified field's value as float.
    long
    getInteger(int field)
    Returns specified field's value as integer.
    long
    getInteger(java.lang.String fieldName)
    Returns specified field's value as integer.
    long
    Returns limit of this cursor.
    long
    Returns number of rows accessible with this cursor.
    long
    Gets row Id of the current record.
    long
    Returns index of the current row.
    java.lang.Object[]
    Returns all field values of current row.
    java.lang.String
    getString(int field)
    Returns specified field's value as String.
    java.lang.String
    getString(java.lang.String fieldName)
    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.
    java.lang.Object
    getValue(java.lang.String fieldName)
    Returns value of the field with the specified name in the current row.
    boolean
    goTo(long rowId)
    Goes to the record with the specified row Id.
    boolean
    goToRow(long rowIndex)
    Goes to the row with the specified index.
    boolean
    isNull(int field)
    Tests field value for null.
    boolean
    isNull(java.lang.String fieldName)
    Tests field value for null.
    boolean
    Goes to the last record.
    boolean
    Goes to the next record.
    boolean
    Goes to the previous record.
    Returns cursor with the order reversed.
    void
    setLimit(long limit)
    Sets limit for this cursor.
    void
    update(java.lang.Object... values)
    Updates the current record.
    void
    updateByFieldNames(java.util.Map<java.lang.String,java.lang.Object> values)
    Updates the current record.
    void
    updateByFieldNamesOr(SqlJetConflictAction onConflict, java.util.Map<java.lang.String,java.lang.Object> values)
    Updates the current record.
    void
    updateOr(SqlJetConflictAction onConflict, java.lang.Object... values)
    Updates the current record.
    long
    updateWithRowId(long rowId, java.lang.Object... values)
    Updates rowId and values in the current record.
    long
    updateWithRowIdOr(SqlJetConflictAction onConflict, long rowId, java.lang.Object... values)
    Updates rowId and values in the current record.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait