|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sqlite.jdbc.JdbcResultSet
public class JdbcResultSet
Field Summary |
---|
Fields inherited from interface java.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 | |
---|---|
JdbcResultSet(java.sql.Statement owner,
Statement stmt)
default constructor. |
Method Summary | |
---|---|
boolean |
absolute(int row)
|
void |
afterLast()
|
void |
beforeFirst()
|
void |
cancelRowUpdates()
Not supporetd yet. |
void |
clearWarnings()
|
void |
close()
invoke org.sqlite.Statement#close() or org.sqlite.Statement#reset() method. |
void |
deleteRow()
Not supporetd yet. |
int |
findColumn(java.lang.String columnLabel)
Maps the given ResultSet suggested column title to its ResultSet column index. |
boolean |
first()
|
java.sql.Array |
getArray(int columnIndex)
Not supporetd yet. |
java.sql.Array |
getArray(java.lang.String columnLabel)
invoke findColumn(String) method and getArray(int) method. |
java.io.InputStream |
getAsciiStream(int columnIndex)
Not supporetd yet. |
java.io.InputStream |
getAsciiStream(java.lang.String columnLabel)
invoke findColumn(String) method and getAsciiStream(int) method. |
java.math.BigDecimal |
getBigDecimal(int columnIndex)
invoke org.sqlite.Statement#getString(int) method. |
java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale)
invoke org.sqlite.Statement#getString(int) method. |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnLabel)
invoke findColumn(String) method and getBigDecimal(int) method. |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnLabel,
int scale)
invoke findColumn(String) method and getBigDecimal(int, int) method. |
java.io.InputStream |
getBinaryStream(int columnIndex)
invoke getBlob(int) method and JdbcBlob#getBinaryStream() method. |
java.io.InputStream |
getBinaryStream(java.lang.String columnLabel)
invoke findColumn(String) method and getBinaryStream(int) method. |
JdbcBlob |
getBlob(int columnIndex)
|
JdbcBlob |
getBlob(java.lang.String columnLabel)
invoke findColumn(String) method and getBlob(int) method. |
boolean |
getBoolean(int columnIndex)
invoke org.sqlite.Statement#getInt(int) method. |
boolean |
getBoolean(java.lang.String columnLabel)
invoke findColumn(String) method and getBoolean(int) method. |
byte |
getByte(int columnIndex)
invoke org.sqlite.Statement#getInt(int) method. |
byte |
getByte(java.lang.String columnLabel)
invoke findColumn(String) method and getByte(int) method. |
byte[] |
getBytes(int columnIndex)
invoke org.sqlite.Statement#getBytes(int) method. |
byte[] |
getBytes(java.lang.String columnLabel)
invoke findColumn(String) method and getBytes(int) method. |
java.io.Reader |
getCharacterStream(int columnIndex)
Not supporetd yet. |
java.io.Reader |
getCharacterStream(java.lang.String columnLabel)
Not supporetd yet. |
java.sql.Clob |
getClob(int columnIndex)
Not supporetd yet. |
java.sql.Clob |
getClob(java.lang.String columnLabel)
invoke findColumn(String) method and getClob(int) method. |
int |
getConcurrency()
It always returns CONCUR_READ_ONLY. |
java.lang.String |
getCursorName()
Not supporetd yet. |
java.sql.Date |
getDate(int columnIndex)
invoke org.sqlite.Statement#getString(int) method. |
java.sql.Date |
getDate(int columnIndex,
java.util.Calendar cal)
invoke getDate(int) method and new Date(long). |
java.sql.Date |
getDate(java.lang.String columnLabel)
invoke findColumn(String) method and getDate(int) method. |
java.sql.Date |
getDate(java.lang.String columnLabel,
java.util.Calendar cal)
invoke findColumn(String) method and getDate(int, Calendar) method. |
double |
getDouble(int columnIndex)
invoke org.sqlite.Statement#getDouble(int) method. |
double |
getDouble(java.lang.String columnLabel)
invoke findColumn(String) method and getDouble(int) method. |
int |
getFetchDirection()
It always returns FETCH_FORWARD. |
int |
getFetchSize()
It always returns 0. |
float |
getFloat(int columnIndex)
invoke org.sqlite.Statement#getDouble(int) method. |
float |
getFloat(java.lang.String columnLabel)
invoke findColumn(String) method and getFloat(int) method. |
int |
getInt(int columnIndex)
invoke org.sqlite.Statement#getInt(int) method. |
int |
getInt(java.lang.String columnLabel)
invoke findColumn(String) method and getInt(int) method. |
long |
getLong(int columnIndex)
invoke org.sqlite.Statement#getLong(int) method. |
long |
getLong(java.lang.String columnLabel)
invoke findColumn(String) method and getLong(int) method. |
JdbcResultSetMetaData |
getMetaData()
|
java.lang.Object |
getObject(int columnIndex)
|
java.lang.Object |
getObject(int columnIndex,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
Not supporetd yet. |
java.lang.Object |
getObject(java.lang.String columnLabel)
invoke findColumn(String) method and getObject(int) method. |
java.lang.Object |
getObject(java.lang.String columnLabel,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
invoke findColumn(String) method and getObject(int, Map) method. |
java.sql.Ref |
getRef(int columnIndex)
Not supporetd yet. |
java.sql.Ref |
getRef(java.lang.String columnLabel)
invoke findColumn(String) method and getRef(int) method. |
int |
getRow()
|
short |
getShort(int columnIndex)
invoke org.sqlite.Statement#getInt(int) method. |
short |
getShort(java.lang.String columnLabel)
invoke findColumn(String) method and getShort(int) method. |
java.sql.Statement |
getStatement()
|
java.lang.String |
getString(int columnIndex)
invoke org.sqlite.Statement#getString(int) method. |
java.lang.String |
getString(java.lang.String columnLabel)
invoke findColumn(String) method and getString(int) method. |
java.sql.Time |
getTime(int columnIndex)
invoke org.sqlite.Statement#getString(int) method. |
java.sql.Time |
getTime(int columnIndex,
java.util.Calendar cal)
invoke getTime(int) method and new Time(long). |
java.sql.Time |
getTime(java.lang.String columnLabel)
invoke findColumn(String) method and getTime(int) method. |
java.sql.Time |
getTime(java.lang.String columnLabel,
java.util.Calendar cal)
invoke findColumn(String) method and getTime(int, Calendar) method. |
java.sql.Timestamp |
getTimestamp(int columnIndex)
invoke org.sqlite.Statement#getString(int) method. |
java.sql.Timestamp |
getTimestamp(int columnIndex,
java.util.Calendar cal)
invoke getTimestamp(int) method and new Timestamp(long). |
java.sql.Timestamp |
getTimestamp(java.lang.String columnLabel)
invoke findColumn(String) method and getTimestamp(int) method. |
java.sql.Timestamp |
getTimestamp(java.lang.String columnLabel,
java.util.Calendar cal)
invoke findColumn(String) method and getTimestamp(int, Calendar) method. |
int |
getType()
It always returns TYPE_FORWARD_ONLY. |
java.io.InputStream |
getUnicodeStream(int columnIndex)
Not supporetd yet. |
java.io.InputStream |
getUnicodeStream(java.lang.String columnLabel)
invoke findColumn(String) method and getUnicodeStream(int) method. |
java.net.URL |
getURL(int columnIndex)
invoke getString(int) method and new URL(String). |
java.net.URL |
getURL(java.lang.String columnLabel)
invoke findColumn(String) method and getURL(int) method. |
java.sql.SQLWarning |
getWarnings()
|
void |
insertRow()
Not supporetd yet. |
boolean |
isAfterLast()
|
boolean |
isBeforeFirst()
|
boolean |
isClosed()
|
boolean |
isFirst()
|
boolean |
isLast()
|
boolean |
isNull(int columnIndex)
Returns true if the Statement#getColumnType() method returns SQLITE_NULL. |
boolean |
isNull(java.lang.String columnLabel)
invoke findColumn(String) method and isNull(int) method. |
boolean |
last()
|
void |
moveToCurrentRow()
Not supporetd yet. |
void |
moveToInsertRow()
Not supporetd yet. |
boolean |
next()
invoke org.sqlite.Statement#step() method. |
boolean |
previous()
|
void |
refreshRow()
Not supporetd yet. |
boolean |
relative(int rows)
|
boolean |
rowDeleted()
Not supporetd yet. |
boolean |
rowInserted()
Not supporetd yet. |
boolean |
rowUpdated()
Not supporetd yet. |
void |
setFetchDirection(int direction)
Supported fetch direction is FETCH_FORWARD only. |
void |
setFetchSize(int rows)
Not supporetd yet. |
void |
updateArray(int columnIndex,
java.sql.Array arg1)
Not supporetd yet. |
void |
updateArray(java.lang.String columnLabel,
java.sql.Array arg1)
Not supporetd yet. |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream arg1,
int arg2)
Not supporetd yet. |
void |
updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream arg1,
int arg2)
Not supporetd yet. |
void |
updateBigDecimal(int columnIndex,
java.math.BigDecimal arg1)
Not supporetd yet. |
void |
updateBigDecimal(java.lang.String columnLabel,
java.math.BigDecimal arg1)
Not supporetd yet. |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream arg1,
int arg2)
Not supporetd yet. |
void |
updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream arg1,
int arg2)
Not supporetd yet. |
void |
updateBlob(int columnIndex,
java.sql.Blob arg1)
Not supporetd yet. |
void |
updateBlob(java.lang.String columnLabel,
java.sql.Blob arg1)
Not supporetd yet. |
void |
updateBoolean(int columnIndex,
boolean arg1)
Not supporetd yet. |
void |
updateBoolean(java.lang.String columnLabel,
boolean arg1)
Not supporetd yet. |
void |
updateByte(int columnIndex,
byte arg1)
Not supporetd yet. |
void |
updateByte(java.lang.String columnLabel,
byte arg1)
Not supporetd yet. |
void |
updateBytes(int columnIndex,
byte[] arg1)
Not supporetd yet. |
void |
updateBytes(java.lang.String columnLabel,
byte[] arg1)
Not supporetd yet. |
void |
updateCharacterStream(int columnIndex,
java.io.Reader arg1,
int arg2)
Not supporetd yet. |
void |
updateCharacterStream(java.lang.String columnLabel,
java.io.Reader arg1,
int arg2)
Not supporetd yet. |
void |
updateClob(int columnIndex,
java.sql.Clob arg1)
Not supporetd yet. |
void |
updateClob(java.lang.String columnLabel,
java.sql.Clob arg1)
Not supporetd yet. |
void |
updateDate(int columnIndex,
java.sql.Date arg1)
Not supporetd yet. |
void |
updateDate(java.lang.String columnLabel,
java.sql.Date arg1)
Not supporetd yet. |
void |
updateDouble(int columnIndex,
double arg1)
Not supporetd yet. |
void |
updateDouble(java.lang.String columnLabel,
double arg1)
Not supporetd yet. |
void |
updateFloat(int columnIndex,
float arg1)
Not supporetd yet. |
void |
updateFloat(java.lang.String columnLabel,
float arg1)
Not supporetd yet. |
void |
updateInt(int columnIndex,
int arg1)
Not supporetd yet. |
void |
updateInt(java.lang.String columnLabel,
int arg1)
Not supporetd yet. |
void |
updateLong(int columnIndex,
long arg1)
Not supporetd yet. |
void |
updateLong(java.lang.String columnLabel,
long arg1)
Not supporetd yet. |
void |
updateNull(int columnIndex)
Not supporetd yet. |
void |
updateNull(java.lang.String columnLabel)
Not supporetd yet. |
void |
updateObject(int columnIndex,
java.lang.Object arg1)
Not supporetd yet. |
void |
updateObject(int columnIndex,
java.lang.Object arg1,
int arg2)
Not supporetd yet. |
void |
updateObject(java.lang.String columnLabel,
java.lang.Object arg1)
Not supporetd yet. |
void |
updateObject(java.lang.String columnLabel,
java.lang.Object arg1,
int arg2)
Not supporetd yet. |
void |
updateRef(int columnIndex,
java.sql.Ref arg1)
Not supporetd yet. |
void |
updateRef(java.lang.String columnLabel,
java.sql.Ref arg1)
Not supporetd yet. |
void |
updateRow()
Not supporetd yet. |
void |
updateShort(int columnIndex,
short arg1)
Not supporetd yet. |
void |
updateShort(java.lang.String columnLabel,
short arg1)
Not supporetd yet. |
void |
updateString(int columnIndex,
java.lang.String arg1)
Not supporetd yet. |
void |
updateString(java.lang.String columnLabel,
java.lang.String arg1)
Not supporetd yet. |
void |
updateTime(int columnIndex,
java.sql.Time arg1)
Not supporetd yet. |
void |
updateTime(java.lang.String columnLabel,
java.sql.Time arg1)
Not supporetd yet. |
void |
updateTimestamp(int columnIndex,
java.sql.Timestamp arg1)
Not supporetd yet. |
void |
updateTimestamp(java.lang.String columnLabel,
java.sql.Timestamp arg1)
Not supporetd yet. |
static void |
validateResultSetConcurrency(int resultSetConcurrency)
|
static void |
validateResultSetFetchDirection(int direction)
|
static void |
validateResultSetHoldability(int resultSetHoldability)
|
protected void |
validateResultSetOpen()
|
static void |
validateResultSetType(int resultSetType)
|
boolean |
wasNull()
invoke isNull(last column read index) method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdbcResultSet(java.sql.Statement owner, Statement stmt)
owner
- stmt
- Method Detail |
---|
public boolean next() throws java.sql.SQLException
next
in interface java.sql.ResultSet
java.sql.SQLException
Statement.step()
public void close() throws java.sql.SQLException
close
in interface java.sql.ResultSet
java.sql.SQLException
Statement.close()
,
Statement.reset()
public boolean wasNull() throws java.sql.SQLException
wasNull
in interface java.sql.ResultSet
java.sql.SQLException
isNull(int)
public java.lang.String getString(int columnIndex) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getString(int)
public boolean getBoolean(int columnIndex) throws java.sql.SQLException
getBoolean
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getInt(int)
public byte getByte(int columnIndex) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getInt(int)
public short getShort(int columnIndex) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getInt(int)
public int getInt(int columnIndex) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getInt(int)
public long getLong(int columnIndex) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getLong(int)
public float getFloat(int columnIndex) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getDouble(int)
public double getDouble(int columnIndex) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getDouble(int)
public java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...scale
- the number of digits to the right of the decimal point
java.sql.SQLException
Statement.getString(int)
,
BigDecimal.setScale(int)
public byte[] getBytes(int columnIndex) throws java.sql.SQLException
getBytes
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getBytes(int)
public java.sql.Date getDate(int columnIndex) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getString(int)
,
SQLite3.parseDate(String)
public java.sql.Time getTime(int columnIndex) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getString(int)
,
SQLite3.parseTime(String)
public java.sql.Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getString(int)
,
SQLite3.parseTimestamp(String)
public java.io.InputStream getAsciiStream(int columnIndex) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLException
getUnicodeStream
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public java.io.InputStream getBinaryStream(int columnIndex) throws java.sql.SQLException
getBinaryStream
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
getBlob(int)
,
JdbcBlob.getBinaryStream()
public java.lang.String getString(java.lang.String columnLabel) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getString(int)
public boolean getBoolean(java.lang.String columnLabel) throws java.sql.SQLException
getBoolean
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getBoolean(int)
public byte getByte(java.lang.String columnLabel) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getByte(int)
public short getShort(java.lang.String columnLabel) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getShort(int)
public int getInt(java.lang.String columnLabel) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getInt(int)
public long getLong(java.lang.String columnLabel) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getLong(int)
public float getFloat(java.lang.String columnLabel) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getFloat(int)
public double getDouble(java.lang.String columnLabel) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getDouble(int)
public java.math.BigDecimal getBigDecimal(java.lang.String columnLabel, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
columnLabel
- the suggested column titlescale
- the number of digits to the right of the decimal point
java.sql.SQLException
findColumn(String)
,
getBigDecimal(int, int)
public byte[] getBytes(java.lang.String columnLabel) throws java.sql.SQLException
getBytes
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getBytes(int)
public java.sql.Date getDate(java.lang.String columnLabel) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getDate(int)
public java.sql.Time getTime(java.lang.String columnLabel) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getTime(int)
public java.sql.Timestamp getTimestamp(java.lang.String columnLabel) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getTimestamp(int)
public java.io.InputStream getAsciiStream(java.lang.String columnLabel) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getAsciiStream(int)
public java.io.InputStream getUnicodeStream(java.lang.String columnLabel) throws java.sql.SQLException
getUnicodeStream
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getUnicodeStream(int)
public java.io.InputStream getBinaryStream(java.lang.String columnLabel) throws java.sql.SQLException
getBinaryStream
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getBinaryStream(int)
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
getWarnings
in interface java.sql.ResultSet
java.sql.SQLException
public void clearWarnings() throws java.sql.SQLException
clearWarnings
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.String getCursorName() throws java.sql.SQLException
getCursorName
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public JdbcResultSetMetaData getMetaData() throws java.sql.SQLException
getMetaData
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.Object getObject(int columnIndex) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
public java.lang.Object getObject(java.lang.String columnLabel) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getObject(int)
public int findColumn(java.lang.String columnLabel) throws java.sql.SQLException
findColumn
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
- if the ResultSet object does not contain columnLabel or a database access error occursStatement.getColumnLabel(int)
public java.io.Reader getCharacterStream(int columnIndex) throws java.sql.SQLException
getCharacterStream
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public java.io.Reader getCharacterStream(java.lang.String columnLabel) throws java.sql.SQLException
getCharacterStream
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public java.math.BigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getString(int)
public java.math.BigDecimal getBigDecimal(java.lang.String columnLabel) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getBigDecimal(int)
public boolean isBeforeFirst() throws java.sql.SQLException
isBeforeFirst
in interface java.sql.ResultSet
java.sql.SQLException
public boolean isAfterLast() throws java.sql.SQLException
isAfterLast
in interface java.sql.ResultSet
java.sql.SQLException
public boolean isFirst() throws java.sql.SQLException
isFirst
in interface java.sql.ResultSet
java.sql.SQLException
public boolean isLast() throws java.sql.SQLException
isLast
in interface java.sql.ResultSet
java.sql.SQLException
public void beforeFirst() throws java.sql.SQLException
beforeFirst
in interface java.sql.ResultSet
java.sql.SQLException
public void afterLast() throws java.sql.SQLException
afterLast
in interface java.sql.ResultSet
java.sql.SQLException
public boolean first() throws java.sql.SQLException
first
in interface java.sql.ResultSet
java.sql.SQLException
public boolean last() throws java.sql.SQLException
last
in interface java.sql.ResultSet
java.sql.SQLException
public int getRow() throws java.sql.SQLException
getRow
in interface java.sql.ResultSet
java.sql.SQLException
public boolean absolute(int row) throws java.sql.SQLException
absolute
in interface java.sql.ResultSet
row
-
java.sql.SQLException
public boolean relative(int rows) throws java.sql.SQLException
relative
in interface java.sql.ResultSet
rows
-
java.sql.SQLException
public boolean previous() throws java.sql.SQLException
previous
in interface java.sql.ResultSet
java.sql.SQLException
public void setFetchDirection(int direction) throws java.sql.SQLException
setFetchDirection
in interface java.sql.ResultSet
direction
-
java.sql.SQLException
public int getFetchDirection() throws java.sql.SQLException
getFetchDirection
in interface java.sql.ResultSet
java.sql.SQLException
public void setFetchSize(int rows) throws java.sql.SQLException
setFetchSize
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public int getFetchSize() throws java.sql.SQLException
getFetchSize
in interface java.sql.ResultSet
java.sql.SQLException
public int getType() throws java.sql.SQLException
getType
in interface java.sql.ResultSet
java.sql.SQLException
public int getConcurrency() throws java.sql.SQLException
getConcurrency
in interface java.sql.ResultSet
java.sql.SQLException
public boolean rowUpdated() throws java.sql.SQLException
rowUpdated
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public boolean rowInserted() throws java.sql.SQLException
rowInserted
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public boolean rowDeleted() throws java.sql.SQLException
rowDeleted
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateNull(int columnIndex) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateBoolean(int columnIndex, boolean arg1) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateByte(int columnIndex, byte arg1) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateShort(int columnIndex, short arg1) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateInt(int columnIndex, int arg1) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateLong(int columnIndex, long arg1) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateFloat(int columnIndex, float arg1) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateDouble(int columnIndex, double arg1) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateBigDecimal(int columnIndex, java.math.BigDecimal arg1) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateString(int columnIndex, java.lang.String arg1) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateBytes(int columnIndex, byte[] arg1) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateDate(int columnIndex, java.sql.Date arg1) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateTime(int columnIndex, java.sql.Time arg1) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateTimestamp(int columnIndex, java.sql.Timestamp arg1) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateAsciiStream(int columnIndex, java.io.InputStream arg1, int arg2) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateBinaryStream(int columnIndex, java.io.InputStream arg1, int arg2) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateCharacterStream(int columnIndex, java.io.Reader arg1, int arg2) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object arg1, int arg2) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object arg1) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateNull(java.lang.String columnLabel) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateBoolean(java.lang.String columnLabel, boolean arg1) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateByte(java.lang.String columnLabel, byte arg1) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateShort(java.lang.String columnLabel, short arg1) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateInt(java.lang.String columnLabel, int arg1) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateLong(java.lang.String columnLabel, long arg1) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateFloat(java.lang.String columnLabel, float arg1) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateDouble(java.lang.String columnLabel, double arg1) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal arg1) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateString(java.lang.String columnLabel, java.lang.String arg1) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateBytes(java.lang.String columnLabel, byte[] arg1) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateDate(java.lang.String columnLabel, java.sql.Date arg1) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateTime(java.lang.String columnLabel, java.sql.Time arg1) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateTimestamp(java.lang.String columnLabel, java.sql.Timestamp arg1) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream arg1, int arg2) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream arg1, int arg2) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader arg1, int arg2) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateObject(java.lang.String columnLabel, java.lang.Object arg1, int arg2) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateObject(java.lang.String columnLabel, java.lang.Object arg1) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void insertRow() throws java.sql.SQLException
insertRow
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateRow() throws java.sql.SQLException
updateRow
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void deleteRow() throws java.sql.SQLException
deleteRow
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void refreshRow() throws java.sql.SQLException
refreshRow
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void cancelRowUpdates() throws java.sql.SQLException
cancelRowUpdates
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void moveToInsertRow() throws java.sql.SQLException
moveToInsertRow
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void moveToCurrentRow() throws java.sql.SQLException
moveToCurrentRow
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Statement getStatement() throws java.sql.SQLException
getStatement
in interface java.sql.ResultSet
java.sql.SQLException
public java.lang.Object getObject(int columnIndex, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public java.sql.Ref getRef(int columnIndex) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public JdbcBlob getBlob(int columnIndex) throws java.sql.SQLException
getBlob
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
public java.sql.Clob getClob(int columnIndex) throws java.sql.SQLException
getClob
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public java.sql.Array getArray(int columnIndex) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public java.lang.Object getObject(java.lang.String columnLabel, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
columnLabel
- the suggested column titlemap
- a java.util.Map object that contains the mapping from SQL type names to classes in the Java programming language
java.sql.SQLException
findColumn(String)
,
getObject(int, Map)
public java.sql.Ref getRef(java.lang.String columnLabel) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getRef(int)
public JdbcBlob getBlob(java.lang.String columnLabel) throws java.sql.SQLException
getBlob
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getBlob(int)
public java.sql.Clob getClob(java.lang.String columnLabel) throws java.sql.SQLException
getClob
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getClob(int)
public java.sql.Array getArray(java.lang.String columnLabel) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getArray(int)
public java.sql.Date getDate(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...cal
- the java.util.Calendar object to use in constructing the date
java.sql.SQLException
getDate(int)
public java.sql.Date getDate(java.lang.String columnLabel, java.util.Calendar cal) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
columnLabel
- the suggested column titlecal
- the java.util.Calendar object to use in constructing the date
java.sql.SQLException
findColumn(String)
,
getDate(int, Calendar)
public java.sql.Time getTime(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...cal
- the java.util.Calendar object to use in constructing the date
java.sql.SQLException
getTime(int)
public java.sql.Time getTime(java.lang.String columnLabel, java.util.Calendar cal) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
columnLabel
- the suggested column titlecal
- the java.util.Calendar object to use in constructing the date
java.sql.SQLException
findColumn(String)
,
getTime(int, Calendar)
public java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...cal
- the java.util.Calendar object to use in constructing the date
java.sql.SQLException
getTimestamp(int)
public java.sql.Timestamp getTimestamp(java.lang.String columnLabel, java.util.Calendar cal) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
columnLabel
- the suggested column titlecal
- the java.util.Calendar object to use in constructing the date
java.sql.SQLException
findColumn(String)
,
getTimestamp(int, Calendar)
public java.net.URL getURL(int columnIndex) throws java.sql.SQLException
getURL
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
getString(int)
public java.net.URL getURL(java.lang.String columnLabel) throws java.sql.SQLException
getURL
in interface java.sql.ResultSet
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
getURL(int)
public void updateRef(int columnIndex, java.sql.Ref arg1) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateRef(java.lang.String columnLabel, java.sql.Ref arg1) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateBlob(int columnIndex, java.sql.Blob arg1) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateBlob(java.lang.String columnLabel, java.sql.Blob arg1) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateClob(int columnIndex, java.sql.Clob arg1) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateClob(java.lang.String columnLabel, java.sql.Clob arg1) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateArray(int columnIndex, java.sql.Array arg1) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public void updateArray(java.lang.String columnLabel, java.sql.Array arg1) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
java.lang.UnsupportedOperationException
java.sql.SQLException
public boolean isClosed() throws java.sql.SQLException
java.sql.SQLException
protected void validateResultSetOpen() throws java.sql.SQLException
java.sql.SQLException
public static void validateResultSetType(int resultSetType) throws java.sql.SQLException
resultSetType
-
java.sql.SQLException
public static void validateResultSetConcurrency(int resultSetConcurrency) throws java.sql.SQLException
resultSetConcurrency
-
java.sql.SQLException
public static void validateResultSetHoldability(int resultSetHoldability) throws java.sql.SQLException
resultSetHoldability
-
java.sql.SQLException
public static void validateResultSetFetchDirection(int direction) throws java.sql.SQLException
direction
-
java.sql.SQLException
public boolean isNull(int columnIndex) throws java.sql.SQLException
columnIndex
- the first column is 1, the second is 2, ...
java.sql.SQLException
Statement.getColumnType(int)
public boolean isNull(java.lang.String columnLabel) throws java.sql.SQLException
columnLabel
- the suggested column title
java.sql.SQLException
findColumn(String)
,
isNull(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |