|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.database.DbResultSet
public abstract class DbResultSet
| Field Summary | |
|---|---|
protected boolean |
mFirstRowSkew
|
protected boolean |
mHasResultRows
|
protected ResultSet |
mResultSet
|
protected DbStatement |
mStatement
|
| 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 |
| Method Summary | |
|---|---|
boolean |
absolute(int row)
|
void |
afterLast()
|
void |
beforeFirst()
|
void |
cancelRowUpdates()
|
void |
clearWarnings()
|
Object |
clone()
Simply clones the instance with the default clone method. |
void |
close()
|
void |
deleteRow()
|
int |
findColumn(String columnName)
|
boolean |
first()
|
Array |
getArray(int i)
|
Array |
getArray(String colName)
|
InputStream |
getAsciiStream(int columnIndex)
|
InputStream |
getAsciiStream(String columnName)
|
BigDecimal |
getBigDecimal(int columnIndex)
|
BigDecimal |
getBigDecimal(int columnIndex,
int scale)
|
BigDecimal |
getBigDecimal(String columnName)
|
BigDecimal |
getBigDecimal(String columnName,
int scale)
|
InputStream |
getBinaryStream(int columnIndex)
|
InputStream |
getBinaryStream(String columnName)
|
Blob |
getBlob(int i)
|
Blob |
getBlob(String colName)
|
boolean |
getBoolean(int columnIndex)
|
boolean |
getBoolean(String columnName)
|
byte |
getByte(int columnIndex)
|
byte |
getByte(String columnName)
|
byte[] |
getBytes(int columnIndex)
|
byte[] |
getBytes(String columnName)
|
Reader |
getCharacterStream(int columnIndex)
|
Reader |
getCharacterStream(String columnName)
|
Clob |
getClob(int i)
|
Clob |
getClob(String colName)
|
int |
getConcurrency()
|
String |
getCursorName()
|
Date |
getDate(int columnIndex)
|
Date |
getDate(int columnIndex,
Calendar cal)
|
Date |
getDate(String columnName)
|
Date |
getDate(String columnName,
Calendar cal)
|
double |
getDouble(int columnIndex)
|
double |
getDouble(String columnName)
|
int |
getFetchDirection()
|
int |
getFetchSize()
|
InputStream |
getFirstAsciiStream()
Retrieves the first field of the first row of this DbResultSet object as an ascii stream. |
BigDecimal |
getFirstBigDecimal()
Retrieves the first field of the first row of this DbResultSet object as a big decimal. |
InputStream |
getFirstBinaryStream()
Retrieves the first field of the first row of this DbResultSet object as a binary stream. |
boolean |
getFirstBoolean()
Retrieves the first field of the first row of this DbResultSet object as a boolean. |
byte |
getFirstByte()
Retrieves the first field of the first row of this DbResultSet object as a byte. |
byte[] |
getFirstBytes()
Retrieves the first field of the first row of this DbResultSet object as an array of bytes. |
Reader |
getFirstCharacterStream()
Retrieves the first field of the first row of this DbResultSet object as a character stream. |
Date |
getFirstDate()
Retrieves the first field of the first row of this DbResultSet object as a sql date. |
Date |
getFirstDate(Calendar cal)
Retrieves the first field of the first row of this DbResultSet object as a sql date. |
double |
getFirstDouble()
Retrieves the first field of the first row of this DbResultSet object as a double. |
float |
getFirstFloat()
Retrieves the first field of the first row of this DbResultSet object as a float. |
int |
getFirstInt()
Retrieves the first field of the first row of this DbResultSet object as an integer. |
long |
getFirstLong()
Retrieves the first field of the first row of this DbResultSet object as a long. |
short |
getFirstShort()
Retrieves the first field of the first row of this DbResultSet object as a short. |
String |
getFirstString()
Retrieves the first field of the first row of this DbResultSet object as a string. |
Time |
getFirstTime()
Retrieves the first field of the first row of this DbResultSet object as a sql time. |
Time |
getFirstTime(Calendar cal)
Retrieves the first field of the first row of this DbResultSet object as a sql time. |
Timestamp |
getFirstTimestamp()
Retrieves the first field of the first row of this DbResultSet object as a sql timestamo. |
Timestamp |
getFirstTimestamp(Calendar cal)
Retrieves the first field of the first row of this DbResultSet object as a sql timestamp. |
float |
getFloat(int columnIndex)
|
float |
getFloat(String columnName)
|
int |
getInt(int columnIndex)
|
int |
getInt(String columnName)
|
long |
getLong(int columnIndex)
|
long |
getLong(String columnName)
|
ResultSetMetaData |
getMetaData()
|
Object |
getObject(int columnIndex)
|
Object |
getObject(int i,
Map map)
|
Object |
getObject(String columnName)
|
Object |
getObject(String colName,
Map map)
|
Ref |
getRef(int i)
|
Ref |
getRef(String colName)
|
int |
getRow()
|
short |
getShort(int columnIndex)
|
short |
getShort(String columnName)
|
Statement |
getStatement()
|
String |
getString(int columnIndex)
|
String |
getString(String columnName)
|
Time |
getTime(int columnIndex)
|
Time |
getTime(int columnIndex,
Calendar cal)
|
Time |
getTime(String columnName)
|
Time |
getTime(String columnName,
Calendar cal)
|
Timestamp |
getTimestamp(int columnIndex)
|
Timestamp |
getTimestamp(int columnIndex,
Calendar cal)
|
Timestamp |
getTimestamp(String columnName)
|
Timestamp |
getTimestamp(String columnName,
Calendar cal)
|
int |
getType()
|
InputStream |
getUnicodeStream(int columnIndex)
|
InputStream |
getUnicodeStream(String columnName)
|
URL |
getURL(int columnIndex)
|
URL |
getURL(String columnName)
|
SQLWarning |
getWarnings()
|
boolean |
hasResultRows()
Determines if there are rows available in the ResultSet
object that was returned by an execute method. |
void |
insertRow()
|
boolean |
isAfterLast()
|
boolean |
isBeforeFirst()
|
boolean |
isFirst()
|
boolean |
isLast()
|
boolean |
last()
|
void |
moveToCurrentRow()
|
void |
moveToInsertRow()
|
boolean |
next()
|
boolean |
previous()
|
void |
refreshRow()
|
boolean |
relative(int rows)
|
boolean |
rowDeleted()
|
boolean |
rowInserted()
|
boolean |
rowUpdated()
|
void |
setFetchDirection(int direction)
|
void |
setFetchSize(int rows)
|
void |
updateArray(int columnIndex,
Array x)
|
void |
updateArray(String columnName,
Array x)
|
void |
updateAsciiStream(int columnIndex,
InputStream x,
int length)
|
void |
updateAsciiStream(String columnName,
InputStream x,
int length)
|
void |
updateBigDecimal(int columnIndex,
BigDecimal x)
|
void |
updateBigDecimal(String columnName,
BigDecimal x)
|
void |
updateBinaryStream(int columnIndex,
InputStream x,
int length)
|
void |
updateBinaryStream(String columnName,
InputStream x,
int length)
|
void |
updateBlob(int columnIndex,
Blob x)
|
void |
updateBlob(String columnName,
Blob x)
|
void |
updateBoolean(int columnIndex,
boolean x)
|
void |
updateBoolean(String columnName,
boolean x)
|
void |
updateByte(int columnIndex,
byte x)
|
void |
updateByte(String columnName,
byte x)
|
void |
updateBytes(int columnIndex,
byte[] x)
|
void |
updateBytes(String columnName,
byte[] x)
|
void |
updateCharacterStream(int columnIndex,
Reader x,
int length)
|
void |
updateCharacterStream(String columnName,
Reader reader,
int length)
|
void |
updateClob(int columnIndex,
Clob x)
|
void |
updateClob(String columnName,
Clob x)
|
void |
updateDate(int columnIndex,
Date x)
|
void |
updateDate(String columnName,
Date x)
|
void |
updateDouble(int columnIndex,
double x)
|
void |
updateDouble(String columnName,
double x)
|
void |
updateFloat(int columnIndex,
float x)
|
void |
updateFloat(String columnName,
float x)
|
void |
updateInt(int columnIndex,
int x)
|
void |
updateInt(String columnName,
int x)
|
void |
updateLong(int columnIndex,
long x)
|
void |
updateLong(String columnName,
long x)
|
void |
updateNull(int columnIndex)
|
void |
updateNull(String columnName)
|
void |
updateObject(int columnIndex,
Object x)
|
void |
updateObject(int columnIndex,
Object x,
int scale)
|
void |
updateObject(String columnName,
Object x)
|
void |
updateObject(String columnName,
Object x,
int scale)
|
void |
updateRef(int columnIndex,
Ref x)
|
void |
updateRef(String columnName,
Ref x)
|
void |
updateRow()
|
void |
updateShort(int columnIndex,
short x)
|
void |
updateShort(String columnName,
short x)
|
void |
updateString(int columnIndex,
String x)
|
void |
updateString(String columnName,
String x)
|
void |
updateTime(int columnIndex,
Time x)
|
void |
updateTime(String columnName,
Time x)
|
void |
updateTimestamp(int columnIndex,
Timestamp x)
|
void |
updateTimestamp(String columnName,
Timestamp x)
|
boolean |
wasNull()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Field Detail |
|---|
protected DbStatement mStatement
protected ResultSet mResultSet
protected boolean mFirstRowSkew
protected boolean mHasResultRows
| Method Detail |
|---|
public final boolean next()
throws SQLException
next in interface ResultSetSQLException
public final boolean previous()
throws SQLException
previous in interface ResultSetSQLException
public final boolean absolute(int row)
throws SQLException
absolute in interface ResultSetSQLException
public final boolean relative(int rows)
throws SQLException
relative in interface ResultSetSQLException
public final void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetSQLException
public final boolean first()
throws SQLException
first in interface ResultSetSQLException
public final boolean last()
throws SQLException
last in interface ResultSetSQLException
public final void afterLast()
throws SQLException
afterLast in interface ResultSetSQLException
public final void moveToInsertRow()
throws SQLException
moveToInsertRow in interface ResultSetSQLException
public final void moveToCurrentRow()
throws SQLException
moveToCurrentRow in interface ResultSetSQLException
public final boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetSQLException
public final boolean isFirst()
throws SQLException
isFirst in interface ResultSetSQLException
public final boolean isLast()
throws SQLException
isLast in interface ResultSetSQLException
public final boolean isAfterLast()
throws SQLException
isAfterLast in interface ResultSetSQLException
public final int getRow()
throws SQLException
getRow in interface ResultSetSQLException
public final void refreshRow()
throws SQLException
refreshRow in interface ResultSetSQLException
public final void insertRow()
throws SQLException
insertRow in interface ResultSetSQLException
public final void updateRow()
throws SQLException
updateRow in interface ResultSetSQLException
public final void deleteRow()
throws SQLException
deleteRow in interface ResultSetSQLException
public final boolean rowInserted()
throws SQLException
rowInserted in interface ResultSetSQLException
public final boolean rowUpdated()
throws SQLException
rowUpdated in interface ResultSetSQLException
public final boolean rowDeleted()
throws SQLException
rowDeleted in interface ResultSetSQLException
public final void close()
throws SQLException
close in interface ResultSetSQLException
public final boolean wasNull()
throws SQLException
wasNull in interface ResultSetSQLException
public final void setFetchDirection(int direction)
throws SQLException
setFetchDirection in interface ResultSetSQLException
public final void setFetchSize(int rows)
throws SQLException
setFetchSize in interface ResultSetSQLException
public final void cancelRowUpdates()
throws SQLException
cancelRowUpdates in interface ResultSetSQLException
public final ResultSetMetaData getMetaData()
throws SQLException
getMetaData in interface ResultSetSQLException
public final int getConcurrency()
throws SQLException
getConcurrency in interface ResultSetSQLException
public final int getFetchDirection()
throws SQLException
getFetchDirection in interface ResultSetSQLException
public final int getFetchSize()
throws SQLException
getFetchSize in interface ResultSetSQLException
public final void clearWarnings()
throws SQLException
clearWarnings in interface ResultSetSQLException
public final SQLWarning getWarnings()
throws SQLException
getWarnings in interface ResultSetSQLException
public final String getCursorName()
throws SQLException
getCursorName in interface ResultSetSQLException
public final Statement getStatement()
throws SQLException
getStatement in interface ResultSetSQLException
public final int getType()
throws SQLException
getType in interface ResultSetSQLException
public final int findColumn(String columnName)
throws SQLException
findColumn in interface ResultSetSQLException
public boolean hasResultRows()
throws DatabaseException
ResultSet
object that was returned by an execute method.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
true if there are result rows available; or
false if no ResultSet object was available or
it didn't have any result rows.
DatabaseException - if a database access error occurs
public String getFirstString()
throws DatabaseException
DbResultSet object as a string. This method works both when
the next method has never been called or once been called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
String object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public boolean getFirstBoolean()
throws DatabaseException
DbResultSet object as a boolean. This method works both when
the next method has never been called or once been called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
boolean object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public byte getFirstByte()
throws DatabaseException
DbResultSet object as a byte. This method works both when
the next method has never been called or once been called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
byte object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public short getFirstShort()
throws DatabaseException
DbResultSet object as a short. This method works both when
the next method has never been called or once been called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
short object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public int getFirstInt()
throws DatabaseException
DbResultSet object as an integer. This method works both when
the next method has never been called or once been called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
int object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public long getFirstLong()
throws DatabaseException
DbResultSet object as a long. This method works both when
the next method has never been called or once been called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
long object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public float getFirstFloat()
throws DatabaseException
DbResultSet object as a float. This method works both when
the next method has never been called or once been called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
float object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public double getFirstDouble()
throws DatabaseException
DbResultSet object as a double. This method works both when
the next method has never been called or once been called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
String object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public BigDecimal getFirstBigDecimal()
throws DatabaseException
DbResultSet object as a big decimal. This method works both when
the next method has never been called or once been called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
BigDecimal object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public byte[] getFirstBytes()
throws DatabaseException
DbResultSet object as an array of bytes. This method works
both when the next method has never been called or once been
called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
byte[] object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public Date getFirstDate()
throws DatabaseException
DbResultSet object as a sql date. This method works both
when the next method has never been called or once been
called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
java.sql.Date object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public Date getFirstDate(Calendar cal)
throws DatabaseException
DbResultSet object as a sql date. This method uses the given
calendar to construct an appropriate millisecond value for the date if
the underlying database does not store timezone information.
This method works both when the next method has never been
called or once been called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
cal - the java.util.Calendar object
to use in constructing the date
java.sql.Date object in the resultsn;
if the value is SQL NULL,
the value returned is null in the Java programming language
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.
public Time getFirstTime()
throws DatabaseException
DbResultSet object as a sql time. This method works both
when the next method has never been called or once been
called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
java.sql.Time object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public Time getFirstTime(Calendar cal)
throws DatabaseException
DbResultSet object as a sql time. This method works both
when the next method has never been called or once been
called. This method uses the given calendar to construct an appropriate
millisecond value for the time if the underlying database does not store
timezone information.
This method works both when the next method has never been
called or once been called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
cal - the java.util.Calendar object to use in
constructing the time
java.sql.Time object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public Timestamp getFirstTimestamp()
throws DatabaseException
DbResultSet object as a sql timestamo. This method works both
when the next method has never been called or once been
called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
java.sql.Timestamp object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public Timestamp getFirstTimestamp(Calendar cal)
throws DatabaseException
DbResultSet object as a sql timestamp. This method uses the
given calendar to construct an appropriate millisecond value for the
timestamp if the underlying database does not store timezone information.
This method works both when the next method has never been
called or once been called.
It is perfectly usable after the hasResultRows method or
alone where catching the MissingResultsException is used to
indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
cal - the java.util.Calendar object to use in
constructing the date
java.sql.Timestamp object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public InputStream getFirstAsciiStream()
throws DatabaseException
DbResultSet object as an ascii stream. This method works both
when the next method has never been called or once been
called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
java.io.InputStream object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public Reader getFirstCharacterStream()
throws DatabaseException
DbResultSet object as a character stream. This method works
both when the next method has never been called or once been
called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
java.io.Reader object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public InputStream getFirstBinaryStream()
throws DatabaseException
DbResultSet object as a binary stream. This method works hiboth
when the next method has never been called or once been
called.
Therefore, it's thus perfectly usable after the hasResultRows
method or alone where catching the MissingResultsException
is used to indicate the absence of results.
If an exception is thrown, the related DbStatement is
automatically closed and an ongoing transaction will be automatically
rolled back if it belongs to the executing thread.
java.io.InputStream object in the results.
DatabaseException - if a database access error occurs. If there
are no results available the thrown exception is
MissingResultsException.hasResultRows()
public final String getString(int columnIndex)
throws SQLException
getString in interface ResultSetSQLException
public final String getString(String columnName)
throws SQLException
getString in interface ResultSetSQLException
public final boolean getBoolean(int columnIndex)
throws SQLException
getBoolean in interface ResultSetSQLException
public final boolean getBoolean(String columnName)
throws SQLException
getBoolean in interface ResultSetSQLException
public final byte getByte(int columnIndex)
throws SQLException
getByte in interface ResultSetSQLException
public final byte getByte(String columnName)
throws SQLException
getByte in interface ResultSetSQLException
public final short getShort(int columnIndex)
throws SQLException
getShort in interface ResultSetSQLException
public final short getShort(String columnName)
throws SQLException
getShort in interface ResultSetSQLException
public final int getInt(int columnIndex)
throws SQLException
getInt in interface ResultSetSQLException
public final int getInt(String columnName)
throws SQLException
getInt in interface ResultSetSQLException
public final long getLong(int columnIndex)
throws SQLException
getLong in interface ResultSetSQLException
public final long getLong(String columnName)
throws SQLException
getLong in interface ResultSetSQLException
public final float getFloat(int columnIndex)
throws SQLException
getFloat in interface ResultSetSQLException
public final float getFloat(String columnName)
throws SQLException
getFloat in interface ResultSetSQLException
public final double getDouble(int columnIndex)
throws SQLException
getDouble in interface ResultSetSQLException
public final double getDouble(String columnName)
throws SQLException
getDouble in interface ResultSetSQLException
public final BigDecimal getBigDecimal(int columnIndex)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public final BigDecimal getBigDecimal(String columnName)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public final BigDecimal getBigDecimal(int columnIndex,
int scale)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public final BigDecimal getBigDecimal(String columnName,
int scale)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public final byte[] getBytes(int columnIndex)
throws SQLException
getBytes in interface ResultSetSQLException
public final byte[] getBytes(String columnName)
throws SQLException
getBytes in interface ResultSetSQLException
public final Date getDate(int columnIndex)
throws SQLException
getDate in interface ResultSetSQLException
public final Date getDate(String columnName)
throws SQLException
getDate in interface ResultSetSQLException
public final Date getDate(int columnIndex,
Calendar cal)
throws SQLException
getDate in interface ResultSetSQLException
public final Date getDate(String columnName,
Calendar cal)
throws SQLException
getDate in interface ResultSetSQLException
public final Time getTime(int columnIndex)
throws SQLException
getTime in interface ResultSetSQLException
public final Time getTime(String columnName)
throws SQLException
getTime in interface ResultSetSQLException
public final Time getTime(int columnIndex,
Calendar cal)
throws SQLException
getTime in interface ResultSetSQLException
public final Time getTime(String columnName,
Calendar cal)
throws SQLException
getTime in interface ResultSetSQLException
public final Timestamp getTimestamp(int columnIndex)
throws SQLException
getTimestamp in interface ResultSetSQLException
public final Timestamp getTimestamp(String columnName)
throws SQLException
getTimestamp in interface ResultSetSQLException
public final Timestamp getTimestamp(int columnIndex,
Calendar cal)
throws SQLException
getTimestamp in interface ResultSetSQLException
public final Timestamp getTimestamp(String columnName,
Calendar cal)
throws SQLException
getTimestamp in interface ResultSetSQLException
public final InputStream getAsciiStream(int columnIndex)
throws SQLException
getAsciiStream in interface ResultSetSQLException
public final InputStream getAsciiStream(String columnName)
throws SQLException
getAsciiStream in interface ResultSetSQLException
public final InputStream getUnicodeStream(int columnIndex)
throws SQLException
getUnicodeStream in interface ResultSetSQLException
public final InputStream getUnicodeStream(String columnName)
throws SQLException
getUnicodeStream in interface ResultSetSQLException
public final Reader getCharacterStream(int columnIndex)
throws SQLException
getCharacterStream in interface ResultSetSQLException
public final Reader getCharacterStream(String columnName)
throws SQLException
getCharacterStream in interface ResultSetSQLException
public final InputStream getBinaryStream(int columnIndex)
throws SQLException
getBinaryStream in interface ResultSetSQLException
public final InputStream getBinaryStream(String columnName)
throws SQLException
getBinaryStream in interface ResultSetSQLException
public final Ref getRef(String colName)
throws SQLException
getRef in interface ResultSetSQLException
public final Ref getRef(int i)
throws SQLException
getRef in interface ResultSetSQLException
public final Object getObject(int columnIndex)
throws SQLException
getObject in interface ResultSetSQLException
public final Object getObject(String columnName)
throws SQLException
getObject in interface ResultSetSQLException
public final Object getObject(int i,
Map map)
throws SQLException
getObject in interface ResultSetSQLException
public final Object getObject(String colName,
Map map)
throws SQLException
getObject in interface ResultSetSQLException
public final Blob getBlob(int i)
throws SQLException
getBlob in interface ResultSetSQLException
public final Blob getBlob(String colName)
throws SQLException
getBlob in interface ResultSetSQLException
public final Clob getClob(int i)
throws SQLException
getClob in interface ResultSetSQLException
public final Clob getClob(String colName)
throws SQLException
getClob in interface ResultSetSQLException
public final Array getArray(String colName)
throws SQLException
getArray in interface ResultSetSQLException
public final Array getArray(int i)
throws SQLException
getArray in interface ResultSetSQLException
public final URL getURL(int columnIndex)
throws SQLException
getURL in interface ResultSetSQLException
public final URL getURL(String columnName)
throws SQLException
getURL in interface ResultSetSQLException
public final void updateNull(int columnIndex)
throws SQLException
updateNull in interface ResultSetSQLException
public final void updateNull(String columnName)
throws SQLException
updateNull in interface ResultSetSQLException
public final void updateString(int columnIndex,
String x)
throws SQLException
updateString in interface ResultSetSQLException
public final void updateString(String columnName,
String x)
throws SQLException
updateString in interface ResultSetSQLException
public final void updateBoolean(int columnIndex,
boolean x)
throws SQLException
updateBoolean in interface ResultSetSQLException
public final void updateBoolean(String columnName,
boolean x)
throws SQLException
updateBoolean in interface ResultSetSQLException
public final void updateByte(int columnIndex,
byte x)
throws SQLException
updateByte in interface ResultSetSQLException
public final void updateByte(String columnName,
byte x)
throws SQLException
updateByte in interface ResultSetSQLException
public final void updateShort(int columnIndex,
short x)
throws SQLException
updateShort in interface ResultSetSQLException
public final void updateShort(String columnName,
short x)
throws SQLException
updateShort in interface ResultSetSQLException
public final void updateInt(int columnIndex,
int x)
throws SQLException
updateInt in interface ResultSetSQLException
public final void updateInt(String columnName,
int x)
throws SQLException
updateInt in interface ResultSetSQLException
public final void updateLong(int columnIndex,
long x)
throws SQLException
updateLong in interface ResultSetSQLException
public final void updateLong(String columnName,
long x)
throws SQLException
updateLong in interface ResultSetSQLException
public final void updateFloat(int columnIndex,
float x)
throws SQLException
updateFloat in interface ResultSetSQLException
public final void updateFloat(String columnName,
float x)
throws SQLException
updateFloat in interface ResultSetSQLException
public final void updateDouble(int columnIndex,
double x)
throws SQLException
updateDouble in interface ResultSetSQLException
public final void updateDouble(String columnName,
double x)
throws SQLException
updateDouble in interface ResultSetSQLException
public final void updateBigDecimal(int columnIndex,
BigDecimal x)
throws SQLException
updateBigDecimal in interface ResultSetSQLException
public final void updateBigDecimal(String columnName,
BigDecimal x)
throws SQLException
updateBigDecimal in interface ResultSetSQLException
public final void updateBytes(int columnIndex,
byte[] x)
throws SQLException
updateBytes in interface ResultSetSQLException
public final void updateBytes(String columnName,
byte[] x)
throws SQLException
updateBytes in interface ResultSetSQLException
public final void updateDate(int columnIndex,
Date x)
throws SQLException
updateDate in interface ResultSetSQLException
public final void updateDate(String columnName,
Date x)
throws SQLException
updateDate in interface ResultSetSQLException
public final void updateTime(int columnIndex,
Time x)
throws SQLException
updateTime in interface ResultSetSQLException
public final void updateTime(String columnName,
Time x)
throws SQLException
updateTime in interface ResultSetSQLException
public final void updateTimestamp(int columnIndex,
Timestamp x)
throws SQLException
updateTimestamp in interface ResultSetSQLException
public final void updateTimestamp(String columnName,
Timestamp x)
throws SQLException
updateTimestamp in interface ResultSetSQLException
public final void updateAsciiStream(int columnIndex,
InputStream x,
int length)
throws SQLException
updateAsciiStream in interface ResultSetSQLException
public final void updateAsciiStream(String columnName,
InputStream x,
int length)
throws SQLException
updateAsciiStream in interface ResultSetSQLException
public final void updateCharacterStream(int columnIndex,
Reader x,
int length)
throws SQLException
updateCharacterStream in interface ResultSetSQLException
public final void updateCharacterStream(String columnName,
Reader reader,
int length)
throws SQLException
updateCharacterStream in interface ResultSetSQLException
public final void updateBinaryStream(int columnIndex,
InputStream x,
int length)
throws SQLException
updateBinaryStream in interface ResultSetSQLException
public final void updateBinaryStream(String columnName,
InputStream x,
int length)
throws SQLException
updateBinaryStream in interface ResultSetSQLException
public final void updateRef(int columnIndex,
Ref x)
throws SQLException
updateRef in interface ResultSetSQLException
public final void updateRef(String columnName,
Ref x)
throws SQLException
updateRef in interface ResultSetSQLException
public final void updateObject(int columnIndex,
Object x)
throws SQLException
updateObject in interface ResultSetSQLException
public final void updateObject(String columnName,
Object x)
throws SQLException
updateObject in interface ResultSetSQLException
public final void updateObject(int columnIndex,
Object x,
int scale)
throws SQLException
updateObject in interface ResultSetSQLException
public final void updateObject(String columnName,
Object x,
int scale)
throws SQLException
updateObject in interface ResultSetSQLException
public final void updateBlob(int columnIndex,
Blob x)
throws SQLException
updateBlob in interface ResultSetSQLException
public final void updateBlob(String columnName,
Blob x)
throws SQLException
updateBlob in interface ResultSetSQLException
public final void updateClob(int columnIndex,
Clob x)
throws SQLException
updateClob in interface ResultSetSQLException
public final void updateClob(String columnName,
Clob x)
throws SQLException
updateClob in interface ResultSetSQLException
public final void updateArray(int columnIndex,
Array x)
throws SQLException
updateArray in interface ResultSetSQLException
public final void updateArray(String columnName,
Array x)
throws SQLException
updateArray in interface ResultSetSQLExceptionpublic Object clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||