Package org.apache.commons.dbutils
Class BaseResultSetHandler<T>
- java.lang.Object
-
- org.apache.commons.dbutils.BaseResultSetHandler<T>
-
- Type Parameters:
T
- the target type the input ResultSet will be converted to.
- All Implemented Interfaces:
ResultSetHandler<T>
public abstract class BaseResultSetHandler<T> extends java.lang.Object implements ResultSetHandler<T>
Extensions of this class convert ResultSets into other objects. According to the DRY principle (Don't Repeat Yourself), repeatingresultSet
variable inside theResultSetHandler.handle(ResultSet)
over and over for each iteration can get a little tedious,AbstractResultSetHandler
implicitly gives users access toResultSet
's methods. NOTE This class is NOT thread safe!- Since:
- 1.6
-
-
Field Summary
Fields Modifier and Type Field Description private java.sql.ResultSet
rs
The adapted ResultSet.
-
Constructor Summary
Constructors Constructor Description BaseResultSetHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected boolean
absolute(int row)
protected void
afterLast()
protected void
beforeFirst()
protected void
cancelRowUpdates()
protected void
clearWarnings()
protected void
close()
protected void
deleteRow()
protected int
findColumn(java.lang.String columnLabel)
protected boolean
first()
protected java.sql.ResultSet
getAdaptedResultSet()
protected java.sql.Array
getArray(int columnIndex)
protected java.sql.Array
getArray(java.lang.String columnLabel)
protected java.io.InputStream
getAsciiStream(int columnIndex)
protected java.io.InputStream
getAsciiStream(java.lang.String columnLabel)
protected java.math.BigDecimal
getBigDecimal(int columnIndex)
protected java.math.BigDecimal
getBigDecimal(int columnIndex, int scale)
Deprecated.protected java.math.BigDecimal
getBigDecimal(java.lang.String columnLabel)
protected java.math.BigDecimal
getBigDecimal(java.lang.String columnLabel, int scale)
Deprecated.protected java.io.InputStream
getBinaryStream(int columnIndex)
protected java.io.InputStream
getBinaryStream(java.lang.String columnLabel)
protected java.sql.Blob
getBlob(int columnIndex)
protected java.sql.Blob
getBlob(java.lang.String columnLabel)
protected boolean
getBoolean(int columnIndex)
protected boolean
getBoolean(java.lang.String columnLabel)
protected byte
getByte(int columnIndex)
protected byte
getByte(java.lang.String columnLabel)
protected byte[]
getBytes(int columnIndex)
protected byte[]
getBytes(java.lang.String columnLabel)
protected java.io.Reader
getCharacterStream(int columnIndex)
protected java.io.Reader
getCharacterStream(java.lang.String columnLabel)
protected java.sql.Clob
getClob(int columnIndex)
protected java.sql.Clob
getClob(java.lang.String columnLabel)
protected int
getConcurrency()
protected java.lang.String
getCursorName()
protected java.sql.Date
getDate(int columnIndex)
protected java.sql.Date
getDate(int columnIndex, java.util.Calendar cal)
protected java.sql.Date
getDate(java.lang.String columnLabel)
protected java.sql.Date
getDate(java.lang.String columnLabel, java.util.Calendar cal)
protected double
getDouble(int columnIndex)
protected double
getDouble(java.lang.String columnLabel)
protected int
getFetchDirection()
protected int
getFetchSize()
protected float
getFloat(int columnIndex)
protected float
getFloat(java.lang.String columnLabel)
protected int
getHoldability()
protected int
getInt(int columnIndex)
protected int
getInt(java.lang.String columnLabel)
protected long
getLong(int columnIndex)
protected long
getLong(java.lang.String columnLabel)
protected java.sql.ResultSetMetaData
getMetaData()
protected java.io.Reader
getNCharacterStream(int columnIndex)
protected java.io.Reader
getNCharacterStream(java.lang.String columnLabel)
protected java.sql.NClob
getNClob(int columnIndex)
protected java.sql.NClob
getNClob(java.lang.String columnLabel)
protected java.lang.String
getNString(int columnIndex)
protected java.lang.String
getNString(java.lang.String columnLabel)
protected java.lang.Object
getObject(int columnIndex)
protected java.lang.Object
getObject(int columnIndex, java.util.Map<java.lang.String,java.lang.Class<?>> map)
protected java.lang.Object
getObject(java.lang.String columnLabel)
protected java.lang.Object
getObject(java.lang.String columnLabel, java.util.Map<java.lang.String,java.lang.Class<?>> map)
protected java.sql.Ref
getRef(int columnIndex)
protected java.sql.Ref
getRef(java.lang.String columnLabel)
protected int
getRow()
protected java.sql.RowId
getRowId(int columnIndex)
protected java.sql.RowId
getRowId(java.lang.String columnLabel)
protected short
getShort(int columnIndex)
protected short
getShort(java.lang.String columnLabel)
protected java.sql.SQLXML
getSQLXML(int columnIndex)
protected java.sql.SQLXML
getSQLXML(java.lang.String columnLabel)
protected java.sql.Statement
getStatement()
protected java.lang.String
getString(int columnIndex)
protected java.lang.String
getString(java.lang.String columnLabel)
protected java.sql.Time
getTime(int columnIndex)
protected java.sql.Time
getTime(int columnIndex, java.util.Calendar cal)
protected java.sql.Time
getTime(java.lang.String columnLabel)
protected java.sql.Time
getTime(java.lang.String columnLabel, java.util.Calendar cal)
protected java.sql.Timestamp
getTimestamp(int columnIndex)
protected java.sql.Timestamp
getTimestamp(int columnIndex, java.util.Calendar cal)
protected java.sql.Timestamp
getTimestamp(java.lang.String columnLabel)
protected java.sql.Timestamp
getTimestamp(java.lang.String columnLabel, java.util.Calendar cal)
protected int
getType()
protected java.io.InputStream
getUnicodeStream(int columnIndex)
Deprecated.protected java.io.InputStream
getUnicodeStream(java.lang.String columnLabel)
Deprecated.protected java.net.URL
getURL(int columnIndex)
protected java.net.URL
getURL(java.lang.String columnLabel)
protected java.sql.SQLWarning
getWarnings()
protected abstract T
handle()
Turn theResultSet
into an Object.T
handle(java.sql.ResultSet rs)
Turn theResultSet
into an Object.protected void
insertRow()
protected boolean
isAfterLast()
protected boolean
isBeforeFirst()
protected boolean
isClosed()
protected boolean
isFirst()
protected boolean
isLast()
protected boolean
isWrapperFor(java.lang.Class<?> iface)
protected boolean
last()
protected void
moveToCurrentRow()
protected void
moveToInsertRow()
protected boolean
next()
protected boolean
previous()
protected void
refreshRow()
protected boolean
relative(int rows)
protected boolean
rowDeleted()
protected boolean
rowInserted()
protected boolean
rowUpdated()
protected void
setFetchDirection(int direction)
protected void
setFetchSize(int rows)
protected <E> E
unwrap(java.lang.Class<E> iface)
protected void
updateArray(int columnIndex, java.sql.Array x)
protected void
updateArray(java.lang.String columnLabel, java.sql.Array x)
protected void
updateAsciiStream(int columnIndex, java.io.InputStream x)
protected void
updateAsciiStream(int columnIndex, java.io.InputStream x, int length)
protected void
updateAsciiStream(int columnIndex, java.io.InputStream x, long length)
protected void
updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)
protected void
updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, int length)
protected void
updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length)
protected void
updateBigDecimal(int columnIndex, java.math.BigDecimal x)
protected void
updateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal x)
protected void
updateBinaryStream(int columnIndex, java.io.InputStream x)
protected void
updateBinaryStream(int columnIndex, java.io.InputStream x, int length)
protected void
updateBinaryStream(int columnIndex, java.io.InputStream x, long length)
protected void
updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x)
protected void
updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, int length)
protected void
updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length)
protected void
updateBlob(int columnIndex, java.io.InputStream inputStream)
protected void
updateBlob(int columnIndex, java.io.InputStream inputStream, long length)
protected void
updateBlob(int columnIndex, java.sql.Blob x)
protected void
updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)
protected void
updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length)
protected void
updateBlob(java.lang.String columnLabel, java.sql.Blob x)
protected void
updateBoolean(int columnIndex, boolean x)
protected void
updateBoolean(java.lang.String columnLabel, boolean x)
protected void
updateByte(int columnIndex, byte x)
protected void
updateByte(java.lang.String columnLabel, byte x)
protected void
updateBytes(int columnIndex, byte[] x)
protected void
updateBytes(java.lang.String columnLabel, byte[] x)
protected void
updateCharacterStream(int columnIndex, java.io.Reader x)
protected void
updateCharacterStream(int columnIndex, java.io.Reader x, int length)
protected void
updateCharacterStream(int columnIndex, java.io.Reader x, long length)
protected void
updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)
protected void
updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, int length)
protected void
updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)
protected void
updateClob(int columnIndex, java.io.Reader reader)
protected void
updateClob(int columnIndex, java.io.Reader reader, long length)
protected void
updateClob(int columnIndex, java.sql.Clob x)
protected void
updateClob(java.lang.String columnLabel, java.io.Reader reader)
protected void
updateClob(java.lang.String columnLabel, java.io.Reader reader, long length)
protected void
updateClob(java.lang.String columnLabel, java.sql.Clob x)
protected void
updateDate(int columnIndex, java.sql.Date x)
protected void
updateDate(java.lang.String columnLabel, java.sql.Date x)
protected void
updateDouble(int columnIndex, double x)
protected void
updateDouble(java.lang.String columnLabel, double x)
protected void
updateFloat(int columnIndex, float x)
protected void
updateFloat(java.lang.String columnLabel, float x)
protected void
updateInt(int columnIndex, int x)
protected void
updateInt(java.lang.String columnLabel, int x)
protected void
updateLong(int columnIndex, long x)
protected void
updateLong(java.lang.String columnLabel, long x)
protected void
updateNCharacterStream(int columnIndex, java.io.Reader x)
protected void
updateNCharacterStream(int columnIndex, java.io.Reader x, long length)
protected void
updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)
protected void
updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)
protected void
updateNClob(int columnIndex, java.io.Reader reader)
protected void
updateNClob(int columnIndex, java.io.Reader reader, long length)
protected void
updateNClob(int columnIndex, java.sql.NClob nClob)
protected void
updateNClob(java.lang.String columnLabel, java.io.Reader reader)
protected void
updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length)
protected void
updateNClob(java.lang.String columnLabel, java.sql.NClob nClob)
protected void
updateNString(int columnIndex, java.lang.String nString)
protected void
updateNString(java.lang.String columnLabel, java.lang.String nString)
protected void
updateNull(int columnIndex)
protected void
updateNull(java.lang.String columnLabel)
protected void
updateObject(int columnIndex, java.lang.Object x)
protected void
updateObject(int columnIndex, java.lang.Object x, int scaleOrLength)
protected void
updateObject(java.lang.String columnLabel, java.lang.Object x)
protected void
updateObject(java.lang.String columnLabel, java.lang.Object x, int scaleOrLength)
protected void
updateRef(int columnIndex, java.sql.Ref x)
protected void
updateRef(java.lang.String columnLabel, java.sql.Ref x)
protected void
updateRow()
protected void
updateRowId(int columnIndex, java.sql.RowId x)
protected void
updateRowId(java.lang.String columnLabel, java.sql.RowId x)
protected void
updateShort(int columnIndex, short x)
protected void
updateShort(java.lang.String columnLabel, short x)
protected void
updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)
protected void
updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject)
protected void
updateString(int columnIndex, java.lang.String x)
protected void
updateString(java.lang.String columnLabel, java.lang.String x)
protected void
updateTime(int columnIndex, java.sql.Time x)
protected void
updateTime(java.lang.String columnLabel, java.sql.Time x)
protected void
updateTimestamp(int columnIndex, java.sql.Timestamp x)
protected void
updateTimestamp(java.lang.String columnLabel, java.sql.Timestamp x)
protected boolean
wasNull()
-
-
-
Method Detail
-
handle
public final T handle(java.sql.ResultSet rs) throws java.sql.SQLException
Turn theResultSet
into an Object.- Specified by:
handle
in interfaceResultSetHandler<T>
- Parameters:
rs
- TheResultSet
to handle. It has not been touched before being passed to this method.- Returns:
- An Object initialized with
ResultSet
data. It is legal for implementations to returnnull
if theResultSet
contained 0 rows. - Throws:
java.sql.SQLException
- if a database access error occurs
-
handle
protected abstract T handle() throws java.sql.SQLException
Turn theResultSet
into an Object.- Returns:
- An Object initialized with
ResultSet
data - Throws:
java.sql.SQLException
- if a database access error occurs- See Also:
ResultSetHandler.handle(ResultSet)
-
absolute
protected final boolean absolute(int row) throws java.sql.SQLException
- Parameters:
row
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.absolute(int)
-
afterLast
protected final void afterLast() throws java.sql.SQLException
- Throws:
java.sql.SQLException
- See Also:
ResultSet.afterLast()
-
beforeFirst
protected final void beforeFirst() throws java.sql.SQLException
- Throws:
java.sql.SQLException
- See Also:
ResultSet.beforeFirst()
-
cancelRowUpdates
protected final void cancelRowUpdates() throws java.sql.SQLException
- Throws:
java.sql.SQLException
- See Also:
ResultSet.cancelRowUpdates()
-
clearWarnings
protected final void clearWarnings() throws java.sql.SQLException
- Throws:
java.sql.SQLException
- See Also:
ResultSet.clearWarnings()
-
close
protected final void close() throws java.sql.SQLException
- Throws:
java.sql.SQLException
- See Also:
ResultSet.close()
-
deleteRow
protected final void deleteRow() throws java.sql.SQLException
- Throws:
java.sql.SQLException
- See Also:
ResultSet.deleteRow()
-
findColumn
protected final int findColumn(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.findColumn(java.lang.String)
-
first
protected final boolean first() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.first()
-
getArray
protected final java.sql.Array getArray(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getArray(int)
-
getArray
protected final java.sql.Array getArray(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getArray(java.lang.String)
-
getAsciiStream
protected final java.io.InputStream getAsciiStream(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getAsciiStream(int)
-
getAsciiStream
protected final java.io.InputStream getAsciiStream(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getAsciiStream(java.lang.String)
-
getBigDecimal
@Deprecated protected final java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLException
Deprecated.- Parameters:
columnIndex
-scale
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBigDecimal(int, int)
-
getBigDecimal
protected final java.math.BigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBigDecimal(int)
-
getBigDecimal
@Deprecated protected final java.math.BigDecimal getBigDecimal(java.lang.String columnLabel, int scale) throws java.sql.SQLException
Deprecated.- Parameters:
columnLabel
-scale
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBigDecimal(java.lang.String, int)
-
getBigDecimal
protected final java.math.BigDecimal getBigDecimal(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBigDecimal(java.lang.String)
-
getBinaryStream
protected final java.io.InputStream getBinaryStream(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBinaryStream(int)
-
getBinaryStream
protected final java.io.InputStream getBinaryStream(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBinaryStream(java.lang.String)
-
getBlob
protected final java.sql.Blob getBlob(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBlob(int)
-
getBlob
protected final java.sql.Blob getBlob(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBlob(java.lang.String)
-
getBoolean
protected final boolean getBoolean(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBoolean(int)
-
getBoolean
protected final boolean getBoolean(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBoolean(java.lang.String)
-
getByte
protected final byte getByte(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getByte(int)
-
getByte
protected final byte getByte(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getByte(java.lang.String)
-
getBytes
protected final byte[] getBytes(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBytes(int)
-
getBytes
protected final byte[] getBytes(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getBytes(java.lang.String)
-
getCharacterStream
protected final java.io.Reader getCharacterStream(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getCharacterStream(int)
-
getCharacterStream
protected final java.io.Reader getCharacterStream(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getCharacterStream(java.lang.String)
-
getClob
protected final java.sql.Clob getClob(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getClob(int)
-
getClob
protected final java.sql.Clob getClob(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getClob(java.lang.String)
-
getConcurrency
protected final int getConcurrency() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getConcurrency()
-
getCursorName
protected final java.lang.String getCursorName() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getCursorName()
-
getDate
protected final java.sql.Date getDate(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
- Parameters:
columnIndex
-cal
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getDate(int, java.util.Calendar)
-
getDate
protected final java.sql.Date getDate(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getDate(int)
-
getDate
protected final java.sql.Date getDate(java.lang.String columnLabel, java.util.Calendar cal) throws java.sql.SQLException
- Parameters:
columnLabel
-cal
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getDate(java.lang.String, java.util.Calendar)
-
getDate
protected final java.sql.Date getDate(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getDate(java.lang.String)
-
getDouble
protected final double getDouble(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getDouble(int)
-
getDouble
protected final double getDouble(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getDouble(java.lang.String)
-
getFetchDirection
protected final int getFetchDirection() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getFetchDirection()
-
getFetchSize
protected final int getFetchSize() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getFetchSize()
-
getFloat
protected final float getFloat(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getFloat(int)
-
getFloat
protected final float getFloat(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getFloat(java.lang.String)
-
getHoldability
protected final int getHoldability() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getHoldability()
-
getInt
protected final int getInt(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getInt(int)
-
getInt
protected final int getInt(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getInt(java.lang.String)
-
getLong
protected final long getLong(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getLong(int)
-
getLong
protected final long getLong(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getLong(java.lang.String)
-
getMetaData
protected final java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getMetaData()
-
getNCharacterStream
protected final java.io.Reader getNCharacterStream(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getNCharacterStream(int)
-
getNCharacterStream
protected final java.io.Reader getNCharacterStream(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getNCharacterStream(java.lang.String)
-
getNClob
protected final java.sql.NClob getNClob(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getNClob(int)
-
getNClob
protected final java.sql.NClob getNClob(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getNClob(java.lang.String)
-
getNString
protected final java.lang.String getNString(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getNString(int)
-
getNString
protected final java.lang.String getNString(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getNString(java.lang.String)
-
getObject
protected final java.lang.Object getObject(int columnIndex, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
- Parameters:
columnIndex
-map
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getObject(int, java.util.Map)
-
getObject
protected final java.lang.Object getObject(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getObject(int)
-
getObject
protected final java.lang.Object getObject(java.lang.String columnLabel, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
- Parameters:
columnLabel
-map
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getObject(java.lang.String, java.util.Map)
-
getObject
protected final java.lang.Object getObject(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getObject(java.lang.String)
-
getRef
protected final java.sql.Ref getRef(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getRef(int)
-
getRef
protected final java.sql.Ref getRef(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getRef(java.lang.String)
-
getRow
protected final int getRow() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getRow()
-
getRowId
protected final java.sql.RowId getRowId(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getRowId(int)
-
getRowId
protected final java.sql.RowId getRowId(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getRowId(java.lang.String)
-
getSQLXML
protected final java.sql.SQLXML getSQLXML(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getSQLXML(int)
-
getSQLXML
protected final java.sql.SQLXML getSQLXML(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getSQLXML(java.lang.String)
-
getShort
protected final short getShort(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getShort(int)
-
getShort
protected final short getShort(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getShort(java.lang.String)
-
getStatement
protected final java.sql.Statement getStatement() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getStatement()
-
getString
protected final java.lang.String getString(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getString(int)
-
getString
protected final java.lang.String getString(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getString(java.lang.String)
-
getTime
protected final java.sql.Time getTime(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
- Parameters:
columnIndex
-cal
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getTime(int, java.util.Calendar)
-
getTime
protected final java.sql.Time getTime(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getTime(int)
-
getTime
protected final java.sql.Time getTime(java.lang.String columnLabel, java.util.Calendar cal) throws java.sql.SQLException
- Parameters:
columnLabel
-cal
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getTime(java.lang.String, java.util.Calendar)
-
getTime
protected final java.sql.Time getTime(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getTime(java.lang.String)
-
getTimestamp
protected final java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException
- Parameters:
columnIndex
-cal
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getTimestamp(int, java.util.Calendar)
-
getTimestamp
protected final java.sql.Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getTimestamp(int)
-
getTimestamp
protected final java.sql.Timestamp getTimestamp(java.lang.String columnLabel, java.util.Calendar cal) throws java.sql.SQLException
- Parameters:
columnLabel
-cal
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getTimestamp(java.lang.String, java.util.Calendar)
-
getTimestamp
protected final java.sql.Timestamp getTimestamp(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getTimestamp(java.lang.String)
-
getType
protected final int getType() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getType()
-
getURL
protected final java.net.URL getURL(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getURL(int)
-
getURL
protected final java.net.URL getURL(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getURL(java.lang.String)
-
getUnicodeStream
@Deprecated protected final java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLException
Deprecated.- Parameters:
columnIndex
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getUnicodeStream(int)
-
getUnicodeStream
@Deprecated protected final java.io.InputStream getUnicodeStream(java.lang.String columnLabel) throws java.sql.SQLException
Deprecated.- Parameters:
columnLabel
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getUnicodeStream(java.lang.String)
-
getWarnings
protected final java.sql.SQLWarning getWarnings() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.getWarnings()
-
insertRow
protected final void insertRow() throws java.sql.SQLException
- Throws:
java.sql.SQLException
- See Also:
ResultSet.insertRow()
-
isAfterLast
protected final boolean isAfterLast() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.isAfterLast()
-
isBeforeFirst
protected final boolean isBeforeFirst() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.isBeforeFirst()
-
isClosed
protected final boolean isClosed() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.isClosed()
-
isFirst
protected final boolean isFirst() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.isFirst()
-
isLast
protected final boolean isLast() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.isLast()
-
isWrapperFor
protected final boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
- Parameters:
iface
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
Wrapper.isWrapperFor(java.lang.Class)
-
last
protected final boolean last() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.last()
-
moveToCurrentRow
protected final void moveToCurrentRow() throws java.sql.SQLException
- Throws:
java.sql.SQLException
- See Also:
ResultSet.moveToCurrentRow()
-
moveToInsertRow
protected final void moveToInsertRow() throws java.sql.SQLException
- Throws:
java.sql.SQLException
- See Also:
ResultSet.moveToInsertRow()
-
next
protected final boolean next() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.next()
-
previous
protected final boolean previous() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.previous()
-
refreshRow
protected final void refreshRow() throws java.sql.SQLException
- Throws:
java.sql.SQLException
- See Also:
ResultSet.refreshRow()
-
relative
protected final boolean relative(int rows) throws java.sql.SQLException
- Parameters:
rows
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.relative(int)
-
rowDeleted
protected final boolean rowDeleted() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.rowDeleted()
-
rowInserted
protected final boolean rowInserted() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.rowInserted()
-
rowUpdated
protected final boolean rowUpdated() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.rowUpdated()
-
setFetchDirection
protected final void setFetchDirection(int direction) throws java.sql.SQLException
- Parameters:
direction
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.setFetchDirection(int)
-
setFetchSize
protected final void setFetchSize(int rows) throws java.sql.SQLException
- Parameters:
rows
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.setFetchSize(int)
-
unwrap
protected final <E> E unwrap(java.lang.Class<E> iface) throws java.sql.SQLException
- Parameters:
iface
-- Returns:
- Throws:
java.sql.SQLException
- See Also:
Wrapper.unwrap(java.lang.Class)
-
updateArray
protected final void updateArray(int columnIndex, java.sql.Array x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateArray(int, java.sql.Array)
-
updateArray
protected final void updateArray(java.lang.String columnLabel, java.sql.Array x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateArray(java.lang.String, java.sql.Array)
-
updateAsciiStream
protected final void updateAsciiStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateAsciiStream(int, java.io.InputStream, int)
-
updateAsciiStream
protected final void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateAsciiStream(int, java.io.InputStream, long)
-
updateAsciiStream
protected final void updateAsciiStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateAsciiStream(int, java.io.InputStream)
-
updateAsciiStream
protected final void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, int length) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateAsciiStream(java.lang.String, java.io.InputStream, int)
-
updateAsciiStream
protected final void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateAsciiStream(java.lang.String, java.io.InputStream, long)
-
updateAsciiStream
protected final void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateAsciiStream(java.lang.String, java.io.InputStream)
-
updateBigDecimal
protected final void updateBigDecimal(int columnIndex, java.math.BigDecimal x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBigDecimal(int, java.math.BigDecimal)
-
updateBigDecimal
protected final void updateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBigDecimal(java.lang.String, java.math.BigDecimal)
-
updateBinaryStream
protected final void updateBinaryStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBinaryStream(int, java.io.InputStream, int)
-
updateBinaryStream
protected final void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBinaryStream(int, java.io.InputStream, long)
-
updateBinaryStream
protected final void updateBinaryStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBinaryStream(int, java.io.InputStream)
-
updateBinaryStream
protected final void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, int length) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBinaryStream(java.lang.String, java.io.InputStream, int)
-
updateBinaryStream
protected final void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBinaryStream(java.lang.String, java.io.InputStream, long)
-
updateBinaryStream
protected final void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBinaryStream(java.lang.String, java.io.InputStream)
-
updateBlob
protected final void updateBlob(int columnIndex, java.sql.Blob x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBlob(int, java.sql.Blob)
-
updateBlob
protected final void updateBlob(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
- Parameters:
columnIndex
-inputStream
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBlob(int, java.io.InputStream, long)
-
updateBlob
protected final void updateBlob(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException
- Parameters:
columnIndex
-inputStream
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBlob(int, java.io.InputStream)
-
updateBlob
protected final void updateBlob(java.lang.String columnLabel, java.sql.Blob x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBlob(java.lang.String, java.sql.Blob)
-
updateBlob
protected final void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException
- Parameters:
columnLabel
-inputStream
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBlob(java.lang.String, java.io.InputStream, long)
-
updateBlob
protected final void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException
- Parameters:
columnLabel
-inputStream
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBlob(java.lang.String, java.io.InputStream)
-
updateBoolean
protected final void updateBoolean(int columnIndex, boolean x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBoolean(int, boolean)
-
updateBoolean
protected final void updateBoolean(java.lang.String columnLabel, boolean x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBoolean(java.lang.String, boolean)
-
updateByte
protected final void updateByte(int columnIndex, byte x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateByte(int, byte)
-
updateByte
protected final void updateByte(java.lang.String columnLabel, byte x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateByte(java.lang.String, byte)
-
updateBytes
protected final void updateBytes(int columnIndex, byte[] x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBytes(int, byte[])
-
updateBytes
protected final void updateBytes(java.lang.String columnLabel, byte[] x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateBytes(java.lang.String, byte[])
-
updateCharacterStream
protected final void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateCharacterStream(int, java.io.Reader, int)
-
updateCharacterStream
protected final void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateCharacterStream(int, java.io.Reader, long)
-
updateCharacterStream
protected final void updateCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateCharacterStream(int, java.io.Reader)
-
updateCharacterStream
protected final void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, int length) throws java.sql.SQLException
- Parameters:
columnLabel
-reader
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateCharacterStream(java.lang.String, java.io.Reader, int)
-
updateCharacterStream
protected final void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
- Parameters:
columnLabel
-reader
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateCharacterStream(java.lang.String, java.io.Reader, long)
-
updateCharacterStream
protected final void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
- Parameters:
columnLabel
-reader
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateCharacterStream(java.lang.String, java.io.Reader)
-
updateClob
protected final void updateClob(int columnIndex, java.sql.Clob x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateClob(int, java.sql.Clob)
-
updateClob
protected final void updateClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException
- Parameters:
columnIndex
-reader
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateClob(int, java.io.Reader, long)
-
updateClob
protected final void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
- Parameters:
columnIndex
-reader
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateClob(int, java.io.Reader)
-
updateClob
protected final void updateClob(java.lang.String columnLabel, java.sql.Clob x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateClob(java.lang.String, java.sql.Clob)
-
updateClob
protected final void updateClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
- Parameters:
columnLabel
-reader
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateClob(java.lang.String, java.io.Reader, long)
-
updateClob
protected final void updateClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
- Parameters:
columnLabel
-reader
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateClob(java.lang.String, java.io.Reader)
-
updateDate
protected final void updateDate(int columnIndex, java.sql.Date x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateDate(int, java.sql.Date)
-
updateDate
protected final void updateDate(java.lang.String columnLabel, java.sql.Date x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateDate(java.lang.String, java.sql.Date)
-
updateDouble
protected final void updateDouble(int columnIndex, double x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateDouble(int, double)
-
updateDouble
protected final void updateDouble(java.lang.String columnLabel, double x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateDouble(java.lang.String, double)
-
updateFloat
protected final void updateFloat(int columnIndex, float x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateFloat(int, float)
-
updateFloat
protected final void updateFloat(java.lang.String columnLabel, float x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateFloat(java.lang.String, float)
-
updateInt
protected final void updateInt(int columnIndex, int x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateInt(int, int)
-
updateInt
protected final void updateInt(java.lang.String columnLabel, int x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateInt(java.lang.String, int)
-
updateLong
protected final void updateLong(int columnIndex, long x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateLong(int, long)
-
updateLong
protected final void updateLong(java.lang.String columnLabel, long x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateLong(java.lang.String, long)
-
updateNCharacterStream
protected final void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNCharacterStream(int, java.io.Reader, long)
-
updateNCharacterStream
protected final void updateNCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNCharacterStream(int, java.io.Reader)
-
updateNCharacterStream
protected final void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
- Parameters:
columnLabel
-reader
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNCharacterStream(java.lang.String, java.io.Reader, long)
-
updateNCharacterStream
protected final void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
- Parameters:
columnLabel
-reader
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNCharacterStream(java.lang.String, java.io.Reader)
-
updateNClob
protected final void updateNClob(int columnIndex, java.sql.NClob nClob) throws java.sql.SQLException
- Parameters:
columnIndex
-nClob
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNClob(int, java.sql.NClob)
-
updateNClob
protected final void updateNClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException
- Parameters:
columnIndex
-reader
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNClob(int, java.io.Reader, long)
-
updateNClob
protected final void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
- Parameters:
columnIndex
-reader
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNClob(int, java.io.Reader)
-
updateNClob
protected final void updateNClob(java.lang.String columnLabel, java.sql.NClob nClob) throws java.sql.SQLException
- Parameters:
columnLabel
-nClob
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNClob(java.lang.String, java.sql.NClob)
-
updateNClob
protected final void updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
- Parameters:
columnLabel
-reader
-length
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNClob(java.lang.String, java.io.Reader, long)
-
updateNClob
protected final void updateNClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
- Parameters:
columnLabel
-reader
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNClob(java.lang.String, java.io.Reader)
-
updateNString
protected final void updateNString(int columnIndex, java.lang.String nString) throws java.sql.SQLException
- Parameters:
columnIndex
-nString
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNString(int, java.lang.String)
-
updateNString
protected final void updateNString(java.lang.String columnLabel, java.lang.String nString) throws java.sql.SQLException
- Parameters:
columnLabel
-nString
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNString(java.lang.String, java.lang.String)
-
updateNull
protected final void updateNull(int columnIndex) throws java.sql.SQLException
- Parameters:
columnIndex
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNull(int)
-
updateNull
protected final void updateNull(java.lang.String columnLabel) throws java.sql.SQLException
- Parameters:
columnLabel
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateNull(java.lang.String)
-
updateObject
protected final void updateObject(int columnIndex, java.lang.Object x, int scaleOrLength) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-scaleOrLength
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateObject(int, java.lang.Object, int)
-
updateObject
protected final void updateObject(int columnIndex, java.lang.Object x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateObject(int, java.lang.Object)
-
updateObject
protected final void updateObject(java.lang.String columnLabel, java.lang.Object x, int scaleOrLength) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-scaleOrLength
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateObject(java.lang.String, java.lang.Object, int)
-
updateObject
protected final void updateObject(java.lang.String columnLabel, java.lang.Object x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateObject(java.lang.String, java.lang.Object)
-
updateRef
protected final void updateRef(int columnIndex, java.sql.Ref x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateRef(int, java.sql.Ref)
-
updateRef
protected final void updateRef(java.lang.String columnLabel, java.sql.Ref x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateRef(java.lang.String, java.sql.Ref)
-
updateRow
protected final void updateRow() throws java.sql.SQLException
- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateRow()
-
updateRowId
protected final void updateRowId(int columnIndex, java.sql.RowId x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateRowId(int, java.sql.RowId)
-
updateRowId
protected final void updateRowId(java.lang.String columnLabel, java.sql.RowId x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateRowId(java.lang.String, java.sql.RowId)
-
updateSQLXML
protected final void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException
- Parameters:
columnIndex
-xmlObject
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateSQLXML(int, java.sql.SQLXML)
-
updateSQLXML
protected final void updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject) throws java.sql.SQLException
- Parameters:
columnLabel
-xmlObject
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateSQLXML(java.lang.String, java.sql.SQLXML)
-
updateShort
protected final void updateShort(int columnIndex, short x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateShort(int, short)
-
updateShort
protected final void updateShort(java.lang.String columnLabel, short x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateShort(java.lang.String, short)
-
updateString
protected final void updateString(int columnIndex, java.lang.String x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateString(int, java.lang.String)
-
updateString
protected final void updateString(java.lang.String columnLabel, java.lang.String x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateString(java.lang.String, java.lang.String)
-
updateTime
protected final void updateTime(int columnIndex, java.sql.Time x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateTime(int, java.sql.Time)
-
updateTime
protected final void updateTime(java.lang.String columnLabel, java.sql.Time x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateTime(java.lang.String, java.sql.Time)
-
updateTimestamp
protected final void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws java.sql.SQLException
- Parameters:
columnIndex
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateTimestamp(int, java.sql.Timestamp)
-
updateTimestamp
protected final void updateTimestamp(java.lang.String columnLabel, java.sql.Timestamp x) throws java.sql.SQLException
- Parameters:
columnLabel
-x
-- Throws:
java.sql.SQLException
- See Also:
ResultSet.updateTimestamp(java.lang.String, java.sql.Timestamp)
-
wasNull
protected final boolean wasNull() throws java.sql.SQLException
- Returns:
- Throws:
java.sql.SQLException
- See Also:
ResultSet.wasNull()
-
getAdaptedResultSet
protected final java.sql.ResultSet getAdaptedResultSet()
-
-