public abstract class IfxScrollableResultSet extends java.lang.Object implements IfmxResultSet, ResultSet2
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector<IfxObject> |
colVector |
protected IfxConnection |
conn |
protected boolean |
delimIdent |
protected boolean |
insertMode |
protected java.util.Vector<IfxObject> |
insertRowVector |
protected boolean |
lastColWasNull |
protected java.util.Hashtable<java.lang.String,java.lang.Integer> |
nameToIdxTable |
protected IfxResultSetMetaData |
rsmd |
protected Trace |
trace |
protected java.util.Map<java.lang.String,java.lang.Class<?>> |
typeMap |
protected java.sql.SQLWarning |
warnings |
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
Modifier and Type | Method and Description |
---|---|
protected void |
chainWarnings(java.sql.SQLWarning cwarn)
Chain SQLWarning
|
void |
clearWarnings() |
protected void |
finalize() |
int |
findColumn(java.lang.String columnName) |
java.sql.Array |
getArray(int colIdx)
JDBC 2.0
Get an array column.
|
java.sql.Array |
getArray(java.lang.String colName)
JDBC 2.0
Get an array column.
|
java.io.InputStream |
getAsciiStream(int columnIndex)
Get the value of a column in the current row as a stream of
ASCII characters and then read in chunks from the stream
|
java.io.InputStream |
getAsciiStream(java.lang.String columnName)
Get the value of a column in the current row as a stream of
ASCII characters and then read in chunks from the stream
|
java.math.BigDecimal |
getBigDecimal(int columnIndex)
JDBC 2.0
Get the value of a column in the current row as a java.math.BigDecimal
object.
|
java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale)
Deprecated.
|
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName)
JDBC 2.0
Get the value of a column in the current row as a java.math.BigDecimal
object.
|
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)
JDBC 2.0
Get a BLOB column.
|
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)
JDBC 2.0
|
java.io.Reader |
getCharacterStream(java.lang.String columnName)
JDBC 2.0
|
java.sql.Clob |
getClob(int columnIndex)
JDBC 2.0
Get a CLOB column.
|
java.sql.Clob |
getClob(java.lang.String colName)
JDBC 2.0
Get a CLOB column.
|
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) |
float |
getFloat(int columnIndex) |
float |
getFloat(java.lang.String columnName) |
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.lang.Object |
getObject(int columnIndex)
Get the value of a column in the current row as Java Object
|
java.lang.Object |
getObject(int colIdx,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
JDBC 2.0
Returns the value of column @i as a Java object.
|
java.lang.Object |
getObject(java.lang.String columnName)
Get the value of a column in the current row as Java Object
|
java.lang.Object |
getObject(java.lang.String columnName,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
JDBC 2.0
Returns the value of column @i as a Java object.
|
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.
|
short |
getShort(int columnIndex) |
short |
getShort(java.lang.String columnName) |
java.lang.String |
getString(int columnIndex)
Get the value of a column in the current row as Java String
|
java.lang.String |
getString(java.lang.String columnName)
Get the value of a column in the current row as Java String
|
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)
Get the value of a column in the current row as a java.sql.Timestamp
object.
|
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.
|
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.sql.SQLWarning |
getWarnings() |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length) |
void |
updateAsciiStream(java.lang.String column,
java.io.InputStream x,
int length) |
void |
updateBigDecimal(int columnIndex,
java.math.BigDecimal x) |
void |
updateBigDecimal(java.lang.String column,
java.math.BigDecimal x) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length) |
void |
updateBinaryStream(java.lang.String column,
java.io.InputStream x,
int length) |
void |
updateBoolean(int columnIndex,
boolean x) |
void |
updateBoolean(java.lang.String column,
boolean x) |
void |
updateByte(int columnIndex,
byte x) |
void |
updateByte(java.lang.String column,
byte x) |
void |
updateBytes(int columnIndex,
byte[] x) |
void |
updateBytes(java.lang.String column,
byte[] x) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader x,
int length)
JDBC 2.0
Update a column with a character stream value.
|
void |
updateCharacterStream(java.lang.String column,
java.io.Reader reader,
int length)
JDBC 2.0
Update a column with a character stream value.
|
void |
updateDate(int columnIndex,
java.sql.Date x) |
void |
updateDate(java.lang.String column,
java.sql.Date x) |
void |
updateDouble(int columnIndex,
double x) |
void |
updateDouble(java.lang.String column,
double x) |
void |
updateFloat(int columnIndex,
float x) |
void |
updateFloat(java.lang.String column,
float x) |
void |
updateIfxObject(int columnIndex,
java.lang.Object x) |
void |
updateIfxObject(java.lang.String column,
java.lang.Object x) |
void |
updateInt(int columnIndex,
int x) |
void |
updateInt(java.lang.String column,
int x) |
void |
updateLong(int columnIndex,
long x) |
void |
updateLong(java.lang.String column,
long x) |
void |
updateNull(int columnIndex) |
void |
updateNull(java.lang.String column) |
void |
updateObject(int columnIndex,
java.lang.Object x) |
void |
updateObject(int columnIndex,
java.lang.Object x,
int scale) |
void |
updateObject(java.lang.String column,
java.lang.Object x) |
void |
updateObject(java.lang.String column,
java.lang.Object x,
int scale) |
void |
updateShort(int columnIndex,
short x) |
void |
updateShort(java.lang.String column,
short x) |
void |
updateString(int columnIndex,
java.lang.String x) |
void |
updateString(java.lang.String column,
java.lang.String x) |
void |
updateTime(int columnIndex,
java.sql.Time x) |
void |
updateTime(java.lang.String column,
java.sql.Time x) |
void |
updateTimestamp(int columnIndex,
java.sql.Timestamp x) |
void |
updateTimestamp(java.lang.String column,
java.sql.Timestamp x) |
boolean |
wasNull() |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
absolute, afterLast, beforeFirst, cancelRowUpdates, close, deleteRow, first, getConcurrency, getCursorName, getFetchDirection, getFetchSize, getHoldability, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getRow, getRowId, getRowId, getSQLXML, getSQLXML, getStatement, getType, getURL, getURL, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateSQLXML, updateSQLXML
protected IfxResultSetMetaData rsmd
protected IfxConnection conn
protected Trace trace
protected java.util.Vector<IfxObject> insertRowVector
protected java.util.Vector<IfxObject> colVector
protected boolean insertMode
protected boolean lastColWasNull
protected java.util.Hashtable<java.lang.String,java.lang.Integer> nameToIdxTable
protected boolean delimIdent
protected java.util.Map<java.lang.String,java.lang.Class<?>> typeMap
protected java.sql.SQLWarning warnings
public boolean wasNull()
wasNull
in interface java.sql.ResultSet
public int findColumn(java.lang.String columnName) throws java.sql.SQLException
findColumn
in interface java.sql.ResultSet
java.sql.SQLException
protected void chainWarnings(java.sql.SQLWarning cwarn)
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 void updateNull(int columnIndex) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
java.sql.SQLException
public void updateNull(java.lang.String column) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBoolean(int columnIndex, boolean x) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBoolean(java.lang.String column, boolean x) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
java.sql.SQLException
public void updateByte(int columnIndex, byte x) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
java.sql.SQLException
public void updateByte(java.lang.String column, byte x) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
java.sql.SQLException
public void updateShort(int columnIndex, short x) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
java.sql.SQLException
public void updateShort(java.lang.String column, short x) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
java.sql.SQLException
public void updateInt(int columnIndex, int x) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
java.sql.SQLException
public void updateInt(java.lang.String column, int x) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
java.sql.SQLException
public void updateLong(int columnIndex, long x) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
java.sql.SQLException
public void updateLong(java.lang.String column, long x) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
java.sql.SQLException
public void updateFloat(int columnIndex, float x) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
java.sql.SQLException
public void updateFloat(java.lang.String column, float x) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
java.sql.SQLException
public void updateDouble(int columnIndex, double x) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
java.sql.SQLException
public void updateDouble(java.lang.String column, double x) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBigDecimal(int columnIndex, java.math.BigDecimal x) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBigDecimal(java.lang.String column, java.math.BigDecimal x) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
public void updateString(int columnIndex, java.lang.String x) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
java.sql.SQLException
public void updateString(java.lang.String column, java.lang.String x) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBytes(int columnIndex, byte[] x) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBytes(java.lang.String column, byte[] x) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
java.sql.SQLException
public void updateDate(int columnIndex, java.sql.Date x) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
java.sql.SQLException
public void updateDate(java.lang.String column, java.sql.Date x) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTime(int columnIndex, java.sql.Time x) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTime(java.lang.String column, java.sql.Time x) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
public void updateTimestamp(java.lang.String column, java.sql.Timestamp x) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
public void updateAsciiStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateAsciiStream(java.lang.String column, java.io.InputStream x, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBinaryStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateBinaryStream(java.lang.String column, java.io.InputStream x, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
public void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
columnIndex
- the first column is 1, the second is 2, ...x
- the new column valuelength
- the length of the streamjava.sql.SQLException
- if a database-access error occurspublic void updateCharacterStream(java.lang.String column, java.io.Reader reader, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
colum
- the name of the columnx
- the new column valuelength
- of the streamjava.sql.SQLException
- if a database-access error occurspublic void updateObject(int columnIndex, java.lang.Object x) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(java.lang.String column, java.lang.Object x) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x, int scale) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateObject(java.lang.String column, java.lang.Object x, int scale) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
java.sql.SQLException
public void updateIfxObject(int columnIndex, java.lang.Object x) throws java.sql.SQLException
java.sql.SQLException
public void updateIfxObject(java.lang.String column, java.lang.Object x) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getString(int columnIndex) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
columnIndex
- First column is 1, second is 2, etc.java.sql.SQLException
- If columnIndex out of range or
conversion cannot be donepublic java.lang.String getUnloadString(int columnIndex) throws java.sql.SQLException
IfmxResultSet
getUnloadString
in interface IfmxResultSet
java.sql.SQLException
public java.lang.String getString(java.lang.String columnName) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
columnName
- Name of the columnjava.sql.SQLException
- If columnName does not exist
conversion cannot be donepublic java.lang.Object getObject(int columnIndex) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
columnIndex
- Column Indexjava.sql.SQLException
- If columnIndex out of range or
conversion cannot be donepublic java.lang.Object getObject(java.lang.String columnName) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
columnName
- Name of the columnjava.sql.SQLException
- If columnName does not exist
conversion cannot be donepublic 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.ResultSet
i
- the first column is 1, the second is 2, ...map
- the mapping from SQL type names to Java classesjava.sql.SQLException
public 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.ResultSet
colName
- the column namemap
- the mapping from SQL type names to Java classesjava.sql.SQLException
public java.io.InputStream getAsciiStream(int columnIndex) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
columnIndex
- Column Indexjava.sql.SQLException
- If columnIndex out of range or
conversion cannot be donepublic java.io.InputStream getAsciiStream(java.lang.String columnName) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
columnName
- Name of the columnjava.sql.SQLException
- If columnName does not exist or
conversion cannot be donepublic java.io.Reader getCharacterStream(int columnIndex) throws java.sql.SQLException
Get the value of a column in the current row as a java.io.Reader.
getCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public java.io.Reader getCharacterStream(java.lang.String columnName) throws java.sql.SQLException
Get the value of a column in the current row as a java.io.Reader.
getCharacterStream
in interface java.sql.ResultSet
java.sql.SQLException
public java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
columnIndex
- 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.ResultSet
columnName
- 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.ResultSet
columnIndex
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database-access error occurs.public java.math.BigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
java.sql.SQLException
public boolean getBoolean(int columnIndex) throws java.sql.SQLException
getBoolean
in interface java.sql.ResultSet
java.sql.SQLException
public boolean getBoolean(java.lang.String columnName) throws java.sql.SQLException
getBoolean
in interface java.sql.ResultSet
java.sql.SQLException
public short getShort(int columnIndex) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
java.sql.SQLException
public short getShort(java.lang.String columnName) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
java.sql.SQLException
public int getInt(int columnIndex) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
java.sql.SQLException
public int getInt(java.lang.String columnName) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
java.sql.SQLException
public long getLong(int columnIndex) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
java.sql.SQLException
public long getLong(java.lang.String columnName) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
java.sql.SQLException
public float getFloat(int columnIndex) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
java.sql.SQLException
public float getFloat(java.lang.String columnName) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
java.sql.SQLException
public byte getByte(int columnIndex) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
java.sql.SQLException
public byte getByte(java.lang.String columnName) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
java.sql.SQLException
public byte[] getBytes(int columnIndex) throws java.sql.SQLException
getBytes
in interface java.sql.ResultSet
java.sql.SQLException
public byte[] getBytes(java.lang.String columnName) throws java.sql.SQLException
getBytes
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Date getDate(int columnIndex) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Date getDate(java.lang.String columnName) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
java.sql.SQLException
public double getDouble(int columnIndex) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
java.sql.SQLException
public double getDouble(java.lang.String columnName) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Time getTime(int columnIndex) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Time getTime(java.lang.String columnName) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
java.sql.SQLException
public java.sql.Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
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 calendar to use in constructing the timestampjava.sql.SQLException
- if a database-access error occurs.public java.sql.Timestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
java.sql.SQLException
public 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.ResultSet
columnIndex
- 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.ResultSet
columnName
- 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.ResultSet
java.sql.SQLException
public java.io.InputStream getBinaryStream(java.lang.String columnName) throws java.sql.SQLException
getBinaryStream
in interface java.sql.ResultSet
java.sql.SQLException
public Interval getInterval(int columnIndex) throws java.sql.SQLException
getInterval
in interface IfmxResultSet
columnIndex
- 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 IfmxResultSet
columnName
- 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 IfmxResultSet
columnIndex
- 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 IfmxResultSet
columnName
- 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 IfmxResultSet
columnIndex
- 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 IfmxResultSet
columnName
- is the SQL name of the columnjava.sql.SQLException
- if a database-access error occurs.public java.sql.Ref getRef(int i) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
i
- the first column is 1, the second is 2, ...java.sql.SQLException
public java.sql.Blob getBlob(int columnIndex) throws java.sql.SQLException
getBlob
in interface ResultSet2
getBlob
in interface java.sql.ResultSet
i
- 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 ResultSet2
getClob
in interface java.sql.ResultSet
i
- the first column is 1, the second is 2, ...java.sql.SQLException
public java.sql.Array getArray(int colIdx) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
i
- the first column is 1, the second is 2, ...java.sql.SQLException
public java.sql.Ref getRef(java.lang.String colName) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
colName
- the column namejava.sql.SQLException
public java.sql.Blob getBlob(java.lang.String colName) throws java.sql.SQLException
getBlob
in interface ResultSet2
getBlob
in interface java.sql.ResultSet
colName
- the column namejava.sql.SQLException
public java.sql.Clob getClob(java.lang.String colName) throws java.sql.SQLException
getClob
in interface ResultSet2
getClob
in interface java.sql.ResultSet
colName
- the column namejava.sql.SQLException
public java.sql.Array getArray(java.lang.String colName) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
colName
- the column namejava.sql.SQLException
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 calendar to use in constructing 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.ResultSet
columnName
- 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.ResultSet
columnIndex
- 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.ResultSet
columnName
- 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.ResultSet
columnName
- is the SQL name of the columncal
- the calendar to use in constructing the timestampjava.sql.SQLException
- if a database-access error occurs.protected void finalize()
finalize
in class java.lang.Object
public IfxBSONObject getIfxBSONObject(int columnIndex) throws java.sql.SQLException
getIfxBSONObject
in interface IfmxResultSet
columnIndex
- 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 IfmxResultSet
columnName
- java.sql.SQLException
- if a database-access error occurs.