com.agimatec.dbmigrate.util
Class ResultSetDelegate
java.lang.Object
com.agimatec.dbmigrate.util.ResultSetDelegate
- Direct Known Subclasses:
- SQLCursor
public class ResultSetDelegate
- extends Object
Description: a wrapper of a result set. simply delegates all methods. use this
class for subclassing.
Copyright: Copyright (c) 2007
Company: Agimatec GmbH
- Author:
- Roman Stumm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resultSet
protected final ResultSet resultSet
ResultSetDelegate
public ResultSetDelegate(ResultSet aResultSet)
next
public boolean next()
throws SQLException
- Throws:
SQLException
close
public void close()
throws SQLException
- Throws:
SQLException
wasNull
public boolean wasNull()
throws SQLException
- Throws:
SQLException
getString
public String getString(int columnIndex)
throws SQLException
- Throws:
SQLException
getBoolean
public boolean getBoolean(int columnIndex)
throws SQLException
- Throws:
SQLException
getByte
public byte getByte(int columnIndex)
throws SQLException
- Throws:
SQLException
getShort
public short getShort(int columnIndex)
throws SQLException
- Throws:
SQLException
getInt
public int getInt(int columnIndex)
throws SQLException
- Throws:
SQLException
getLong
public long getLong(int columnIndex)
throws SQLException
- Throws:
SQLException
getFloat
public float getFloat(int columnIndex)
throws SQLException
- Throws:
SQLException
getDouble
public double getDouble(int columnIndex)
throws SQLException
- Throws:
SQLException
getBytes
public byte[] getBytes(int columnIndex)
throws SQLException
- Throws:
SQLException
getDate
public Date getDate(int columnIndex)
throws SQLException
- Throws:
SQLException
getTime
public Time getTime(int columnIndex)
throws SQLException
- Throws:
SQLException
getTimestamp
public Timestamp getTimestamp(int columnIndex)
throws SQLException
- Throws:
SQLException
getAsciiStream
public InputStream getAsciiStream(int columnIndex)
throws SQLException
- Throws:
SQLException
getBinaryStream
public InputStream getBinaryStream(int columnIndex)
throws SQLException
- Throws:
SQLException
getString
public String getString(String columnName)
throws SQLException
- Throws:
SQLException
getBoolean
public boolean getBoolean(String columnName)
throws SQLException
- Throws:
SQLException
getByte
public byte getByte(String columnName)
throws SQLException
- Throws:
SQLException
getShort
public short getShort(String columnName)
throws SQLException
- Throws:
SQLException
getInt
public int getInt(String columnName)
throws SQLException
- Throws:
SQLException
getLong
public long getLong(String columnName)
throws SQLException
- Throws:
SQLException
getFloat
public float getFloat(String columnName)
throws SQLException
- Throws:
SQLException
getDouble
public double getDouble(String columnName)
throws SQLException
- Throws:
SQLException
getBytes
public byte[] getBytes(String columnName)
throws SQLException
- Throws:
SQLException
getDate
public Date getDate(String columnName)
throws SQLException
- Throws:
SQLException
getTime
public Time getTime(String columnName)
throws SQLException
- Throws:
SQLException
getTimestamp
public Timestamp getTimestamp(String columnName)
throws SQLException
- Throws:
SQLException
getAsciiStream
public InputStream getAsciiStream(String columnName)
throws SQLException
- Throws:
SQLException
getBinaryStream
public InputStream getBinaryStream(String columnName)
throws SQLException
- Throws:
SQLException
getWarnings
public SQLWarning getWarnings()
throws SQLException
- Throws:
SQLException
clearWarnings
public void clearWarnings()
throws SQLException
- Throws:
SQLException
getCursorName
public String getCursorName()
throws SQLException
- Throws:
SQLException
getMetaData
public ResultSetMetaData getMetaData()
throws SQLException
- Throws:
SQLException
getObject
public Object getObject(int columnIndex)
throws SQLException
- Throws:
SQLException
getObject
public Object getObject(String columnName)
throws SQLException
- Throws:
SQLException
findColumn
public int findColumn(String columnName)
throws SQLException
- Throws:
SQLException
getCharacterStream
public Reader getCharacterStream(int columnIndex)
throws SQLException
- Throws:
SQLException
getCharacterStream
public Reader getCharacterStream(String columnName)
throws SQLException
- Throws:
SQLException
getBigDecimal
public BigDecimal getBigDecimal(int columnIndex)
throws SQLException
- Throws:
SQLException
getBigDecimal
public BigDecimal getBigDecimal(String columnName)
throws SQLException
- Throws:
SQLException
isBeforeFirst
public boolean isBeforeFirst()
throws SQLException
- Throws:
SQLException
isAfterLast
public boolean isAfterLast()
throws SQLException
- Throws:
SQLException
isFirst
public boolean isFirst()
throws SQLException
- Throws:
SQLException
isLast
public boolean isLast()
throws SQLException
- Throws:
SQLException
beforeFirst
public void beforeFirst()
throws SQLException
- Throws:
SQLException
afterLast
public void afterLast()
throws SQLException
- Throws:
SQLException
first
public boolean first()
throws SQLException
- Throws:
SQLException
last
public boolean last()
throws SQLException
- Throws:
SQLException
getRow
public int getRow()
throws SQLException
- Throws:
SQLException
absolute
public boolean absolute(int row)
throws SQLException
- Throws:
SQLException
relative
public boolean relative(int rows)
throws SQLException
- Throws:
SQLException
previous
public boolean previous()
throws SQLException
- Throws:
SQLException
setFetchDirection
public void setFetchDirection(int direction)
throws SQLException
- Throws:
SQLException
getFetchDirection
public int getFetchDirection()
throws SQLException
- Throws:
SQLException
setFetchSize
public void setFetchSize(int rows)
throws SQLException
- Throws:
SQLException
getFetchSize
public int getFetchSize()
throws SQLException
- Throws:
SQLException
getType
public int getType()
throws SQLException
- Throws:
SQLException
getConcurrency
public int getConcurrency()
throws SQLException
- Throws:
SQLException
rowUpdated
public boolean rowUpdated()
throws SQLException
- Throws:
SQLException
rowInserted
public boolean rowInserted()
throws SQLException
- Throws:
SQLException
rowDeleted
public boolean rowDeleted()
throws SQLException
- Throws:
SQLException
getStatement
public Statement getStatement()
throws SQLException
- Throws:
SQLException
getObject
public Object getObject(int i,
Map map)
throws SQLException
- Throws:
SQLException
getRef
public Ref getRef(int i)
throws SQLException
- Throws:
SQLException
getBlob
public Blob getBlob(int i)
throws SQLException
- Throws:
SQLException
getClob
public Clob getClob(int i)
throws SQLException
- Throws:
SQLException
getArray
public Array getArray(int i)
throws SQLException
- Throws:
SQLException
getObject
public Object getObject(String colName,
Map map)
throws SQLException
- Throws:
SQLException
getRef
public Ref getRef(String colName)
throws SQLException
- Throws:
SQLException
getBlob
public Blob getBlob(String colName)
throws SQLException
- Throws:
SQLException
getClob
public Clob getClob(String colName)
throws SQLException
- Throws:
SQLException
getArray
public Array getArray(String colName)
throws SQLException
- Throws:
SQLException
getDate
public Date getDate(int columnIndex,
Calendar cal)
throws SQLException
- Throws:
SQLException
getDate
public Date getDate(String columnName,
Calendar cal)
throws SQLException
- Throws:
SQLException
getTime
public Time getTime(int columnIndex,
Calendar cal)
throws SQLException
- Throws:
SQLException
getTime
public Time getTime(String columnName,
Calendar cal)
throws SQLException
- Throws:
SQLException
getTimestamp
public Timestamp getTimestamp(int columnIndex,
Calendar cal)
throws SQLException
- Throws:
SQLException
getTimestamp
public Timestamp getTimestamp(String columnName,
Calendar cal)
throws SQLException
- Throws:
SQLException
getURL
public URL getURL(int columnIndex)
throws SQLException
- Throws:
SQLException
getURL
public URL getURL(String columnName)
throws SQLException
- Throws:
SQLException
Copyright © 2008-2011. All Rights Reserved.