Package totalcross.sql.sqlite4j
Class SQLite4JResultSet
- java.lang.Object
-
- totalcross.sql.sqlite4j.SQLite4JResultSet
-
-
Field Summary
-
Fields inherited from interface totalcross.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
-
-
Constructor Summary
Constructors Constructor Description SQLite4JResultSet(java.sql.ResultSet rs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanabsolute(int row)voidafterLast()voidbeforeFirst()voidclearWarnings()voidclose()intfindColumn(java.lang.String columnName)booleanfirst()BigDecimalgetBigDecimal(int columnIndex)BigDecimalgetBigDecimal(int columnIndex, int scale)BigDecimalgetBigDecimal(java.lang.String columnName)BigDecimalgetBigDecimal(java.lang.String columnName, int scale)booleangetBoolean(int columnIndex)booleangetBoolean(java.lang.String columnName)bytegetByte(int columnIndex)bytegetByte(java.lang.String columnName)byte[]getBytes(int columnIndex)byte[]getBytes(java.lang.String columnName)intgetConcurrency()java.lang.StringgetCursorName()DategetDate(int columnIndex)DategetDate(java.lang.String columnName)doublegetDouble(int columnIndex)doublegetDouble(java.lang.String columnName)intgetFetchDirection()intgetFetchSize()doublegetFloat(int columnIndex)doublegetFloat(java.lang.String columnName)intgetInt(int columnIndex)intgetInt(java.lang.String columnName)longgetLong(int columnIndex)longgetLong(java.lang.String columnName)ResultSetMetaDatagetMetaData()java.lang.ObjectgetObject(int columnIndex)java.lang.ObjectgetObject(java.lang.String columnName)intgetRow()shortgetShort(int columnIndex)shortgetShort(java.lang.String columnName)StatementgetStatement()java.lang.StringgetString(int columnIndex)java.lang.StringgetString(java.lang.String columnName)TimegetTime(int columnIndex)TimegetTime(java.lang.String columnName)TimestampgetTimestamp(int columnIndex)TimestampgetTimestamp(java.lang.String columnName)intgetType()java.sql.SQLWarninggetWarnings()booleanisAfterLast()booleanisBeforeFirst()booleanisFirst()booleanisLast()booleanlast()booleannext()booleanprevious()booleanrelative(int rows)voidsetFetchDirection(int direction)voidsetFetchSize(int rows)booleanwasNull()
-
-
-
Method Detail
-
next
public boolean next() throws java.sql.SQLException
-
close
public void close() throws java.sql.SQLException
-
wasNull
public boolean wasNull() throws java.sql.SQLException
-
getString
public java.lang.String getString(int columnIndex) throws java.sql.SQLException
-
getBoolean
public boolean getBoolean(int columnIndex) throws java.sql.SQLException- Specified by:
getBooleanin interfaceResultSet- Throws:
java.sql.SQLException
-
getByte
public byte getByte(int columnIndex) throws java.sql.SQLException
-
getShort
public short getShort(int columnIndex) throws java.sql.SQLException
-
getInt
public int getInt(int columnIndex) throws java.sql.SQLException
-
getLong
public long getLong(int columnIndex) throws java.sql.SQLException
-
getFloat
public double getFloat(int columnIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getDouble
public double getDouble(int columnIndex) throws java.sql.SQLException
-
getBigDecimal
public BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLException
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
java.sql.SQLException
-
getBytes
public byte[] getBytes(int columnIndex) throws java.sql.SQLException
-
getDate
public Date getDate(int columnIndex) throws java.sql.SQLException
-
getTime
public Time getTime(int columnIndex) throws java.sql.SQLException
-
getTimestamp
public Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException
- Specified by:
getTimestampin interfaceResultSet- Throws:
java.sql.SQLException
-
getString
public java.lang.String getString(java.lang.String columnName) throws java.sql.SQLException
-
getBoolean
public boolean getBoolean(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBooleanin interfaceResultSet- Throws:
java.sql.SQLException
-
getByte
public byte getByte(java.lang.String columnName) throws java.sql.SQLException
-
getShort
public short getShort(java.lang.String columnName) throws java.sql.SQLException
-
getInt
public int getInt(java.lang.String columnName) throws java.sql.SQLException
-
getLong
public long getLong(java.lang.String columnName) throws java.sql.SQLException
-
getFloat
public double getFloat(java.lang.String columnName) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getDouble
public double getDouble(java.lang.String columnName) throws java.sql.SQLException
-
getBigDecimal
public BigDecimal getBigDecimal(java.lang.String columnName, int scale) throws java.sql.SQLException
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
java.sql.SQLException
-
getBytes
public byte[] getBytes(java.lang.String columnName) throws java.sql.SQLException
-
getDate
public Date getDate(java.lang.String columnName) throws java.sql.SQLException
-
getTime
public Time getTime(java.lang.String columnName) throws java.sql.SQLException
-
getTimestamp
public Timestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException
- Specified by:
getTimestampin interfaceResultSet- Throws:
java.sql.SQLException
-
getWarnings
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException- Specified by:
getWarningsin interfaceResultSet- Throws:
java.sql.SQLException
-
clearWarnings
public void clearWarnings() throws java.sql.SQLException- Specified by:
clearWarningsin interfaceResultSet- Throws:
java.sql.SQLException
-
getCursorName
public java.lang.String getCursorName() throws java.sql.SQLException- Specified by:
getCursorNamein interfaceResultSet- Throws:
java.sql.SQLException
-
getMetaData
public ResultSetMetaData getMetaData() throws java.sql.SQLException
- Specified by:
getMetaDatain interfaceResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(int columnIndex) throws java.sql.SQLException
-
getObject
public java.lang.Object getObject(java.lang.String columnName) throws java.sql.SQLException
-
findColumn
public int findColumn(java.lang.String columnName) throws java.sql.SQLException- Specified by:
findColumnin interfaceResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public BigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public BigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
java.sql.SQLException
-
isBeforeFirst
public boolean isBeforeFirst() throws java.sql.SQLException- Specified by:
isBeforeFirstin interfaceResultSet- Throws:
java.sql.SQLException
-
isAfterLast
public boolean isAfterLast() throws java.sql.SQLException- Specified by:
isAfterLastin interfaceResultSet- Throws:
java.sql.SQLException
-
isFirst
public boolean isFirst() throws java.sql.SQLException
-
isLast
public boolean isLast() throws java.sql.SQLException
-
beforeFirst
public void beforeFirst() throws java.sql.SQLException- Specified by:
beforeFirstin interfaceResultSet- Throws:
java.sql.SQLException
-
afterLast
public void afterLast() throws java.sql.SQLException
-
first
public boolean first() throws java.sql.SQLException
-
last
public boolean last() throws java.sql.SQLException
-
getRow
public int getRow() throws java.sql.SQLException
-
absolute
public boolean absolute(int row) throws java.sql.SQLException
-
relative
public boolean relative(int rows) throws java.sql.SQLException
-
previous
public boolean previous() throws java.sql.SQLException
-
setFetchDirection
public void setFetchDirection(int direction) throws java.sql.SQLException- Specified by:
setFetchDirectionin interfaceResultSet- Throws:
java.sql.SQLException
-
getFetchDirection
public int getFetchDirection() throws java.sql.SQLException- Specified by:
getFetchDirectionin interfaceResultSet- Throws:
java.sql.SQLException
-
setFetchSize
public void setFetchSize(int rows) throws java.sql.SQLException- Specified by:
setFetchSizein interfaceResultSet- Throws:
java.sql.SQLException
-
getFetchSize
public int getFetchSize() throws java.sql.SQLException- Specified by:
getFetchSizein interfaceResultSet- Throws:
java.sql.SQLException
-
getType
public int getType() throws java.sql.SQLException
-
getConcurrency
public int getConcurrency() throws java.sql.SQLException- Specified by:
getConcurrencyin interfaceResultSet- Throws:
java.sql.SQLException
-
getStatement
public Statement getStatement() throws java.sql.SQLException
- Specified by:
getStatementin interfaceResultSet- Throws:
java.sql.SQLException
-
-