public class IfxResultSet extends IfxUpdateResultSet implements IfmxResultSet, ResultSet2
A ResultSet provides access to a table of data generated by executing a Statement. The table rows are retrieved in sequence. Within a row its column values can be accessed in any order.
A ResultSet maintains a cursor pointing to its current row of data. Initially the cursor is positioned before the first row. The 'next' method moves the cursor to the next row.
The getXXX methods retrieve column values for the current row. You can retrieve values either using the index number of the column, or by using the name of the column. In general using the column index will be more efficient. Columns are numbered from 1.
For maximum portability, ResultSet columns within each row should be read in left-to-right order and each column should be read only once.
For the getXXX methods, the JDBC driver attempts to convert the underlying data to the specified Java type and returns a suitable Java value. See the JDBC specification for allowable mappings from SQL types to Java types with the ResultSet.getXXX methods.
Column names used as input to getXXX methods are case insensitive. When performing a getXXX using a column name if several columns have the same name then the value of the first matching column will be returned.
A ResultSet is automatically closed by the Statement that generated it when that Statement is closed, re-executed, or is used to retrieve the next result from a sequence of multiple results.
The number, types and properties of a ResultSet's columns are provided by the ResulSetMetaData object returned by the getMetaData method.
Statement.executeQuery(java.lang.String),
Statement.getResultSet(),
ResultSetMetaData| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector<IfxObject> |
colVector |
protected int |
curRowID |
protected boolean |
isClosed |
protected java.util.Vector<java.lang.String> |
keyNameVector |
protected boolean |
lastColWasNull |
protected int |
lastRowID |
protected java.util.HashMap<java.lang.String,java.lang.Integer> |
nameToIdxTable |
protected boolean |
noMoreRows |
protected IfxProtocol |
prot |
protected boolean |
scrollableEmptyResultSet |
protected boolean |
withHold |
conn, deleteCmd, insertCmd, isForUpdateClause, MoveToInsert, rsmd, stmt, trace, updatecanceled, updateCmd, UpdateColVector, WhereValCLOSE_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| Modifier and Type | Method and Description |
|---|---|
boolean |
absolute(int row)
JDBC 2.0
|
void |
afterLast()
JDBC 2.0
|
void |
beforeFirst()
JDBC 2.0
|
protected void |
blobCheck(IfxObject obj) |
void |
clearWarnings() |
void |
close()
In some cases, it is desirable to immediately release a
ResultSet's database and JDBC resources instead of waiting for
this to happen when it is automatically closed; the close
method provides this immediate release.
|
boolean |
current()
Current is an Informix extention to JDBC.
|
void |
deleteRow()
JDBC 2.0
Delete the current row from the result set and the underlying
database.
|
int |
findColumn(java.lang.String columnName)
Map a ResultSet column name to a ResultSet column index
|
boolean |
first()
JDBC 2.0
|
java.sql.Array |
getArray(int colIdx)
JDBC 2.0
Get an array column.
|
java.sql.Array |
getArray(java.lang.String colName) |
java.io.InputStream |
getAsciiStream(int columnIndex) |
java.io.InputStream |
getAsciiStream(java.lang.String columnName) |
java.math.BigDecimal |
getBigDecimal(int columnIndex) |
java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale)
Deprecated.
|
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName) |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale)
Deprecated.
|
java.io.InputStream |
getBinaryStream(int columnIndex) |
java.io.InputStream |
getBinaryStream(java.lang.String columnName) |
java.sql.Blob |
getBlob(int columnIndex) |
java.sql.Blob |
getBlob(java.lang.String colName)
JDBC 2.0
Get a BLOB column.
|
boolean |
getBoolean(int columnIndex) |
boolean |
getBoolean(java.lang.String columnName) |
byte |
getByte(int columnIndex) |
byte |
getByte(java.lang.String columnName) |
byte[] |
getBytes(int columnIndex) |
byte[] |
getBytes(java.lang.String columnName) |
java.io.Reader |
getCharacterStream(int columnIndex) |
java.io.Reader |
getCharacterStream(java.lang.String columnName) |
java.sql.Clob |
getClob(int columnIndex)
JDBC 2.0
Get a CLOB column.
|
java.sql.Clob |
getClob(java.lang.String colName) |
int |
getConcurrency()
JDBC 2.0
Return the concurrency of this result set.
|
java.lang.String |
getCursorName()
Get the name of the SQL cursor used by this ResultSet.
|
java.sql.Date |
getDate(int columnIndex) |
java.sql.Date |
getDate(int columnIndex,
java.util.Calendar cal)
JDBC 2.0
Get the value of a column in the current row as a java.sql.Date
object.
|
java.sql.Date |
getDate(java.lang.String columnName) |
java.sql.Date |
getDate(java.lang.String columnName,
java.util.Calendar cal)
Get the value of a column in the current row as a java.sql.Date
object.
|
double |
getDouble(int columnIndex) |
double |
getDouble(java.lang.String columnName) |
int |
getFetchDirection()
JDBC 2.0
Return the fetch direction for this result set.
|
int |
getFetchSize()
JDBC 2.0
Return the fetch size for this result set.
|
float |
getFloat(int columnIndex) |
float |
getFloat(java.lang.String columnName) |
int |
getHoldability() |
IfxBSONObject |
getIfxBSONObject(int columnIndex)
Get the value of a column in the current row as a IfxBSONObject object.
|
IfxBSONObject |
getIfxBSONObject(java.lang.String columnName)
Get the value of a column in the current row as a IfxBSONObject object.
|
int |
getInt(int columnIndex) |
int |
getInt(java.lang.String columnName) |
Interval |
getInterval(int columnIndex)
Get the value of a column in the current row as a Interval object.
|
Interval |
getInterval(java.lang.String columnName)
Get the value of a column in the current row as a Interval object.
|
IntervalDF |
getIntervalDF(int columnIndex)
Get the value of a column in the current row as a IntervalDF object.
|
IntervalDF |
getIntervalDF(java.lang.String columnName)
Get the value of a column in the current row as a IntervalDF object.
|
IntervalYM |
getIntervalYM(int columnIndex)
Get the value of a column in the current row as a IntervalYM object.
|
IntervalYM |
getIntervalYM(java.lang.String columnName)
Get the value of a column in the current row as a IntervalYM object.
|
long |
getLong(int columnIndex) |
long |
getLong(java.lang.String columnName) |
java.sql.ResultSetMetaData |
getMetaData() |
java.io.Reader |
getNCharacterStream(int columnIndex) |
java.io.Reader |
getNCharacterStream(java.lang.String columnLabel) |
java.sql.NClob |
getNClob(int columnIndex) |
java.sql.NClob |
getNClob(java.lang.String columnLabel) |
java.lang.String |
getNString(int columnIndex) |
java.lang.String |
getNString(java.lang.String columnLabel) |
int |
getNumberOfFetches() |
java.lang.Object |
getObject(int columnIndex) |
<T> T |
getObject(int columnIndex,
java.lang.Class<T> type) |
java.lang.Object |
getObject(int colIdx,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
java.lang.Object |
getObject(java.lang.String columnName) |
<T> T |
getObject(java.lang.String columnLabel,
java.lang.Class<T> type) |
java.lang.Object |
getObject(java.lang.String columnName,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
IfxProtocol |
getProtocol() |
java.sql.Ref |
getRef(int i)
JDBC 2.0
Get a REF(<structured-type>) column.
|
java.sql.Ref |
getRef(java.lang.String colName)
JDBC 2.0
Get a REF(<structured-type>) column.
|
int |
getRow()
JDBC 2.0
|
java.sql.RowId |
getRowId(int columnIndex) |
java.sql.RowId |
getRowId(java.lang.String columnLabel) |
short |
getShort(int columnIndex) |
short |
getShort(java.lang.String columnName) |
java.sql.SQLXML |
getSQLXML(int columnIndex) |
java.sql.SQLXML |
getSQLXML(java.lang.String columnLabel) |
java.sql.Statement |
getStatement() |
java.lang.String |
getString(int columnIndex) |
java.lang.String |
getString(java.lang.String columnName) |
java.sql.Time |
getTime(int columnIndex) |
java.sql.Time |
getTime(int columnIndex,
java.util.Calendar cal)
Get the value of a column in the current row as a java.sql.Time
object.
|
java.sql.Time |
getTime(java.lang.String columnName) |
java.sql.Time |
getTime(java.lang.String columnName,
java.util.Calendar cal)
Get the value of a column in the current row as a java.sql.Time
object.
|
java.sql.Timestamp |
getTimestamp(int columnIndex) |
java.sql.Timestamp |
getTimestamp(int columnIndex,
java.util.Calendar cal) |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName) |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
Get the value of a column in the current row as a java.sql.Timestamp
object.
|
int |
getType()
JDBC 2.0
Return the type of this result set.
|
java.io.InputStream |
getUnicodeStream(int columnIndex)
Deprecated.
|
java.io.InputStream |
getUnicodeStream(java.lang.String columnName)
Deprecated.
|
java.lang.String |
getUnloadString(int columnIndex)
Gets the value of a column in the current row in format compatible with
SQL LOAD/UNLOAD format
|
java.net.URL |
getURL(int columnIndex) |
java.net.URL |
getURL(java.lang.String columnName) |
java.sql.SQLWarning |
getWarnings() |
void |
insertRow()
JDBC 2.0
Insert the contents of the insert row into the result set and
the database.
|
boolean |
isAfterLast()
JDBC 2.0
|
boolean |
isBeforeFirst()
JDBC 2.0
|
boolean |
isClosed() |
boolean |
isFirst()
JDBC 2.0
|
boolean |
isLast()
JDBC 2.0
|
boolean |
isWrapperFor(java.lang.Class<?> iface) |
boolean |
last()
JDBC 2.0
|
boolean |
next()
A ResultSet is initially positioned before its first row; the
first call to next makes the first row the current row; the
second call makes the second row the current row, etc.
|
boolean |
previous()
JDBC 2.0
|
boolean |
relative(int rows)
JDBC 2.0
|
void |
releaseBlob() |
void |
setFetchDirection(int direction)
JDBC 2.0
Give a hint as to the direction in which the rows in this result set
will be processed.
|
void |
setFetchSize(int rows)
JDBC 2.0
Give the JDBC driver a hint as to the number of rows that should
be fetched from the database when more rows are needed for this result
set.
|
protected void |
setTupleSizeReceived(int sizeReceived) |
<T> T |
unwrap(java.lang.Class<T> iface) |
void |
updateArray(java.lang.String columnName,
java.sql.Array x)
JDBC 3.0
Update a column with an Array.
|
void |
updateAsciiStream(int columnIndex,
java.io.InputStream x) |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length) |
void |
updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream x) |
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length) |
void |
updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream x,
long length) |
void |
updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream x) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length) |
void |
updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream x) |
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length) |
void |
updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream x,
long length) |
void |
updateBlob(int columnIndex,
java.io.InputStream inputStream) |
void |
updateBlob(int columnIndex,
java.io.InputStream inputStream,
long length) |
void |
updateBlob(java.lang.String columnName,
java.sql.Blob x)
JDBC 3.0
Update a column with a Blob.
|
void |
updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream) |
void |
updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream,
long length) |
void |
updateBoolean(java.lang.String columnName,
boolean x)
JDBC 2.0
Update a column with a boolean value.
|
void |
updateByte(java.lang.String columnName,
byte x)
JDBC 2.0
Update a column with a byte value.
|
void |
updateBytes(java.lang.String columnName,
byte[] x) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader x) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader x,
int length) |
void |
updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader) |
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length) |
void |
updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length) |
void |
updateClob(int columnIndex,
java.io.Reader reader) |
void |
updateClob(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateClob(java.lang.String columnName,
java.sql.Clob x)
JDBC 3.0
Update a column with a Clob.
|
void |
updateClob(java.lang.String columnLabel,
java.io.Reader reader) |
void |
updateClob(java.lang.String columnLabel,
java.io.Reader reader,
long length) |
void |
updateDate(java.lang.String columnName,
java.sql.Date x) |
void |
updateDouble(java.lang.String columnName,
double x)
JDBC 2.0
Update a column with a double value.
|
void |
updateFloat(java.lang.String columnName,
float x)
JDBC 2.0
Update a column with a float value.
|
void |
updateInt(java.lang.String columnName,
int x)
JDBC 2.0
Update a column with an integer value.
|
void |
updateLong(java.lang.String columnName,
long x)
JDBC 2.0
Update a column with a long value.
|
void |
updateNCharacterStream(int columnIndex,
java.io.Reader x) |
void |
updateNCharacterStream(int columnIndex,
java.io.Reader x,
long length) |
void |
updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader) |
void |
updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length) |
void |
updateNClob(int columnIndex,
java.sql.NClob nClob) |
void |
updateNClob(int columnIndex,
java.io.Reader reader) |
void |
updateNClob(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateNClob(java.lang.String columnLabel,
java.sql.NClob nClob) |
void |
updateNClob(java.lang.String columnLabel,
java.io.Reader reader) |
void |
updateNClob(java.lang.String columnLabel,
java.io.Reader reader,
long length) |
void |
updateNString(int columnIndex,
java.lang.String nString) |
void |
updateNString(java.lang.String columnLabel,
java.lang.String nString) |
void |
updateNull(java.lang.String columnName)
JDBC 2.0
Update a column with a null value.
|
void |
updateObject(java.lang.String columnName,
java.lang.Object x) |
void |
updateObject(java.lang.String columnName,
java.lang.Object x,
int scale) |
void |
updateRef(int columnIndex,
java.sql.Ref x) |
void |
updateRef(java.lang.String columnName,
java.sql.Ref x)
JDBC 3.0
Update a column with a reference.
|
void |
updateRow()
JDBC 2.0
Update the underlying database with the new contents of the
current row.
|
void |
updateRowId(int columnIndex,
java.sql.RowId x) |
void |
updateRowId(java.lang.String columnLabel,
java.sql.RowId x) |
void |
updateShort(java.lang.String columnName,
short x)
JDBC 2.0
Update a column with a short value.
|
void |
updateSQLXML(int columnIndex,
java.sql.SQLXML xmlObject) |
void |
updateSQLXML(java.lang.String columnLabel,
java.sql.SQLXML xmlObject) |
void |
updateString(java.lang.String columnName,
java.lang.String x) |
void |
updateTime(java.lang.String columnName,
java.sql.Time x) |
void |
updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x) |
boolean |
wasNull() |
cancelRowUpdates, clearUpdateColVector, moveToCurrentRow, moveToInsertRow, refreshRow, rowDeleted, rowInserted, rowUpdated, updateArray, updateAsciiStream, updateBigDecimal, updateBinaryStream, updateBlob, updateBoolean, updateByte, updateBytes, updateCharacterStream, updateClob, updateDate, updateDouble, updateFloat, updateInt, updateLong, updateNull, updateObject, updateObject, updateShort, updateString, updateTime, updateTimestampclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelRowUpdates, moveToCurrentRow, moveToInsertRow, refreshRow, rowDeleted, rowInserted, rowUpdated, updateArray, updateAsciiStream, updateBigDecimal, updateBinaryStream, updateBlob, updateBoolean, updateByte, updateBytes, updateCharacterStream, updateClob, updateDate, updateDouble, updateFloat, updateInt, updateLong, updateNull, updateObject, updateObject, updateShort, updateString, updateTime, updateTimestampprotected final IfxProtocol prot
protected java.util.HashMap<java.lang.String,java.lang.Integer> nameToIdxTable
protected int curRowID
protected int lastRowID
protected boolean scrollableEmptyResultSet
protected boolean lastColWasNull
protected java.util.Vector<IfxObject> colVector
protected java.util.Vector<java.lang.String> keyNameVector
protected boolean noMoreRows
protected boolean isClosed
protected boolean withHold
public boolean next()
throws java.sql.SQLException
If an input stream from the previous row is open it is implicitly closed. The ResultSet's warning chain is cleared when a new row is read.
next in interface java.sql.ResultSetjava.sql.SQLException - When any protocol error or object
error is encounteredpublic int findColumn(java.lang.String columnName)
throws java.sql.SQLException
Map a ResultSet column name to a ResultSet column index
findColumn in interface java.sql.ResultSetcolumnName - Name of the columnjava.sql.SQLException - if database access error occurspublic java.lang.String getString(int columnIndex)
throws java.sql.SQLException
getString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getString(java.lang.String columnName)
throws java.sql.SQLException
getString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(int columnIndex)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(java.lang.String columnName)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getAsciiStream(int columnIndex)
throws java.sql.SQLException
getAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getAsciiStream(java.lang.String columnName)
throws java.sql.SQLException
getAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream(int columnIndex)
throws java.sql.SQLException
getCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream(java.lang.String columnName)
throws java.sql.SQLException
getCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.math.BigDecimal getBigDecimal(int columnIndex,
int scale)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetcolumnIndex - The column indexscale - The number of digits to the right of the decimaljava.sql.SQLException - If columnIndex is out of range or
conversion cannot be donepublic java.math.BigDecimal getBigDecimal(java.lang.String columnName,
int scale)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetcolumnName - Name of the columnscale - The number of digits to the right of the decimaljava.sql.SQLException - If columnName does not exist
conversion cannot be donepublic java.math.BigDecimal getBigDecimal(int columnIndex)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.math.BigDecimal getBigDecimal(java.lang.String columnName)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean getBoolean(int columnIndex)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean getBoolean(java.lang.String columnName)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetjava.sql.SQLExceptionpublic short getShort(int columnIndex)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetjava.sql.SQLExceptionpublic short getShort(java.lang.String columnName)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetjava.sql.SQLExceptionpublic int getInt(int columnIndex)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetjava.sql.SQLExceptionpublic int getInt(java.lang.String columnName)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetjava.sql.SQLExceptionpublic long getLong(int columnIndex)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetjava.sql.SQLExceptionpublic long getLong(java.lang.String columnName)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetjava.sql.SQLExceptionpublic float getFloat(int columnIndex)
throws java.sql.SQLException
getFloat in interface java.sql.ResultSetjava.sql.SQLExceptionpublic float getFloat(java.lang.String columnName)
throws java.sql.SQLException
getFloat in interface java.sql.ResultSetjava.sql.SQLExceptionpublic byte getByte(int columnIndex)
throws java.sql.SQLException
getByte in interface java.sql.ResultSetjava.sql.SQLExceptionpublic byte getByte(java.lang.String columnName)
throws java.sql.SQLException
getByte in interface java.sql.ResultSetjava.sql.SQLExceptionpublic byte[] getBytes(int columnIndex)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetjava.sql.SQLExceptionpublic byte[] getBytes(java.lang.String columnName)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Date getDate(int columnIndex)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Date getDate(java.lang.String columnName)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLExceptionpublic double getDouble(int columnIndex)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetjava.sql.SQLExceptionpublic double getDouble(java.lang.String columnName)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Time getTime(int columnIndex)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Time getTime(java.lang.String columnName)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(int columnIndex)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(java.lang.String columnName)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getUnicodeStream(int columnIndex)
throws java.sql.SQLException
Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a get method implicitly closes the stream. . Also, a stream may return 0 for available() whether there is data available or not.
getUnicodeStream in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...java.sql.SQLException - if a database-access error occurs.public java.io.InputStream getUnicodeStream(java.lang.String columnName)
throws java.sql.SQLException
Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a get method implicitly closes the stream.
getUnicodeStream in interface java.sql.ResultSetcolumnName - is the SQL name of the columnjava.sql.SQLException - if a database-access error occurs.public java.io.InputStream getBinaryStream(int columnIndex)
throws java.sql.SQLException
getBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getBinaryStream(java.lang.String columnName)
throws java.sql.SQLException
getBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
getWarnings in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void clearWarnings()
throws java.sql.SQLException
clearWarnings in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getCursorName()
throws java.sql.SQLException
In SQL, a result table is retrieved through a cursor that is named. The current row of a result can be updated or deleted using a positioned update/delete statement that references the cursor name.
JDBC supports this SQL feature by providing the name of the SQL cursor used by a ResultSet. The current row of a ResultSet is also the current row of this SQL cursor.
Note: If positioned update is not supported a SQLException is thrown
getCursorName in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(int colIdx,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(java.lang.String columnName,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean wasNull()
throws java.sql.SQLException
wasNull in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
Note: A ResultSet is automatically closed by the Statement that generated it when that Statement is closed, re-executed, or is used to retrieve the next result from a sequence of multiple results. A ResultSet is also automatically closed when it is garbage collected.
close in interface java.lang.AutoCloseableclose in interface java.sql.ResultSetjava.sql.SQLExceptionprotected void blobCheck(IfxObject obj) throws java.sql.SQLException
java.sql.SQLExceptionpublic Interval getInterval(int columnIndex) throws java.sql.SQLException
getInterval in interface IfmxResultSetcolumnIndex - the first column is 1, the second is 2, ...java.sql.SQLException - if a database-access error occurs.public Interval getInterval(java.lang.String columnName) throws java.sql.SQLException
getInterval in interface IfmxResultSetcolumnName - is the SQL name of the columnjava.sql.SQLException - if a database-access error occurs.public IntervalYM getIntervalYM(int columnIndex) throws java.sql.SQLException
getIntervalYM in interface IfmxResultSetcolumnIndex - the first column is 1, the second is 2, ...java.sql.SQLException - if a database-access error occurs.public IntervalYM getIntervalYM(java.lang.String columnName) throws java.sql.SQLException
getIntervalYM in interface IfmxResultSetcolumnName - is the SQL name of the columnjava.sql.SQLException - if a database-access error occurs.public IntervalDF getIntervalDF(int columnIndex) throws java.sql.SQLException
getIntervalDF in interface IfmxResultSetcolumnIndex - the first column is 1, the second is 2, ...java.sql.SQLException - if a database-access error occurs.public IntervalDF getIntervalDF(java.lang.String columnName) throws java.sql.SQLException
getIntervalDF in interface IfmxResultSetcolumnName - is the SQL name of the columnjava.sql.SQLException - if a database-access error occurs.public boolean isClosed()
isClosed in interface java.sql.ResultSetpublic boolean isBeforeFirst()
throws java.sql.SQLException
Determine if the cursor is before the first row in the result set.
isBeforeFirst in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.public boolean isAfterLast()
throws java.sql.SQLException
Determine if the cursor is after the last row in the result set.
isAfterLast in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.public boolean isFirst()
throws java.sql.SQLException
Determine if the cursor is on the first row of the result set.
isFirst in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.public boolean isLast()
throws java.sql.SQLException
Determine if the cursor is on the last row of the result set. Note: Calling isLast() may be expensive since the JDBC driver might need to fetch ahead one row in order to determine whether the current row is the last row in the result set.
isLast in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.public void beforeFirst()
throws java.sql.SQLException
Moves to the front of the result set, just before the first row. Has no effect if the result set contains no rows.
beforeFirst in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs, or
result set type is TYPE_FORWARD_ONLYpublic void afterLast()
throws java.sql.SQLException
Moves to the end of the result set, just after the last row. Has no effect if the result set contains no rows.
afterLast in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs, or
result set type is TYPE_FORWARD_ONLY.public boolean first()
throws java.sql.SQLException
Moves to the first row in the result set.
first in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs, or
result set type is TYPE_FORWARD_ONLY.public boolean last()
throws java.sql.SQLException
Moves to the last row in the result set.
last in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs, or
result set type is TYPE_FORWARD_ONLY.public int getRow()
throws java.sql.SQLException
Determine the current row number. The first row is number 1, the second number 2, etc.
getRow in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs.public boolean absolute(int row)
throws java.sql.SQLException
Move to an absolute row number in the result set.
If row is positive, moves to an absolute row with respect to the beginning of the result set. The first row is row 1, the second is row 2, etc.
If row is negative, moves to an absolute row position with respect to the end of result set. For example, calling absolute(-1) positions the cursor on the last row, absolute(-2) indicates the next-to-last row, etc.
An attempt to position the cursor beyond the first/last row in the result set, leaves the cursor before/after the first/last row, respectively.
Note: Calling absolute(1) is the same as calling first(). Calling absolute(-1) is the same as calling last().
absolute in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs, or
row is 0, or result set type is TYPE_FORWARD_ONLY.public boolean relative(int rows)
throws java.sql.SQLException
Moves a relative number of rows, either positive or negative. Attempting to move beyond the first/last row in the result set positions the cursor before/after the the first/last row. Calling relative(0) is valid, but does not change the cursor position.
Note: Calling relative(1) is different than calling next() since is makes sense to call next() when there is no current row, for example, when the cursor is positioned before the first row or after the last row of the result set.
relative in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs, or there
is no current row, or result set type is TYPE_FORWARD_ONLY.public boolean current()
throws java.sql.SQLException
Current is an Informix extention to JDBC. It returns the current row again.
java.sql.SQLException - if a database-access error occurs, or
result set type is TYPE_FORWAR_DONLY.public boolean previous()
throws java.sql.SQLException
Moves to the previous row in the result set.
Note: previous() is not the same as relative(-1) since it makes sense to call previous() when there is no current row.
previous in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs, or
result set type is TYPE_FORWARD_ONLY.public void setFetchDirection(int direction)
throws java.sql.SQLException
setFetchDirection in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurs, or
the result set type is TYPE_FORWARD_ONLY and direction is not
FETCH_FORWARD.public int getFetchDirection()
throws java.sql.SQLException
getFetchDirection in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurspublic void setFetchSize(int rows)
throws java.sql.SQLException
setFetchSize in interface java.sql.ResultSetrows - the number of rows to fetchjava.sql.SQLException - if a database-access error occurs, or the
condition 0 <= rows <= this.getMaxRows() is not satisfied.public int getFetchSize()
throws java.sql.SQLException
getFetchSize in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurspublic int getType()
throws java.sql.SQLException
getType in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurspublic int getConcurrency()
throws java.sql.SQLException
getConcurrency in interface java.sql.ResultSetjava.sql.SQLException - if a database-access error occurspublic void updateNull(java.lang.String columnName)
throws java.sql.SQLException
updateNull in interface java.sql.ResultSetcolumnName - the name of the columnjava.sql.SQLException - if a database-access error occurspublic void updateBoolean(java.lang.String columnName,
boolean x)
throws java.sql.SQLException
updateBoolean in interface java.sql.ResultSetcolumnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic void updateByte(java.lang.String columnName,
byte x)
throws java.sql.SQLException
updateByte in interface java.sql.ResultSetcolumnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic void updateShort(java.lang.String columnName,
short x)
throws java.sql.SQLException
updateShort in interface java.sql.ResultSetcolumnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic void updateInt(java.lang.String columnName,
int x)
throws java.sql.SQLException
updateInt in interface java.sql.ResultSetcolumnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic void updateLong(java.lang.String columnName,
long x)
throws java.sql.SQLException
updateLong in interface java.sql.ResultSetcolumnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic void updateFloat(java.lang.String columnName,
float x)
throws java.sql.SQLException
updateFloat in interface java.sql.ResultSetcolumnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic void updateDouble(java.lang.String columnName,
double x)
throws java.sql.SQLException
updateDouble in interface java.sql.ResultSetcolumnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic void updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
throws java.sql.SQLException
updateBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateString(java.lang.String columnName,
java.lang.String x)
throws java.sql.SQLException
updateString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBytes(java.lang.String columnName,
byte[] x)
throws java.sql.SQLException
updateBytes in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateDate(java.lang.String columnName,
java.sql.Date x)
throws java.sql.SQLException
updateDate in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateTime(java.lang.String columnName,
java.sql.Time x)
throws java.sql.SQLException
updateTime in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x)
throws java.sql.SQLException
updateTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(java.lang.String columnName,
java.lang.Object x,
int scale)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(java.lang.String columnName,
java.lang.Object x)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Statement getStatement()
throws java.sql.SQLException
getStatement in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Ref getRef(int i)
throws java.sql.SQLException
getRef in interface java.sql.ResultSeti - the first column is 1, the second is 2, ...java.sql.SQLExceptionpublic java.sql.Blob getBlob(int columnIndex)
throws java.sql.SQLException
getBlob in interface ResultSet2getBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Clob getClob(int columnIndex)
throws java.sql.SQLException
getClob in interface ResultSet2getClob in interface java.sql.ResultSeti - the first column is 1, the second is 2, ...java.sql.SQLExceptionpublic java.sql.Array getArray(int colIdx)
throws java.sql.SQLException
getArray in interface java.sql.ResultSeti - the first column is 1, the second is 2, ...java.sql.SQLExceptionpublic java.sql.Ref getRef(java.lang.String colName)
throws java.sql.SQLException
getRef in interface java.sql.ResultSetcolName - the column namejava.sql.SQLExceptionpublic java.sql.Blob getBlob(java.lang.String colName)
throws java.sql.SQLException
getBlob in interface ResultSet2getBlob in interface java.sql.ResultSetcolName - the column namejava.sql.SQLExceptionpublic java.sql.Clob getClob(java.lang.String colName)
throws java.sql.SQLException
getClob in interface ResultSet2getClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Array getArray(java.lang.String colName)
throws java.sql.SQLException
getArray in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Date getDate(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...cal - the calendar to use in constructing the date
NOTE : The default Calendar is also considered to construct the datejava.sql.SQLException - if a database-access error occurs.public java.sql.Date getDate(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetcolumnName - is the SQL name of the columncal - the calendar to use in constructing the datejava.sql.SQLException - if a database-access error occurs.public java.sql.Time getTime(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetcolumnIndex - the first column is 1, the second is 2, ...cal - the calendar to use in constructing the timejava.sql.SQLException - if a database-access error occurs.public java.sql.Time getTime(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetcolumnName - is the SQL name of the columncal - the calendar to use in constructing the timejava.sql.SQLException - if a database-access error occurs.public java.sql.Timestamp getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetcolumnName - is the SQL name of the columncal - the calendar to use in constructing the timestampjava.sql.SQLException - if a database-access error occurs.public void insertRow()
throws java.sql.SQLException
IfxUpdateResultSetinsertRow in interface java.sql.ResultSetinsertRow in class IfxUpdateResultSetjava.sql.SQLException - if a database-access error occurs,
if called when not on the insert row, or if all non-nullable columns in
the insert row have not been given a valuepublic void updateRow()
throws java.sql.SQLException
IfxUpdateResultSetupdateRow in interface java.sql.ResultSetupdateRow in class IfxUpdateResultSetjava.sql.SQLException - if a database-access error occurs, or
if called when on the insert rowpublic void deleteRow()
throws java.sql.SQLException
IfxUpdateResultSetdeleteRow in interface java.sql.ResultSetdeleteRow in class IfxUpdateResultSetjava.sql.SQLException - if a database-access error occurs, or if
called when on the insert row.public IfxProtocol getProtocol()
public java.net.URL getURL(int columnIndex)
throws java.sql.SQLException
getURL in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.net.URL getURL(java.lang.String columnName)
throws java.sql.SQLException
getURL in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRef(int columnIndex,
java.sql.Ref x)
throws java.sql.SQLException
updateRef in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRef(java.lang.String columnName,
java.sql.Ref x)
throws java.sql.SQLException
updateRef in interface java.sql.ResultSetcolumnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic void updateBlob(java.lang.String columnName,
java.sql.Blob x)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetcolumnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic void updateClob(java.lang.String columnName,
java.sql.Clob x)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetcolumnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic void updateArray(java.lang.String columnName,
java.sql.Array x)
throws java.sql.SQLException
updateArray in interface java.sql.ResultSetcolumnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic void releaseBlob()
public java.lang.String getUnloadString(int columnIndex)
throws java.sql.SQLException
IfmxResultSetgetUnloadString in interface IfmxResultSetjava.sql.SQLExceptionpublic int getNumberOfFetches()
protected void setTupleSizeReceived(int sizeReceived)
public int getHoldability()
getHoldability in interface java.sql.ResultSetpublic java.io.Reader getNCharacterStream(int columnIndex)
throws java.sql.SQLException
getNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.Reader getNCharacterStream(java.lang.String columnLabel)
throws java.sql.SQLException
getNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.NClob getNClob(int columnIndex)
throws java.sql.SQLException
getNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.NClob getNClob(java.lang.String columnLabel)
throws java.sql.SQLException
getNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getNString(int columnIndex)
throws java.sql.SQLException
getNString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getNString(java.lang.String columnLabel)
throws java.sql.SQLException
getNString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.RowId getRowId(int columnIndex)
throws java.sql.SQLException
getRowId in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.RowId getRowId(java.lang.String columnLabel)
throws java.sql.SQLException
getRowId in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.SQLXML getSQLXML(int columnIndex)
throws java.sql.SQLException
getSQLXML in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.SQLXML getSQLXML(java.lang.String columnLabel)
throws java.sql.SQLException
getSQLXML in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(int columnIndex,
java.io.InputStream x)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream x)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream x,
long length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(int columnIndex,
java.io.InputStream x)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream x)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream x,
long length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(int columnIndex,
java.io.InputStream inputStream)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(int columnIndex,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(int columnIndex,
java.io.Reader x)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(int columnIndex,
java.io.Reader x,
int length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(int columnIndex,
java.io.Reader x)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(int columnIndex,
java.io.Reader x,
long length)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(int columnIndex,
java.sql.NClob nClob)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(java.lang.String columnLabel,
java.sql.NClob nClob)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNString(int columnIndex,
java.lang.String nString)
throws java.sql.SQLException
updateNString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNString(java.lang.String columnLabel,
java.lang.String nString)
throws java.sql.SQLException
updateNString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRowId(int columnIndex,
java.sql.RowId x)
throws java.sql.SQLException
updateRowId in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRowId(java.lang.String columnLabel,
java.sql.RowId x)
throws java.sql.SQLException
updateRowId in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateSQLXML(int columnIndex,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
updateSQLXML in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateSQLXML(java.lang.String columnLabel,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
updateSQLXML in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
isWrapperFor in interface java.sql.Wrapperjava.sql.SQLExceptionpublic <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
unwrap in interface java.sql.Wrapperjava.sql.SQLExceptionpublic IfxBSONObject getIfxBSONObject(int columnIndex) throws java.sql.SQLException
getIfxBSONObject in interface IfmxResultSetcolumnIndex - the first column is 1, the second is 2, ...java.sql.SQLException - if a database-access error occurs.public IfxBSONObject getIfxBSONObject(java.lang.String columnName) throws java.sql.SQLException
getIfxBSONObject in interface IfmxResultSetcolumnName - java.sql.SQLException - if a database-access error occurs.public <T> T getObject(int columnIndex,
java.lang.Class<T> type)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic <T> T getObject(java.lang.String columnLabel,
java.lang.Class<T> type)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLException