com.evermind.sql
Class SerializableRowSet
java.lang.Object
|
+--com.evermind.sql.SerializableRowSet
- All Implemented Interfaces:
- java.sql.ResultSet, javax.sql.RowSet, java.io.Serializable
- public class SerializableRowSet
- extends java.lang.Object
- implements javax.sql.RowSet, java.io.Serializable
A serializable RowSet implementation
- See Also:
- Serialized Form
| Fields inherited from interface java.sql.ResultSet |
CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
|
Constructor Summary |
SerializableRowSet(java.sql.ResultSet set,
java.lang.String command,
java.lang.String dataSourceName,
java.util.Map typeMap)
|
|
Method Summary |
boolean |
absolute(int pos)
|
void |
addRowSetListener(javax.sql.RowSetListener listener)
|
void |
afterLast()
|
void |
beforeFirst()
|
void |
cancelRowUpdates()
|
void |
clearParameters()
|
void |
clearWarnings()
|
void |
close()
|
void |
deleteRow()
|
void |
execute()
|
int |
findColumn(java.lang.String name)
|
boolean |
first()
|
java.sql.Array |
getArray(int pos)
|
java.sql.Array |
getArray(java.lang.String field)
|
java.io.InputStream |
getAsciiStream(int pos)
|
java.io.InputStream |
getAsciiStream(java.lang.String field)
|
java.math.BigDecimal |
getBigDecimal(int pos)
|
java.math.BigDecimal |
getBigDecimal(int pos,
int pos2)
Deprecated. |
java.math.BigDecimal |
getBigDecimal(java.lang.String field)
|
java.math.BigDecimal |
getBigDecimal(java.lang.String field,
int pos2)
Deprecated. |
java.io.InputStream |
getBinaryStream(int pos)
|
java.io.InputStream |
getBinaryStream(java.lang.String field)
|
java.sql.Blob |
getBlob(int pos)
|
java.sql.Blob |
getBlob(java.lang.String field)
|
boolean |
getBoolean(int pos)
|
boolean |
getBoolean(java.lang.String field)
|
byte |
getByte(int pos)
|
byte |
getByte(java.lang.String field)
|
byte[] |
getBytes(int pos)
|
byte[] |
getBytes(java.lang.String field)
|
java.io.Reader |
getCharacterStream(int pos)
|
java.io.Reader |
getCharacterStream(java.lang.String field)
|
java.sql.Clob |
getClob(int pos)
|
java.sql.Clob |
getClob(java.lang.String field)
|
java.lang.String |
getCommand()
|
int |
getConcurrency()
|
java.lang.String |
getCursorName()
|
java.lang.String |
getDataSourceName()
|
java.sql.Date |
getDate(int pos)
|
java.sql.Date |
getDate(int field,
java.util.Calendar calendar)
|
java.sql.Date |
getDate(java.lang.String field)
|
java.sql.Date |
getDate(java.lang.String field,
java.util.Calendar calendar)
|
double |
getDouble(int pos)
|
double |
getDouble(java.lang.String field)
|
boolean |
getEscapeProcessing()
|
int |
getFetchDirection()
|
int |
getFetchSize()
|
float |
getFloat(int pos)
|
float |
getFloat(java.lang.String field)
|
int |
getInt(int pos)
|
int |
getInt(java.lang.String field)
|
long |
getLong(int pos)
|
long |
getLong(java.lang.String field)
|
int |
getMaxFieldSize()
|
int |
getMaxRows()
|
java.sql.ResultSetMetaData |
getMetaData()
|
java.lang.Object |
getObject(int pos)
|
java.lang.Object |
getObject(int pos,
java.util.Map map)
|
java.lang.Object |
getObject(java.lang.String field)
|
java.lang.Object |
getObject(java.lang.String field,
java.util.Map map)
|
java.lang.String |
getPassword()
|
int |
getQueryTimeout()
|
java.sql.Ref |
getRef(int pos)
|
java.sql.Ref |
getRef(java.lang.String field)
|
int |
getRow()
|
short |
getShort(int pos)
|
short |
getShort(java.lang.String field)
|
java.sql.Statement |
getStatement()
|
java.lang.String |
getString(int pos)
|
java.lang.String |
getString(java.lang.String field)
|
java.sql.Time |
getTime(int pos)
|
java.sql.Time |
getTime(int pos,
java.util.Calendar calendar)
|
java.sql.Time |
getTime(java.lang.String field)
|
java.sql.Time |
getTime(java.lang.String pos,
java.util.Calendar calendar)
|
java.sql.Timestamp |
getTimestamp(int pos)
|
java.sql.Timestamp |
getTimestamp(int fieldName,
java.util.Calendar calendar)
|
java.sql.Timestamp |
getTimestamp(java.lang.String field)
|
java.sql.Timestamp |
getTimestamp(java.lang.String fieldName,
java.util.Calendar calendar)
|
int |
getTransactionIsolation()
|
int |
getType()
|
java.util.Map |
getTypeMap()
|
java.io.InputStream |
getUnicodeStream(int pos)
Deprecated. |
java.io.InputStream |
getUnicodeStream(java.lang.String field)
Deprecated. |
java.lang.String |
getUrl()
|
java.net.URL |
getURL(int pos)
|
java.net.URL |
getURL(java.lang.String name)
|
java.lang.String |
getUsername()
|
java.sql.SQLWarning |
getWarnings()
|
void |
init(java.sql.ResultSet set)
|
void |
insertRow()
|
boolean |
isAfterLast()
|
boolean |
isBeforeFirst()
|
boolean |
isFirst()
|
boolean |
isLast()
|
boolean |
isReadOnly()
|
boolean |
last()
|
void |
moveToCurrentRow()
|
void |
moveToInsertRow()
|
boolean |
next()
|
boolean |
previous()
|
void |
refreshRow()
|
boolean |
relative(int type)
|
void |
removeRowSetListener(javax.sql.RowSetListener listener)
|
boolean |
rowDeleted()
|
boolean |
rowInserted()
|
boolean |
rowUpdated()
|
void |
setArray(int pos,
java.sql.Array array)
|
void |
setAsciiStream(int pos,
java.io.InputStream value,
int length)
|
void |
setBigDecimal(int pos,
java.math.BigDecimal value)
|
void |
setBinaryStream(int pos,
java.io.InputStream in,
int length)
|
void |
setBlob(int pos,
java.sql.Blob value)
|
void |
setBoolean(int pos,
boolean b)
|
void |
setByte(int pos,
byte b)
|
void |
setBytes(int pos,
byte[] value)
|
void |
setCharacterStream(int pos,
java.io.Reader in,
int length)
|
void |
setClob(int pos,
java.sql.Clob value)
|
void |
setCommand(java.lang.String command)
|
void |
setConcurrency(int type)
|
void |
setDataSourceName(java.lang.String name)
|
void |
setDate(int pos,
java.sql.Date value)
|
void |
setDate(int pos,
java.sql.Date value,
java.util.Calendar calendar)
|
void |
setDouble(int pos,
double value)
|
void |
setEscapeProcessing(boolean process)
|
void |
setFetchDirection(int direction)
|
void |
setFetchSize(int size)
|
void |
setFloat(int pos,
float value)
|
void |
setInt(int pos,
int value)
|
void |
setLong(int pos,
long value)
|
void |
setMaxFieldSize(int maxFieldSize)
|
void |
setMaxRows(int rows)
|
void |
setNull(int pos,
int type)
|
void |
setNull(int pos,
int type,
java.lang.String name)
|
void |
setObject(int pos,
java.lang.Object value)
|
void |
setObject(int pos,
java.lang.Object value,
int a)
|
void |
setObject(int pos,
java.lang.Object value,
int a,
int b)
|
void |
setPassword(java.lang.String password)
|
void |
setQueryTimeout(int queryTimeout)
|
void |
setReadOnly(boolean readOnly)
|
void |
setRef(int pos,
java.sql.Ref value)
|
void |
setShort(int pos,
short s)
|
void |
setString(int pos,
java.lang.String value)
|
void |
setTime(int pos,
java.sql.Time value)
|
void |
setTime(int pos,
java.sql.Time value,
java.util.Calendar calendar)
|
void |
setTimestamp(int pos,
java.sql.Timestamp value)
|
void |
setTimestamp(int pos,
java.sql.Timestamp value,
java.util.Calendar calendar)
|
void |
setTransactionIsolation(int isolation)
|
void |
setType(int type)
|
void |
setTypeMap(java.util.Map map)
|
void |
setUnicodeStream(int pos,
java.io.InputStream value,
int length)
|
void |
setUrl(java.lang.String url)
|
void |
setUsername(java.lang.String name)
|
void |
updateArray(int pos,
java.sql.Array array)
|
void |
updateArray(java.lang.String name,
java.sql.Array array)
|
void |
updateAsciiStream(int pos,
java.io.InputStream stream,
int length)
|
void |
updateAsciiStream(java.lang.String field,
java.io.InputStream stream,
int length)
|
void |
updateBigDecimal(int pos,
java.math.BigDecimal decimal)
|
void |
updateBigDecimal(java.lang.String field,
java.math.BigDecimal decimal)
|
void |
updateBinaryStream(int pos,
java.io.InputStream stream,
int length)
|
void |
updateBinaryStream(java.lang.String field,
java.io.InputStream stream,
int length)
|
void |
updateBlob(int pos,
java.sql.Blob blob)
|
void |
updateBlob(java.lang.String name,
java.sql.Blob blob)
|
void |
updateBoolean(int pos,
boolean value)
|
void |
updateBoolean(java.lang.String field,
boolean huh)
|
void |
updateByte(int pos,
byte value)
|
void |
updateByte(java.lang.String field,
byte value)
|
void |
updateBytes(int pos,
byte[] data)
|
void |
updateBytes(java.lang.String field,
byte[] data)
|
void |
updateCharacterStream(int pos,
java.io.Reader in,
int length)
|
void |
updateCharacterStream(java.lang.String field,
java.io.Reader in,
int length)
|
void |
updateClob(int pos,
java.sql.Clob clob)
|
void |
updateClob(java.lang.String name,
java.sql.Clob clob)
|
void |
updateDate(int pos,
java.sql.Date date)
|
void |
updateDate(java.lang.String field,
java.sql.Date date)
|
void |
updateDouble(int pos,
double value)
|
void |
updateDouble(java.lang.String field,
double value)
|
void |
updateFloat(int pos,
float value)
|
void |
updateFloat(java.lang.String field,
float value)
|
void |
updateInt(int pos,
int value)
|
void |
updateInt(java.lang.String field,
int value)
|
void |
updateLong(int pos,
long value)
|
void |
updateLong(java.lang.String field,
long value)
|
void |
updateNull(int pos)
|
void |
updateNull(java.lang.String field)
|
void |
updateObject(int pos,
java.lang.Object object)
|
void |
updateObject(int pos,
java.lang.Object object,
int length)
|
void |
updateObject(java.lang.String field,
java.lang.Object object)
|
void |
updateObject(java.lang.String field,
java.lang.Object object,
int length)
|
void |
updateRef(int pos,
java.sql.Ref ref)
|
void |
updateRef(java.lang.String name,
java.sql.Ref ref)
|
void |
updateRow()
|
void |
updateShort(int pos,
short value)
|
void |
updateShort(java.lang.String field,
short value)
|
void |
updateString(int pos,
java.lang.String string)
|
void |
updateString(java.lang.String field,
java.lang.String string)
|
void |
updateTime(int pos,
java.sql.Time time)
|
void |
updateTime(java.lang.String field,
java.sql.Time time)
|
void |
updateTimestamp(int pos,
java.sql.Timestamp timestamp)
|
void |
updateTimestamp(java.lang.String field,
java.sql.Timestamp timestamp)
|
boolean |
wasNull()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
SerializableRowSet
public SerializableRowSet(java.sql.ResultSet set,
java.lang.String command,
java.lang.String dataSourceName,
java.util.Map typeMap)
throws java.sql.SQLException
init
public void init(java.sql.ResultSet set)
throws java.sql.SQLException
clearParameters
public void clearParameters()
- Specified by:
clearParameters in interface javax.sql.RowSet
findColumn
public int findColumn(java.lang.String name)
throws java.sql.SQLException
- Specified by:
findColumn in interface java.sql.ResultSet
setTypeMap
public void setTypeMap(java.util.Map map)
- Specified by:
setTypeMap in interface javax.sql.RowSet
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword in interface javax.sql.RowSet
setPassword
public void setPassword(java.lang.String password)
- Specified by:
setPassword in interface javax.sql.RowSet
getQueryTimeout
public int getQueryTimeout()
- Specified by:
getQueryTimeout in interface javax.sql.RowSet
setQueryTimeout
public void setQueryTimeout(int queryTimeout)
- Specified by:
setQueryTimeout in interface javax.sql.RowSet
getTransactionIsolation
public int getTransactionIsolation()
- Specified by:
getTransactionIsolation in interface javax.sql.RowSet
getTypeMap
public java.util.Map getTypeMap()
- Specified by:
getTypeMap in interface javax.sql.RowSet
getEscapeProcessing
public boolean getEscapeProcessing()
- Specified by:
getEscapeProcessing in interface javax.sql.RowSet
setEscapeProcessing
public void setEscapeProcessing(boolean process)
- Specified by:
setEscapeProcessing in interface javax.sql.RowSet
getMaxFieldSize
public int getMaxFieldSize()
- Specified by:
getMaxFieldSize in interface javax.sql.RowSet
setMaxFieldSize
public void setMaxFieldSize(int maxFieldSize)
- Specified by:
setMaxFieldSize in interface javax.sql.RowSet
getMaxRows
public int getMaxRows()
- Specified by:
getMaxRows in interface javax.sql.RowSet
setMaxRows
public void setMaxRows(int rows)
- Specified by:
setMaxRows in interface javax.sql.RowSet
addRowSetListener
public void addRowSetListener(javax.sql.RowSetListener listener)
- Specified by:
addRowSetListener in interface javax.sql.RowSet
execute
public void execute()
- Specified by:
execute in interface javax.sql.RowSet
getCommand
public java.lang.String getCommand()
- Specified by:
getCommand in interface javax.sql.RowSet
getDataSourceName
public java.lang.String getDataSourceName()
- Specified by:
getDataSourceName in interface javax.sql.RowSet
getMetaData
public java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
- Specified by:
getMetaData in interface java.sql.ResultSet
moveToInsertRow
public void moveToInsertRow()
throws java.sql.SQLException
- Specified by:
moveToInsertRow in interface java.sql.ResultSet
moveToCurrentRow
public void moveToCurrentRow()
throws java.sql.SQLException
- Specified by:
moveToCurrentRow in interface java.sql.ResultSet
getType
public int getType()
throws java.sql.SQLException
- Specified by:
getType in interface java.sql.ResultSet
setType
public void setType(int type)
- Specified by:
setType in interface javax.sql.RowSet
setTransactionIsolation
public void setTransactionIsolation(int isolation)
- Specified by:
setTransactionIsolation in interface javax.sql.RowSet
insertRow
public void insertRow()
throws java.sql.SQLException
- Specified by:
insertRow in interface java.sql.ResultSet
updateRow
public void updateRow()
throws java.sql.SQLException
- Specified by:
updateRow in interface java.sql.ResultSet
cancelRowUpdates
public void cancelRowUpdates()
throws java.sql.SQLException
- Specified by:
cancelRowUpdates in interface java.sql.ResultSet
deleteRow
public void deleteRow()
throws java.sql.SQLException
- Specified by:
deleteRow in interface java.sql.ResultSet
refreshRow
public void refreshRow()
throws java.sql.SQLException
- Specified by:
refreshRow in interface java.sql.ResultSet
absolute
public boolean absolute(int pos)
throws java.sql.SQLException
- Specified by:
absolute in interface java.sql.ResultSet
updateNull
public void updateNull(int pos)
throws java.sql.SQLException
- Specified by:
updateNull in interface java.sql.ResultSet
updateInt
public void updateInt(int pos,
int value)
throws java.sql.SQLException
- Specified by:
updateInt in interface java.sql.ResultSet
updateInt
public void updateInt(java.lang.String field,
int value)
throws java.sql.SQLException
- Specified by:
updateInt in interface java.sql.ResultSet
updateShort
public void updateShort(int pos,
short value)
throws java.sql.SQLException
- Specified by:
updateShort in interface java.sql.ResultSet
updateShort
public void updateShort(java.lang.String field,
short value)
throws java.sql.SQLException
- Specified by:
updateShort in interface java.sql.ResultSet
updateBytes
public void updateBytes(int pos,
byte[] data)
throws java.sql.SQLException
- Specified by:
updateBytes in interface java.sql.ResultSet
updateTime
public void updateTime(int pos,
java.sql.Time time)
throws java.sql.SQLException
- Specified by:
updateTime in interface java.sql.ResultSet
updateString
public void updateString(int pos,
java.lang.String string)
throws java.sql.SQLException
- Specified by:
updateString in interface java.sql.ResultSet
updateAsciiStream
public void updateAsciiStream(int pos,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
- Specified by:
updateAsciiStream in interface java.sql.ResultSet
updateBinaryStream
public void updateBinaryStream(int pos,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
- Specified by:
updateBinaryStream in interface java.sql.ResultSet
updateCharacterStream
public void updateCharacterStream(int pos,
java.io.Reader in,
int length)
throws java.sql.SQLException
- Specified by:
updateCharacterStream in interface java.sql.ResultSet
updateObject
public void updateObject(int pos,
java.lang.Object object,
int length)
throws java.sql.SQLException
- Specified by:
updateObject in interface java.sql.ResultSet
updateObject
public void updateObject(int pos,
java.lang.Object object)
throws java.sql.SQLException
- Specified by:
updateObject in interface java.sql.ResultSet
getArray
public java.sql.Array getArray(int pos)
throws java.sql.SQLException
- Specified by:
getArray in interface java.sql.ResultSet
updateBigDecimal
public void updateBigDecimal(int pos,
java.math.BigDecimal decimal)
throws java.sql.SQLException
- Specified by:
updateBigDecimal in interface java.sql.ResultSet
updateTimestamp
public void updateTimestamp(int pos,
java.sql.Timestamp timestamp)
throws java.sql.SQLException
- Specified by:
updateTimestamp in interface java.sql.ResultSet
updateDate
public void updateDate(int pos,
java.sql.Date date)
throws java.sql.SQLException
- Specified by:
updateDate in interface java.sql.ResultSet
updateByte
public void updateByte(int pos,
byte value)
throws java.sql.SQLException
- Specified by:
updateByte in interface java.sql.ResultSet
updateFloat
public void updateFloat(int pos,
float value)
throws java.sql.SQLException
- Specified by:
updateFloat in interface java.sql.ResultSet
updateDouble
public void updateDouble(int pos,
double value)
throws java.sql.SQLException
- Specified by:
updateDouble in interface java.sql.ResultSet
updateLong
public void updateLong(int pos,
long value)
throws java.sql.SQLException
- Specified by:
updateLong in interface java.sql.ResultSet
updateBoolean
public void updateBoolean(int pos,
boolean value)
throws java.sql.SQLException
- Specified by:
updateBoolean in interface java.sql.ResultSet
getRow
public int getRow()
throws java.sql.SQLException
- Specified by:
getRow in interface java.sql.ResultSet
first
public boolean first()
throws java.sql.SQLException
- Specified by:
first in interface java.sql.ResultSet
previous
public boolean previous()
throws java.sql.SQLException
- Specified by:
previous in interface java.sql.ResultSet
isBeforeFirst
public boolean isBeforeFirst()
throws java.sql.SQLException
- Specified by:
isBeforeFirst in interface java.sql.ResultSet
isFirst
public boolean isFirst()
throws java.sql.SQLException
- Specified by:
isFirst in interface java.sql.ResultSet
isAfterLast
public boolean isAfterLast()
throws java.sql.SQLException
- Specified by:
isAfterLast in interface java.sql.ResultSet
beforeFirst
public void beforeFirst()
throws java.sql.SQLException
- Specified by:
beforeFirst in interface java.sql.ResultSet
afterLast
public void afterLast()
throws java.sql.SQLException
- Specified by:
afterLast in interface java.sql.ResultSet
last
public boolean last()
throws java.sql.SQLException
- Specified by:
last in interface java.sql.ResultSet
next
public boolean next()
throws java.sql.SQLException
- Specified by:
next in interface java.sql.ResultSet
isLast
public boolean isLast()
throws java.sql.SQLException
- Specified by:
isLast in interface java.sql.ResultSet
relative
public boolean relative(int type)
throws java.sql.SQLException
- Specified by:
relative in interface java.sql.ResultSet
setFetchSize
public void setFetchSize(int size)
throws java.sql.SQLException
- Specified by:
setFetchSize in interface java.sql.ResultSet
getFetchSize
public int getFetchSize()
throws java.sql.SQLException
- Specified by:
getFetchSize in interface java.sql.ResultSet
setFetchDirection
public void setFetchDirection(int direction)
throws java.sql.SQLException
- Specified by:
setFetchDirection in interface java.sql.ResultSet
getFetchDirection
public int getFetchDirection()
throws java.sql.SQLException
- Specified by:
getFetchDirection in interface java.sql.ResultSet
getConcurrency
public int getConcurrency()
throws java.sql.SQLException
- Specified by:
getConcurrency in interface java.sql.ResultSet
rowDeleted
public boolean rowDeleted()
throws java.sql.SQLException
- Specified by:
rowDeleted in interface java.sql.ResultSet
rowInserted
public boolean rowInserted()
throws java.sql.SQLException
- Specified by:
rowInserted in interface java.sql.ResultSet
rowUpdated
public boolean rowUpdated()
throws java.sql.SQLException
- Specified by:
rowUpdated in interface java.sql.ResultSet
close
public void close()
throws java.sql.SQLException
- Specified by:
close in interface java.sql.ResultSet
wasNull
public boolean wasNull()
throws java.sql.SQLException
- Specified by:
wasNull in interface java.sql.ResultSet
getDate
public java.sql.Date getDate(int pos)
throws java.sql.SQLException
- Specified by:
getDate in interface java.sql.ResultSet
getTime
public java.sql.Time getTime(int pos)
throws java.sql.SQLException
- Specified by:
getTime in interface java.sql.ResultSet
getDate
public java.sql.Date getDate(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getDate in interface java.sql.ResultSet
getTime
public java.sql.Time getTime(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getTime in interface java.sql.ResultSet
getBytes
public byte[] getBytes(int pos)
throws java.sql.SQLException
- Specified by:
getBytes in interface java.sql.ResultSet
getBytes
public byte[] getBytes(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getBytes in interface java.sql.ResultSet
getObject
public java.lang.Object getObject(int pos)
throws java.sql.SQLException
- Specified by:
getObject in interface java.sql.ResultSet
getObject
public java.lang.Object getObject(int pos,
java.util.Map map)
throws java.sql.SQLException
- Specified by:
getObject in interface java.sql.ResultSet
getObject
public java.lang.Object getObject(java.lang.String field,
java.util.Map map)
throws java.sql.SQLException
- Specified by:
getObject in interface java.sql.ResultSet
getObject
public java.lang.Object getObject(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getObject in interface java.sql.ResultSet
getString
public java.lang.String getString(int pos)
throws java.sql.SQLException
- Specified by:
getString in interface java.sql.ResultSet
getURL
public java.net.URL getURL(java.lang.String name)
throws java.sql.SQLException,
java.net.MalformedURLException
getURL
public java.net.URL getURL(int pos)
throws java.sql.SQLException,
java.net.MalformedURLException
getTimestamp
public java.sql.Timestamp getTimestamp(int pos)
throws java.sql.SQLException
- Specified by:
getTimestamp in interface java.sql.ResultSet
getAsciiStream
public java.io.InputStream getAsciiStream(int pos)
throws java.sql.SQLException
- Specified by:
getAsciiStream in interface java.sql.ResultSet
getUnicodeStream
public java.io.InputStream getUnicodeStream(int pos)
throws java.sql.SQLException
- Deprecated.
- Specified by:
getUnicodeStream in interface java.sql.ResultSet
getBinaryStream
public java.io.InputStream getBinaryStream(int pos)
throws java.sql.SQLException
- Specified by:
getBinaryStream in interface java.sql.ResultSet
getByte
public byte getByte(int pos)
throws java.sql.SQLException
- Specified by:
getByte in interface java.sql.ResultSet
getLong
public long getLong(int pos)
throws java.sql.SQLException
- Specified by:
getLong in interface java.sql.ResultSet
getShort
public short getShort(int pos)
throws java.sql.SQLException
- Specified by:
getShort in interface java.sql.ResultSet
getBigDecimal
public java.math.BigDecimal getBigDecimal(int pos)
throws java.sql.SQLException
- Specified by:
getBigDecimal in interface java.sql.ResultSet
getBigDecimal
public java.math.BigDecimal getBigDecimal(int pos,
int pos2)
throws java.sql.SQLException
- Deprecated.
- Specified by:
getBigDecimal in interface java.sql.ResultSet
getFloat
public float getFloat(int pos)
throws java.sql.SQLException
- Specified by:
getFloat in interface java.sql.ResultSet
getDouble
public double getDouble(int pos)
throws java.sql.SQLException
- Specified by:
getDouble in interface java.sql.ResultSet
getBoolean
public boolean getBoolean(int pos)
throws java.sql.SQLException
- Specified by:
getBoolean in interface java.sql.ResultSet
updateNull
public void updateNull(java.lang.String field)
throws java.sql.SQLException
- Specified by:
updateNull in interface java.sql.ResultSet
updateBytes
public void updateBytes(java.lang.String field,
byte[] data)
throws java.sql.SQLException
- Specified by:
updateBytes in interface java.sql.ResultSet
updateTime
public void updateTime(java.lang.String field,
java.sql.Time time)
throws java.sql.SQLException
- Specified by:
updateTime in interface java.sql.ResultSet
updateString
public void updateString(java.lang.String field,
java.lang.String string)
throws java.sql.SQLException
- Specified by:
updateString in interface java.sql.ResultSet
updateAsciiStream
public void updateAsciiStream(java.lang.String field,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
- Specified by:
updateAsciiStream in interface java.sql.ResultSet
updateBinaryStream
public void updateBinaryStream(java.lang.String field,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
- Specified by:
updateBinaryStream in interface java.sql.ResultSet
updateCharacterStream
public void updateCharacterStream(java.lang.String field,
java.io.Reader in,
int length)
throws java.sql.SQLException
- Specified by:
updateCharacterStream in interface java.sql.ResultSet
updateObject
public void updateObject(java.lang.String field,
java.lang.Object object,
int length)
throws java.sql.SQLException
- Specified by:
updateObject in interface java.sql.ResultSet
updateObject
public void updateObject(java.lang.String field,
java.lang.Object object)
throws java.sql.SQLException
- Specified by:
updateObject in interface java.sql.ResultSet
getArray
public java.sql.Array getArray(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getArray in interface java.sql.ResultSet
updateBigDecimal
public void updateBigDecimal(java.lang.String field,
java.math.BigDecimal decimal)
throws java.sql.SQLException
- Specified by:
updateBigDecimal in interface java.sql.ResultSet
updateTimestamp
public void updateTimestamp(java.lang.String field,
java.sql.Timestamp timestamp)
throws java.sql.SQLException
- Specified by:
updateTimestamp in interface java.sql.ResultSet
updateDate
public void updateDate(java.lang.String field,
java.sql.Date date)
throws java.sql.SQLException
- Specified by:
updateDate in interface java.sql.ResultSet
updateByte
public void updateByte(java.lang.String field,
byte value)
throws java.sql.SQLException
- Specified by:
updateByte in interface java.sql.ResultSet
updateFloat
public void updateFloat(java.lang.String field,
float value)
throws java.sql.SQLException
- Specified by:
updateFloat in interface java.sql.ResultSet
updateDouble
public void updateDouble(java.lang.String field,
double value)
throws java.sql.SQLException
- Specified by:
updateDouble in interface java.sql.ResultSet
updateLong
public void updateLong(java.lang.String field,
long value)
throws java.sql.SQLException
- Specified by:
updateLong in interface java.sql.ResultSet
updateBoolean
public void updateBoolean(java.lang.String field,
boolean huh)
throws java.sql.SQLException
- Specified by:
updateBoolean in interface java.sql.ResultSet
getString
public java.lang.String getString(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getString in interface java.sql.ResultSet
getDate
public java.sql.Date getDate(java.lang.String field,
java.util.Calendar calendar)
throws java.sql.SQLException
- Specified by:
getDate in interface java.sql.ResultSet
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String fieldName,
java.util.Calendar calendar)
throws java.sql.SQLException
- Specified by:
getTimestamp in interface java.sql.ResultSet
getTime
public java.sql.Time getTime(java.lang.String pos,
java.util.Calendar calendar)
throws java.sql.SQLException
- Specified by:
getTime in interface java.sql.ResultSet
getDate
public java.sql.Date getDate(int field,
java.util.Calendar calendar)
throws java.sql.SQLException
- Specified by:
getDate in interface java.sql.ResultSet
getTimestamp
public java.sql.Timestamp getTimestamp(int fieldName,
java.util.Calendar calendar)
throws java.sql.SQLException
- Specified by:
getTimestamp in interface java.sql.ResultSet
getTime
public java.sql.Time getTime(int pos,
java.util.Calendar calendar)
throws java.sql.SQLException
- Specified by:
getTime in interface java.sql.ResultSet
getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getBigDecimal in interface java.sql.ResultSet
getCharacterStream
public java.io.Reader getCharacterStream(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getCharacterStream in interface java.sql.ResultSet
getCharacterStream
public java.io.Reader getCharacterStream(int pos)
throws java.sql.SQLException
- Specified by:
getCharacterStream in interface java.sql.ResultSet
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getTimestamp in interface java.sql.ResultSet
getAsciiStream
public java.io.InputStream getAsciiStream(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getAsciiStream in interface java.sql.ResultSet
getUnicodeStream
public java.io.InputStream getUnicodeStream(java.lang.String field)
throws java.sql.SQLException
- Deprecated.
- Specified by:
getUnicodeStream in interface java.sql.ResultSet
getBinaryStream
public java.io.InputStream getBinaryStream(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getBinaryStream in interface java.sql.ResultSet
getByte
public byte getByte(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getByte in interface java.sql.ResultSet
getShort
public short getShort(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getShort in interface java.sql.ResultSet
getInt
public int getInt(int pos)
throws java.sql.SQLException
- Specified by:
getInt in interface java.sql.ResultSet
getInt
public int getInt(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getInt in interface java.sql.ResultSet
getLong
public long getLong(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getLong in interface java.sql.ResultSet
getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.String field,
int pos2)
throws java.sql.SQLException
- Deprecated.
- Specified by:
getBigDecimal in interface java.sql.ResultSet
getFloat
public float getFloat(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getFloat in interface java.sql.ResultSet
getDouble
public double getDouble(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getDouble in interface java.sql.ResultSet
getBoolean
public boolean getBoolean(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getBoolean in interface java.sql.ResultSet
getClob
public java.sql.Clob getClob(int pos)
throws java.sql.SQLException
- Specified by:
getClob in interface java.sql.ResultSet
getBlob
public java.sql.Blob getBlob(int pos)
throws java.sql.SQLException
- Specified by:
getBlob in interface java.sql.ResultSet
getRef
public java.sql.Ref getRef(int pos)
throws java.sql.SQLException
- Specified by:
getRef in interface java.sql.ResultSet
getClob
public java.sql.Clob getClob(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getClob in interface java.sql.ResultSet
getBlob
public java.sql.Blob getBlob(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getBlob in interface java.sql.ResultSet
getRef
public java.sql.Ref getRef(java.lang.String field)
throws java.sql.SQLException
- Specified by:
getRef in interface java.sql.ResultSet
getWarnings
public java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
- Specified by:
getWarnings in interface java.sql.ResultSet
clearWarnings
public void clearWarnings()
throws java.sql.SQLException
- Specified by:
clearWarnings in interface java.sql.ResultSet
getStatement
public java.sql.Statement getStatement()
throws java.sql.SQLException
- Specified by:
getStatement in interface java.sql.ResultSet
getCursorName
public java.lang.String getCursorName()
throws java.sql.SQLException
- Specified by:
getCursorName in interface java.sql.ResultSet
getUrl
public java.lang.String getUrl()
- Specified by:
getUrl in interface javax.sql.RowSet
setUrl
public void setUrl(java.lang.String url)
- Specified by:
setUrl in interface javax.sql.RowSet
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername in interface javax.sql.RowSet
setUsername
public void setUsername(java.lang.String name)
- Specified by:
setUsername in interface javax.sql.RowSet
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly in interface javax.sql.RowSet
removeRowSetListener
public void removeRowSetListener(javax.sql.RowSetListener listener)
- Specified by:
removeRowSetListener in interface javax.sql.RowSet
setArray
public void setArray(int pos,
java.sql.Array array)
throws java.sql.SQLException
- Specified by:
setArray in interface javax.sql.RowSet
setBinaryStream
public void setBinaryStream(int pos,
java.io.InputStream in,
int length)
throws java.sql.SQLException
- Specified by:
setBinaryStream in interface javax.sql.RowSet
setBoolean
public void setBoolean(int pos,
boolean b)
throws java.sql.SQLException
- Specified by:
setBoolean in interface javax.sql.RowSet
setByte
public void setByte(int pos,
byte b)
throws java.sql.SQLException
- Specified by:
setByte in interface javax.sql.RowSet
setShort
public void setShort(int pos,
short s)
throws java.sql.SQLException
- Specified by:
setShort in interface javax.sql.RowSet
setInt
public void setInt(int pos,
int value)
throws java.sql.SQLException
- Specified by:
setInt in interface javax.sql.RowSet
setLong
public void setLong(int pos,
long value)
throws java.sql.SQLException
- Specified by:
setLong in interface javax.sql.RowSet
setFloat
public void setFloat(int pos,
float value)
throws java.sql.SQLException
- Specified by:
setFloat in interface javax.sql.RowSet
setDouble
public void setDouble(int pos,
double value)
throws java.sql.SQLException
- Specified by:
setDouble in interface javax.sql.RowSet
setBigDecimal
public void setBigDecimal(int pos,
java.math.BigDecimal value)
throws java.sql.SQLException
- Specified by:
setBigDecimal in interface javax.sql.RowSet
setString
public void setString(int pos,
java.lang.String value)
throws java.sql.SQLException
- Specified by:
setString in interface javax.sql.RowSet
setBytes
public void setBytes(int pos,
byte[] value)
throws java.sql.SQLException
- Specified by:
setBytes in interface javax.sql.RowSet
setDate
public void setDate(int pos,
java.sql.Date value)
throws java.sql.SQLException
- Specified by:
setDate in interface javax.sql.RowSet
setNull
public void setNull(int pos,
int type)
throws java.sql.SQLException
- Specified by:
setNull in interface javax.sql.RowSet
setCharacterStream
public void setCharacterStream(int pos,
java.io.Reader in,
int length)
throws java.sql.SQLException
- Specified by:
setCharacterStream in interface javax.sql.RowSet
setDate
public void setDate(int pos,
java.sql.Date value,
java.util.Calendar calendar)
throws java.sql.SQLException
- Specified by:
setDate in interface javax.sql.RowSet
setNull
public void setNull(int pos,
int type,
java.lang.String name)
throws java.sql.SQLException
- Specified by:
setNull in interface javax.sql.RowSet
setAsciiStream
public void setAsciiStream(int pos,
java.io.InputStream value,
int length)
throws java.sql.SQLException
- Specified by:
setAsciiStream in interface javax.sql.RowSet
setUnicodeStream
public void setUnicodeStream(int pos,
java.io.InputStream value,
int length)
throws java.sql.SQLException
setBlob
public void setBlob(int pos,
java.sql.Blob value)
throws java.sql.SQLException
- Specified by:
setBlob in interface javax.sql.RowSet
setClob
public void setClob(int pos,
java.sql.Clob value)
throws java.sql.SQLException
- Specified by:
setClob in interface javax.sql.RowSet
setObject
public void setObject(int pos,
java.lang.Object value)
throws java.sql.SQLException
- Specified by:
setObject in interface javax.sql.RowSet
setObject
public void setObject(int pos,
java.lang.Object value,
int a)
throws java.sql.SQLException
- Specified by:
setObject in interface javax.sql.RowSet
setObject
public void setObject(int pos,
java.lang.Object value,
int a,
int b)
throws java.sql.SQLException
- Specified by:
setObject in interface javax.sql.RowSet
setTimestamp
public void setTimestamp(int pos,
java.sql.Timestamp value)
throws java.sql.SQLException
- Specified by:
setTimestamp in interface javax.sql.RowSet
setTime
public void setTime(int pos,
java.sql.Time value)
throws java.sql.SQLException
- Specified by:
setTime in interface javax.sql.RowSet
setRef
public void setRef(int pos,
java.sql.Ref value)
throws java.sql.SQLException
- Specified by:
setRef in interface javax.sql.RowSet
setCommand
public void setCommand(java.lang.String command)
- Specified by:
setCommand in interface javax.sql.RowSet
setConcurrency
public void setConcurrency(int type)
- Specified by:
setConcurrency in interface javax.sql.RowSet
setDataSourceName
public void setDataSourceName(java.lang.String name)
- Specified by:
setDataSourceName in interface javax.sql.RowSet
setReadOnly
public void setReadOnly(boolean readOnly)
- Specified by:
setReadOnly in interface javax.sql.RowSet
setTime
public void setTime(int pos,
java.sql.Time value,
java.util.Calendar calendar)
throws java.sql.SQLException
- Specified by:
setTime in interface javax.sql.RowSet
setTimestamp
public void setTimestamp(int pos,
java.sql.Timestamp value,
java.util.Calendar calendar)
throws java.sql.SQLException
- Specified by:
setTimestamp in interface javax.sql.RowSet
updateClob
public void updateClob(java.lang.String name,
java.sql.Clob clob)
throws java.sql.SQLException
updateClob
public void updateClob(int pos,
java.sql.Clob clob)
throws java.sql.SQLException
updateBlob
public void updateBlob(java.lang.String name,
java.sql.Blob blob)
throws java.sql.SQLException
updateBlob
public void updateBlob(int pos,
java.sql.Blob blob)
throws java.sql.SQLException
updateArray
public void updateArray(java.lang.String name,
java.sql.Array array)
throws java.sql.SQLException
updateArray
public void updateArray(int pos,
java.sql.Array array)
throws java.sql.SQLException
updateRef
public void updateRef(java.lang.String name,
java.sql.Ref ref)
throws java.sql.SQLException
updateRef
public void updateRef(int pos,
java.sql.Ref ref)
throws java.sql.SQLException