|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.acmsl.queryj.QueryResultSet
Represents standard SQL queries.
Field Summary |
Fields inherited from interface java.sql.ResultSet |
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
Constructor Summary | |
QueryResultSet(SelectQuery query,
java.sql.ResultSet resultSet)
Builds a query result set with given references. |
Method Summary | |
boolean |
absolute(int index)
See ResultSet#absolute(int) |
void |
afterLast()
See ResultSet#afterLast() |
void |
beforeFirst()
See ResultSet#beforeFirst() |
void |
cancelRowUpdates()
See ResultSet#cancelRowUpdates() |
void |
clearWarnings()
See ResultSet#clearWarnings() |
void |
close()
See ResultSet#close() |
void |
deleteRow()
See ResultSet#deleteRow() |
int |
findColumn(Field field)
Retrieves the column index associated to given field. |
int |
findColumn(java.lang.String columnName)
See ResultSet#findColumn(String) |
boolean |
first()
See ResultSet#first() |
java.sql.Array |
getArray(Field field)
Retrieves an array value using the field reference. |
java.sql.Array |
getArray(int index)
See ResultSet#getArray(int) |
java.sql.Array |
getArray(java.lang.String columnName)
See ResultSet#getArray(String) |
java.io.InputStream |
getAsciiStream(Field field)
Retrieves an ASCII stream using the field reference. |
java.io.InputStream |
getAsciiStream(int index)
See ResultSet#getAsciiStream(int) |
java.io.InputStream |
getAsciiStream(java.lang.String columnName)
See ResultSet#getAsciiStream(String) |
java.math.BigDecimal |
getBigDecimal(Field field)
Retrieves a BigDecimal value using the field reference. |
java.math.BigDecimal |
getBigDecimal(Field field,
int scale)
Retrieves a BigDecimal value using the field reference. |
java.math.BigDecimal |
getBigDecimal(int index)
See ResultSet#getBigDecimal(int) |
java.math.BigDecimal |
getBigDecimal(int index,
int scale)
See ResultSet#getBigDecimal(int,int) |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName)
See ResultSet#getBigDecimal(String) |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale)
See ResultSet#getBigDecimal(String,int) |
java.io.InputStream |
getBinaryStream(Field field)
Retrieves a binary stream using the field reference. |
java.io.InputStream |
getBinaryStream(int index)
See ResultSet#getBinaryStream(int) |
java.io.InputStream |
getBinaryStream(java.lang.String columnName)
See ResultSet#getBinaryStream(String) |
java.sql.Blob |
getBlob(Field field)
Retrieves a blob using the field reference. |
java.sql.Blob |
getBlob(int index)
See ResultSet#getBlob(int) |
java.sql.Blob |
getBlob(java.lang.String columnName)
See ResultSet#getBlob(String) |
boolean |
getBoolean(Field field)
Retrieves a boolean value using the field reference. |
boolean |
getBoolean(int index)
See ResultSet#getBoolean(int) |
boolean |
getBoolean(java.lang.String columnName)
See ResultSet#getBoolean(String) |
byte |
getByte(Field field)
Retrieves a byte value using the field reference. |
byte |
getByte(int index)
See ResultSet#getByte(int) |
byte |
getByte(java.lang.String columnName)
See ResultSet#getByte(String) |
byte[] |
getBytes(Field field)
Retrieves a byte array value using the field reference. |
byte[] |
getBytes(int index)
See ResultSet.getBytes(int) |
byte[] |
getBytes(java.lang.String columnName)
See ResultSet.getBytes(String) |
java.io.Reader |
getCharacterStream(Field field)
Retrieves a character stream using the field reference. |
java.io.Reader |
getCharacterStream(int index)
See ResultSet#getCharacterStream(int) |
java.io.Reader |
getCharacterStream(java.lang.String columnName)
See ResultSet#getCharacterStream(String) |
java.sql.Clob |
getClob(Field field)
Retrieves a clob value using the field reference. |
java.sql.Clob |
getClob(int index)
See ResultSet#getClob(int) |
java.sql.Clob |
getClob(java.lang.String columnName)
See ResultSet#getClob(String) |
int |
getConcurrency()
See ResultSet#getConcurrency() |
java.lang.String |
getCursorName()
See ResultSet#getCursorName() |
java.sql.Date |
getDate(Field field)
Retrieves a Date value using the field reference. |
java.sql.Date |
getDate(Field field,
java.util.Calendar calendar)
Retrieves a Date value using the field reference. |
java.sql.Date |
getDate(int index)
See ResultSet#getDate(int) |
java.sql.Date |
getDate(int index,
java.util.Calendar calendar)
See ResultSet#getDate(int,Calendar) |
java.sql.Date |
getDate(java.lang.String columnName)
See ResultSet#getDate(String) |
java.sql.Date |
getDate(java.lang.String columnName,
java.util.Calendar calendar)
See ResultSet#getDate(String,Calendar) |
double |
getDouble(Field field)
Retrieves a double value using the field reference. |
double |
getDouble(int index)
See ResultSet#getDouble(int) |
double |
getDouble(java.lang.String columnName)
See ResultSet#getDouble(String) |
int |
getFetchDirection()
See ResultSet#getFetchDirection() |
int |
getFetchSize()
See ResultSet#getFetchSize() |
float |
getFloat(Field field)
Retrieves a float value using the field reference. |
float |
getFloat(int index)
See ResultSet#getFloat(int) |
float |
getFloat(java.lang.String columnName)
See ResultSet#getFloat(String) |
int |
getInt(Field field)
Retrieves an integer value using the field reference. |
int |
getInt(int index)
See ResultSet#getInt(int) |
int |
getInt(java.lang.String columnName)
See ResultSet#getInt(String) |
long |
getLong(Field field)
Retrieves a boolean value using the field reference. |
long |
getLong(int index)
See ResultSet#getLong(int) |
long |
getLong(java.lang.String columnName)
See ResultSet#getLong(String) |
java.sql.ResultSetMetaData |
getMetaData()
See ResultSet#getMetaData() |
java.lang.Object |
getObject(Field field)
Retrieves an object value using the field reference. |
java.lang.Object |
getObject(Field field,
java.util.Map map)
Retrieves an object value using the field reference. |
java.lang.Object |
getObject(int index)
See ResultSet#getObject(int) |
java.lang.Object |
getObject(int index,
java.util.Map map)
See ResultSet#getObject(int,Map) |
java.lang.Object |
getObject(java.lang.String columnName)
See ResultSet#getObject(String) |
java.lang.Object |
getObject(java.lang.String columnName,
java.util.Map map)
See ResultSet#getObject(String,Map) |
protected SelectQuery |
getQuery()
Retrieves the query. |
java.sql.Ref |
getRef(Field field)
Retrieves a Ref value using the field reference. |
java.sql.Ref |
getRef(int index)
See ResultSet#getRef(int) |
java.sql.Ref |
getRef(java.lang.String columnName)
See ResultSet#getRef(String) |
protected java.sql.ResultSet |
getResultSet()
Retrieves the result set. |
int |
getRow()
See ResultSet#getRow() |
short |
getShort(Field field)
Retrieves a short value using the field reference. |
short |
getShort(int index)
See ResultSet#getShort(int) |
short |
getShort(java.lang.String columnName)
See ResultSet#getShort(String) |
java.sql.Statement |
getStatement()
See ResultSet#getStatement() |
java.lang.String |
getString(Field field)
Retrieves a text value using the field reference. |
java.lang.String |
getString(int index)
See ResultSet#getString(int) |
java.lang.String |
getString(java.lang.String columnName)
See ResultSet#getString(String) |
java.sql.Time |
getTime(Field field)
Retrieves a Time value using the field reference. |
java.sql.Time |
getTime(Field field,
java.util.Calendar calendar)
Retrieves a Time value using the field reference. |
java.sql.Time |
getTime(int index)
See ResultSet#getTime(int) |
java.sql.Time |
getTime(int index,
java.util.Calendar calendar)
See ResultSet#getTime(int,Calendar) |
java.sql.Time |
getTime(java.lang.String columnName)
See ResultSet#getTime(String) |
java.sql.Time |
getTime(java.lang.String columnName,
java.util.Calendar calendar)
See ResultSet#getTime(String,Calendar) |
java.sql.Timestamp |
getTimestamp(Field field)
Retrieves a timestamp value using the field reference. |
java.sql.Timestamp |
getTimestamp(Field field,
java.util.Calendar calendar)
Retrieves a timestamp value using the field reference. |
java.sql.Timestamp |
getTimestamp(int index)
See ResultSet#getTimestamp(int) |
java.sql.Timestamp |
getTimestamp(int index,
java.util.Calendar calendar)
See ResultSet#getTimestamp(int,Calendar) |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName)
See ResultSet#getTimestamp(String) |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName,
java.util.Calendar calendar)
See ResultSet#getTimestamp(String,Calendar) |
int |
getType()
See ResultSet#getType() |
java.io.InputStream |
getUnicodeStream(Field field)
Retrieves an Unicode stream using the field reference. |
java.io.InputStream |
getUnicodeStream(int index)
See ResultSet#getUnicodeStream(int) |
java.io.InputStream |
getUnicodeStream(java.lang.String columnName)
See ResultSet#getUnicodeStream(String) |
java.net.URL |
getURL(Field field)
Retrieves an URL using the field reference. |
java.net.URL |
getURL(int columnIndex)
See ResultSet#getURL(int) |
java.net.URL |
getURL(java.lang.String columnName)
See ResultSet#getURL(String) |
java.sql.SQLWarning |
getWarnings()
See ResultSet#getWarnings() |
void |
insertRow()
See ResultSet#insertRow() |
boolean |
isAfterLast()
See ResultSet#isAfterLast() |
boolean |
isBeforeFirst()
See ResultSet#isBeforeFirst() |
boolean |
isFirst()
See ResultSet#isFirst() |
boolean |
isLast()
See ResultSet#isLast() |
boolean |
last()
See ResultSet#last() |
void |
moveToCurrentRow()
See ResultSet#moveToCurrentRow() |
void |
moveToInsertRow()
See ResultSet#moveToInsertRow() |
boolean |
next()
See ResultSet#next() |
boolean |
previous()
See ResultSet#previous() |
void |
refreshRow()
See ResultSet#refreshRow() |
boolean |
relative(int index)
See ResultSet#relative(int) |
boolean |
rowDeleted()
See ResultSet#rowDeleted() |
boolean |
rowInserted()
See ResultSet#rowInserted() |
boolean |
rowUpdated()
See ResultSet#rowUpdated() |
void |
setFetchDirection(int direction)
See ResultSet#setFetchDirection(int) |
void |
setFetchSize(int size)
See ResultSet#setFetchSize(int) |
protected void |
setQuery(SelectQuery query)
Specifies the query reference. |
protected void |
setResultSet(java.sql.ResultSet resultSet)
Specifies the result set reference. |
void |
updateArray(Field field,
java.sql.Array value)
Updates a Array column using the field arrayerence. |
void |
updateArray(int columnIndex,
java.sql.Array value)
See ResultSet#updateArray(int,Array) |
void |
updateArray(java.lang.String columnName,
java.sql.Array value)
See ResultSet#updateArray(String,Array) |
void |
updateAsciiStream(Field field,
java.io.InputStream value,
int length)
Updates an ASCII stream column using the field reference. |
void |
updateAsciiStream(int index,
java.io.InputStream value,
int length)
See ResultSet#updateAsciiStream(int,InputStream,int) |
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream value,
int length)
See ResultSet#updateAsciiStream(String,InputStream,int) |
void |
updateBigDecimal(Field field,
java.math.BigDecimal value)
See ResultSet#updateBigDecimal(String,BigDecimal) |
void |
updateBigDecimal(int index,
java.math.BigDecimal value)
See ResultSet#updateBigDecimal(int,BigDecimal) |
void |
updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal value)
See ResultSet#updateBigDecimal(String,BigDecimal) |
void |
updateBinaryStream(Field field,
java.io.InputStream value,
int length)
Updates a binary stream column using the field reference. |
void |
updateBinaryStream(int index,
java.io.InputStream value,
int length)
See ResultSet#updateBinaryStream(int,InputStream,int) |
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream value,
int length)
See ResultSet#updateBinaryStream(String,InputStream,int) |
void |
updateBlob(Field field,
java.sql.Blob value)
Updates a Blob column using the field bloberence. |
void |
updateBlob(int columnIndex,
java.sql.Blob value)
See ResultSet#updateBlob(int,Blob) |
void |
updateBlob(java.lang.String columnName,
java.sql.Blob value)
See ResultSet#updateBlob(String,Blob) |
void |
updateBoolean(Field field,
boolean value)
Updates a boolean column using the field reference. |
void |
updateBoolean(int index,
boolean value)
See ResultSet#updateBoolean(int,boolean) |
void |
updateBoolean(java.lang.String columnName,
boolean value)
See ResultSet#updateBoolean(String,boolean) |
void |
updateByte(Field field,
byte value)
Updates a byte column using the field reference. |
void |
updateByte(int index,
byte value)
See ResultSet#updateByte(int,byte) |
void |
updateByte(java.lang.String columnName,
byte value)
See ResultSet#updateByte(String,byte) |
void |
updateBytes(Field field,
byte[] value)
Updates a byte array column using the field reference. |
void |
updateBytes(int index,
byte[] value)
See ResultSet#updateBytes(int,byte[]) |
void |
updateBytes(java.lang.String columnName,
byte[] value)
See ResultSet#updateBytes(String,byte[]) |
void |
updateCharacterStream(Field field,
java.io.Reader value,
int length)
Updates a character stream column using the field reference. |
void |
updateCharacterStream(int index,
java.io.Reader value,
int length)
See ResultSet#updateCharacterStream(int,Reader,int) |
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader value,
int length)
See ResultSet#updateCharacterStream(String,Reader,int) |
void |
updateClob(Field field,
java.sql.Clob value)
Updates a Clob column using the field cloberence. |
void |
updateClob(int columnIndex,
java.sql.Clob value)
See ResultSet#updateClob(int,Clob) |
void |
updateClob(java.lang.String columnName,
java.sql.Clob value)
See ResultSet#updateClob(String,Clob) |
void |
updateDate(Field field,
java.sql.Date value)
Updates a date column using the field reference. |
void |
updateDate(int index,
java.sql.Date value)
See ResultSet#updateDate(int,Date) |
void |
updateDate(java.lang.String columnName,
java.sql.Date value)
See ResultSet#updateDate(String,Date) |
void |
updateDouble(Field field,
double value)
Updates a double column using the field reference. |
void |
updateDouble(int index,
double value)
See ResultSet#updateDouble(int,double) |
void |
updateDouble(java.lang.String columnName,
double value)
See ResultSet#updateDouble(String,double) |
void |
updateFloat(Field field,
float value)
Updates a float column using the field reference. |
void |
updateFloat(int index,
float value)
See ResultSet#updateFloat(int,float) |
void |
updateFloat(java.lang.String columnName,
float value)
See ResultSet#updateFloat(String,float) |
void |
updateInt(Field field,
int value)
Updates an integer column using the field reference. |
void |
updateInt(int index,
int value)
See ResultSet#updateInt(int,int) |
void |
updateInt(java.lang.String columnName,
int value)
See ResultSet#updateInt(String,int) |
void |
updateLong(Field field,
long value)
Updates a long column using the field reference. |
void |
updateLong(int index,
long value)
See ResultSet#updateLong(int,long) |
void |
updateLong(java.lang.String columnName,
long value)
See ResultSet#updateLong(String,long) |
void |
updateNull(Field field)
Sets a column to null using the field reference. |
void |
updateNull(int index)
See ResultSet#updateNull(int) |
void |
updateNull(java.lang.String columnName)
See ResultSet#updateNull(String) |
void |
updateObject(Field field,
java.lang.Object value)
Updates an object column using the field reference. |
void |
updateObject(Field field,
java.lang.Object value,
int scale)
Updates an object column using the field reference. |
void |
updateObject(int index,
java.lang.Object value)
See ResultSet#updateObject(int,Object) |
void |
updateObject(int index,
java.lang.Object value,
int scale)
See ResultSet#updateObject(int,Object,int) |
void |
updateObject(java.lang.String columnName,
java.lang.Object value)
See ResultSet#updateObject(String,Object) |
void |
updateObject(java.lang.String columnName,
java.lang.Object value,
int scale)
See ResultSet#updateObject(String,Object,int) |
void |
updateRef(Field field,
java.sql.Ref value)
Updates a Ref column using the field reference. |
void |
updateRef(int columnIndex,
java.sql.Ref value)
See ResultSet#updateRef(int,Ref) |
void |
updateRef(java.lang.String columnName,
java.sql.Ref value)
See ResultSet#updateRef(String,Ref) |
void |
updateRow()
See ResultSet#updateRow() |
void |
updateShort(Field field,
short value)
Updates a short column using the field reference. |
void |
updateShort(int index,
short value)
See ResultSet#updateShort(int,short) |
void |
updateShort(java.lang.String columnName,
short value)
See ResultSet#updateShort(String,short) |
void |
updateString(Field field,
java.lang.String value)
Updates a text column using the field reference. |
void |
updateString(int index,
java.lang.String value)
See ResultSet#updateString(int,String) |
void |
updateString(java.lang.String columnName,
java.lang.String value)
See ResultSet#updateString(String,String) |
void |
updateTime(Field field,
java.sql.Time value)
Updates a time column using the field reference. |
void |
updateTime(int index,
java.sql.Time value)
See ResultSet#updateTime(int,Time) |
void |
updateTime(java.lang.String columnName,
java.sql.Time value)
See ResultSet#updateTime(String,Time) |
void |
updateTimestamp(Field field,
java.sql.Timestamp value)
Updates a timestamp column using the field reference. |
void |
updateTimestamp(int index,
java.sql.Timestamp value)
See ResultSet#updateTimestamp(int,Timestamp) |
void |
updateTimestamp(java.lang.String columnName,
java.sql.Timestamp value)
See ResultSet#updateTimestamp(String,Timestamp) |
boolean |
wasNull()
See ResultSet#wasNull() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryResultSet(SelectQuery query, java.sql.ResultSet resultSet)
query
- the query.resultSet
- the wrapped result set.Method Detail |
protected void setQuery(SelectQuery query)
query
- the query.protected SelectQuery getQuery()
protected void setResultSet(java.sql.ResultSet resultSet)
resultSet
- the result set.protected java.sql.ResultSet getResultSet()
public byte[] getBytes(int index) throws java.sql.SQLException
getBytes
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.java.sql.ResultSet.getBytes(int)
public byte[] getBytes(java.lang.String columnName) throws java.sql.SQLException
getBytes
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.java.sql.ResultSet.getBytes(java.lang.String)
public boolean next() throws java.sql.SQLException
next
in interface java.sql.ResultSet
true
if the
new current row is valid; false if there are no more rows.
java.sql.SQLException
- if an error occurs.ResultSet.next()
public boolean previous() throws java.sql.SQLException
previous
in interface java.sql.ResultSet
true
if the
cursor is on a valid row; false if it is off the result set.
java.sql.SQLException
- if an error occurs.ResultSet.previous()
public boolean getBoolean(int index) throws java.sql.SQLException
getBoolean
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
false
.
java.sql.SQLException
- if an error occurs.ResultSet.getBoolean(int)
public boolean getBoolean(java.lang.String columnName) throws java.sql.SQLException
getBoolean
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
false
.
java.sql.SQLException
- if an error occurs.ResultSet.getBoolean(String)
public int getType() throws java.sql.SQLException
getType
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.getType()
public long getLong(int index) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getLong(int)
public long getLong(java.lang.String columnName) throws java.sql.SQLException
getLong
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getLong(String)
public java.lang.Object getObject(int index) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getObject(int)
public java.lang.Object getObject(java.lang.String columnName) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getObject(String)
public java.lang.Object getObject(int index, java.util.Map map) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...map
- (Taken from Sun's Javadoc) a java.util.Map object that
contains the mapping from SQL type names to classes in the Java
programming language.
java.sql.SQLException
- if an error occurs.ResultSet.getObject(int,java.util.Map)
public java.lang.Object getObject(java.lang.String columnName, java.util.Map map) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.map
- (Taken from Sun's Javadoc) a java.util.Map object that
contains the mapping from SQL type names to classes in the Java
programming language.
java.sql.SQLException
- if an error occurs.ResultSet.getObject(java.lang.String,java.util.Map)
public void close() throws java.sql.SQLException
close
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.close()
public java.sql.Ref getRef(int index) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getRef(int)
public java.sql.Ref getRef(java.lang.String columnName) throws java.sql.SQLException
getRef
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getRef(java.lang.String)
public java.sql.Time getTime(int index) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getTime(int)
public java.sql.Time getTime(java.lang.String columnName) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getTime(java.lang.String)
public java.sql.Time getTime(int index, java.util.Calendar calendar) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...calendar
- (Taken from Sun's Javadoc) the java.util.Calendar
object to use in constructing the time.
java.sql.SQLException
- if an error occurs.ResultSet.getTime(int,java.util.Calendar)
public java.sql.Time getTime(java.lang.String columnName, java.util.Calendar calendar) throws java.sql.SQLException
getTime
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.calendar
- (Taken from Sun's Javadoc) the java.util.Calendar
object to use in constructing the time.
java.sql.SQLException
- if an error occurs.ResultSet.getTime(java.lang.String,java.util.Calendar)
public java.sql.Date getDate(int index) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getDate(int)
public java.sql.Date getDate(java.lang.String columnName) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getDate(java.lang.String)
public java.sql.Date getDate(int index, java.util.Calendar calendar) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...calendar
- (Taken from Sun's Javadoc) the java.util.Calendar
object to use in constructing the time.
java.sql.SQLException
- if an error occurs.ResultSet.getDate(int,java.util.Calendar)
public java.sql.Date getDate(java.lang.String columnName, java.util.Calendar calendar) throws java.sql.SQLException
getDate
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.calendar
- (Taken from Sun's Javadoc) the java.util.Calendar
object to use in constructing the time.
java.sql.SQLException
- if an error occurs.ResultSet.getDate(java.lang.String,java.util.Calendar)
public boolean first() throws java.sql.SQLException
first
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.first()
public byte getByte(int index) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getByte(int)
public byte getByte(java.lang.String columnName) throws java.sql.SQLException
getByte
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getByte(String)
public short getShort(int index) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getShort(int)
public short getShort(java.lang.String columnName) throws java.sql.SQLException
getShort
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getShort(java.lang.String)
public int getInt(int index) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getInt(int)
public int getInt(java.lang.String columnName) throws java.sql.SQLException
getInt
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getInt(java.lang.String)
public float getFloat(int index) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getFloat(int)
public float getFloat(java.lang.String columnName) throws java.sql.SQLException
getFloat
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getFloat(java.lang.String)
public double getDouble(int index) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getDouble(int)
public double getDouble(java.lang.String columnName) throws java.sql.SQLException
getDouble
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getDouble(java.lang.String)
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
getMetaData
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.getMetaData()
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
getWarnings
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.getWarnings()
public void clearWarnings() throws java.sql.SQLException
clearWarnings
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.clearWarnings()
public void setFetchDirection(int direction) throws java.sql.SQLException
setFetchDirection
in interface java.sql.ResultSet
direction
- (Taken from Sun's Javadoc) an integer specifying the
suggested fetch direction; one of ResultSet.FETCH_FORWARD,
ResultSet.FETCH_REVERSE, or ResultSet.FETCH_UNKNOWN.
java.sql.SQLException
- if an error occurs.ResultSet.setFetchDirection(int)
public int getFetchDirection() throws java.sql.SQLException
getFetchDirection
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.getFetchDirection()
public void setFetchSize(int size) throws java.sql.SQLException
setFetchSize
in interface java.sql.ResultSet
size
- (Taken from Sun's Javadoc) the number of rows to fetch.
java.sql.SQLException
- if an error occurs.ResultSet.setFetchSize(int)
public int getFetchSize() throws java.sql.SQLException
getFetchSize
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.getFetchSize()
public java.lang.String getString(int index) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getString(int)
public java.lang.String getString(java.lang.String columnName) throws java.sql.SQLException
getString
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getString(java.lang.String)
public java.sql.Array getArray(int index) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getArray(int)
public java.sql.Array getArray(java.lang.String columnName) throws java.sql.SQLException
getArray
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getArray(java.lang.String)
public java.io.InputStream getAsciiStream(int index) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getAsciiStream(int)
public java.io.InputStream getAsciiStream(java.lang.String columnName) throws java.sql.SQLException
getAsciiStream
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getAsciiStream(String)
public java.math.BigDecimal getBigDecimal(int index, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...scale
- (Taken from Sun's Javadoc) the number of digits to the
right of the decimal point.
java.sql.SQLException
- if an error occurs.ResultSet.getBigDecimal(int,int)
public java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.scale
- (Taken from Sun's Javadoc) the number of digits to the
right of the decimal point.
java.sql.SQLException
- if an error occurs.ResultSet.getBigDecimal(java.lang.String,int)
public java.math.BigDecimal getBigDecimal(int index) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getBigDecimal(int)
public java.math.BigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException
getBigDecimal
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getBigDecimal(java.lang.String)
public java.io.InputStream getBinaryStream(int index) throws java.sql.SQLException
getBinaryStream
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getBinaryStream(int)
public java.io.InputStream getBinaryStream(java.lang.String columnName) throws java.sql.SQLException
getBinaryStream
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.java.sql.ResultSet#getBinaryStream(java.lang.Stream)
public java.sql.Blob getBlob(int index) throws java.sql.SQLException
getBlob
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getBlob(int)
public java.sql.Blob getBlob(java.lang.String columnName) throws java.sql.SQLException
getBlob
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getBlob(String)
public java.sql.Clob getClob(int index) throws java.sql.SQLException
getClob
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getClob(int)
public java.sql.Clob getClob(java.lang.String columnName) throws java.sql.SQLException
getClob
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getClob(java.lang.String)
public java.sql.Timestamp getTimestamp(int index) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getTimestamp(int)
public java.sql.Timestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getTimestamp(java.lang.String)
public java.sql.Timestamp getTimestamp(int index, java.util.Calendar calendar) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...calendar
- (Taken from Sun's Javadoc) the java.util.Calendar
object to use in constructing the time.
java.sql.SQLException
- if an error occurs.ResultSet.getTimestamp(int,java.util.Calendar)
public java.sql.Timestamp getTimestamp(java.lang.String columnName, java.util.Calendar calendar) throws java.sql.SQLException
getTimestamp
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.calendar
- (Taken from Sun's Javadoc) the java.util.Calendar
object to use in constructing the time.
java.sql.SQLException
- if an error occurs.ResultSet.getTimestamp(java.lang.String,java.util.Calendar)
public java.io.InputStream getUnicodeStream(int index) throws java.sql.SQLException
getUnicodeStream
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getUnicodeStream(int)
public java.io.InputStream getUnicodeStream(java.lang.String columnName) throws java.sql.SQLException
getUnicodeStream
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getUnicodeStream(java.lang.String)
public boolean wasNull() throws java.sql.SQLException
wasNull
in interface java.sql.ResultSet
true
if the last
column value read was SQL NULL and false
otherwise.
java.sql.SQLException
- if an error occurs.ResultSet.wasNull()
public java.io.Reader getCharacterStream(int index) throws java.sql.SQLException
getCharacterStream
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.getCharacterStream(int)
public java.io.Reader getCharacterStream(java.lang.String columnName) throws java.sql.SQLException
getCharacterStream
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.getCharacterStream(java.lang.String)
public boolean absolute(int index) throws java.sql.SQLException
absolute
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
true
if the cursor
is on the result set; false
otherwise.
java.sql.SQLException
- if an error occurs.ResultSet.absolute(int)
public void afterLast() throws java.sql.SQLException
afterLast
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.afterLast()
public void beforeFirst() throws java.sql.SQLException
beforeFirst
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.beforeFirst()
public void cancelRowUpdates() throws java.sql.SQLException
cancelRowUpdates
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.cancelRowUpdates()
public void deleteRow() throws java.sql.SQLException
deleteRow
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.deleteRow()
public int findColumn(java.lang.String columnName) throws java.sql.SQLException
findColumn
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.findColumn(java.lang.String)
public int getConcurrency() throws java.sql.SQLException
getConcurrency
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.getConcurrency()
public java.lang.String getCursorName() throws java.sql.SQLException
getCursorName
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.getCursorName()
public int getRow() throws java.sql.SQLException
getRow
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.getRow()
public java.sql.Statement getStatement() throws java.sql.SQLException
getStatement
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.getStatement()
public void insertRow() throws java.sql.SQLException
insertRow
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.insertRow()
public boolean isAfterLast() throws java.sql.SQLException
isAfterLast
in interface java.sql.ResultSet
true
if the cursor is
after the last row; false
if the cursor is at any other
position or the result set contains no rows.
java.sql.SQLException
- if an error occurs.ResultSet.isAfterLast()
public boolean isBeforeFirst() throws java.sql.SQLException
isBeforeFirst
in interface java.sql.ResultSet
true
if the cursor is
before the first row; false
if the cursor is at any other
position or the result set contains no rows.
java.sql.SQLException
- if an error occurs.ResultSet.isBeforeFirst()
public boolean isFirst() throws java.sql.SQLException
isFirst
in interface java.sql.ResultSet
true
if the cursor is
on the first row; false
otherwise.
java.sql.SQLException
- if an error occurs.ResultSet.isFirst()
public boolean isLast() throws java.sql.SQLException
isLast
in interface java.sql.ResultSet
true
if the cursor is
on the last row; false
otherwise.
java.sql.SQLException
- if an error occurs.ResultSet.isLast()
public boolean last() throws java.sql.SQLException
last
in interface java.sql.ResultSet
true
if the cursor is
on a valid row; false
if there are no rows in the result
set.
java.sql.SQLException
- if an error occurs.ResultSet.last()
public void moveToCurrentRow() throws java.sql.SQLException
moveToCurrentRow
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.moveToCurrentRow()
public void moveToInsertRow() throws java.sql.SQLException
moveToInsertRow
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.moveToInsertRow()
public void refreshRow() throws java.sql.SQLException
refreshRow
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.refreshRow()
public boolean relative(int index) throws java.sql.SQLException
relative
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
true
if the cursor is
on a row; false
otherwise.
java.sql.SQLException
- if an error occurs.ResultSet.relative(int)
public boolean rowDeleted() throws java.sql.SQLException
rowDeleted
in interface java.sql.ResultSet
true
if a row was
deleted and deletions are detected; false
otherwise.
java.sql.SQLException
- if an error occurs.ResultSet.rowDeleted()
public boolean rowInserted() throws java.sql.SQLException
rowInserted
in interface java.sql.ResultSet
true
if a row has had
an insertion and insertions are detected; false
otherwise.
java.sql.SQLException
- if an error occurs.ResultSet.rowInserted()
public boolean rowUpdated() throws java.sql.SQLException
rowUpdated
in interface java.sql.ResultSet
true
if both (1) the
row has been visibly updated by the owner or another and (2) updates
are detected.
java.sql.SQLException
- if an error occurs.ResultSet.rowUpdated()
public void updateAsciiStream(int index, java.io.InputStream value, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.length
- (Taken from Sun's Javadoc) the length of the stream.
java.sql.SQLException
- if an error occurs.ResultSet.updateAsciiStream(int,java.io.InputStream,int)
public void updateAsciiStream(java.lang.String columnName, java.io.InputStream value, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.length
- (Taken from Sun's Javadoc) the length of the stream.
java.sql.SQLException
- if an error occurs.ResultSet.updateAsciiStream(java.lang.String,java.io.InputStream,int)
public void updateBigDecimal(int index, java.math.BigDecimal value) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.updateBigDecimal(int,java.math.BigDecimal)
public void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal value) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.updateBigDecimal(java.lang.String,java.math.BigDecimal)
public void updateBinaryStream(int index, java.io.InputStream value, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.length
- (Taken from Sun's Javadoc) the length of the stream.
java.sql.SQLException
- if an error occurs.ResultSet.updateBinaryStream(int,java.io.InputStream,int)
public void updateBinaryStream(java.lang.String columnName, java.io.InputStream value, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.length
- (Taken from Sun's Javadoc) the length of the stream.
java.sql.SQLException
- if an error occurs.java.sql.ResultSet#updateBinrayStream(java.lang.String,java.io.InputStream,int)
public void updateBoolean(int index, boolean value) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateBoolean(int,boolean)
public void updateBoolean(java.lang.String columnName, boolean value) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateBoolean(java.lang.String,boolean)
public void updateByte(int index, byte value) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateByte(int,byte)
public void updateByte(java.lang.String columnName, byte value) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateByte(java.lang.String,byte)
public void updateBytes(int index, byte[] value) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateBytes(int,byte[])
public void updateBytes(java.lang.String columnName, byte[] value) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateBytes(java.lang.String,byte[])
public void updateCharacterStream(int index, java.io.Reader value, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.length
- (Taken from Sun's Javadoc) the length of the stream.
java.sql.SQLException
- if an error occurs.ResultSet.updateCharacterStream(int,java.io.Reader,int)
public void updateCharacterStream(java.lang.String columnName, java.io.Reader value, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.length
- (Taken from Sun's Javadoc) the length of the stream.
java.sql.SQLException
- if an error occurs.ResultSet.updateCharacterStream(java.lang.String,java.io.Reader,int)
public void updateDate(int index, java.sql.Date value) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateDate(int,java.sql.Date)
public void updateDate(java.lang.String columnName, java.sql.Date value) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateDate(java.lang.String,java.sql.Date)
public void updateDouble(int index, double value) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateDouble(int,double)
public void updateDouble(java.lang.String columnName, double value) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateDouble(String,double)
public void updateFloat(int index, float value) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateFloat(int,float)
public void updateFloat(java.lang.String columnName, float value) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occursResultSet.updateFloat(String,float)
public void updateInt(int index, int value) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateInt(int,int)
public void updateInt(java.lang.String columnName, int value) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateInt(java.lang.String,int)
public void updateLong(int index, long value) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateLong(int,long)
public void updateLong(java.lang.String columnName, long value) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occursResultSet.updateLong(java.lang.String,long)
public void updateNull(int index) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...
java.sql.SQLException
- if an error occurs.ResultSet.updateNull(int)
public void updateNull(java.lang.String columnName) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.
java.sql.SQLException
- if an error occurs.ResultSet.updateNull(java.lang.String)
public void updateObject(int index, java.lang.Object value, int scale) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.scale
- (Taken from Sun's Javadoc) for java.sql.Types.DECIMA
or java.sql.Types.NUMERIC types, this is the number of digits after
the decimal point. For all other types this value will be ignored.
java.sql.SQLException
- if an error occurs.ResultSet.updateObject(int,java.lang.Object,int)
public void updateObject(int index, java.lang.Object value) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateObject(int,java.lang.Object)
public void updateObject(java.lang.String columnName, java.lang.Object value, int scale) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.scale
- (Taken from Sun's Javadoc) for java.sql.Types.DECIMA
or java.sql.Types.NUMERIC types, this is the number of digits after
the decimal point. For all other types this value will be ignored.
java.sql.SQLException
- if an error occurs.ResultSet.updateObject(java.lang.String,java.lang.Object,int)
public void updateObject(java.lang.String columnName, java.lang.Object value) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateObject(java.lang.String,java.lang.Object)
public void updateRow() throws java.sql.SQLException
updateRow
in interface java.sql.ResultSet
java.sql.SQLException
- if an error occurs.ResultSet.updateRow()
public void updateShort(int index, short value) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateShort(int,short)
public void updateShort(java.lang.String columnName, short value) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateShort(java.lang.String,short)
public void updateString(int index, java.lang.String value) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateString(int,java.lang.String)
public void updateString(java.lang.String columnName, java.lang.String value) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateString(java.lang.String,java.lang.String)
public void updateTime(int index, java.sql.Time value) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateTime(int,java.sql.Time)
public void updateTime(java.lang.String columnName, java.sql.Time value) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateTime(java.lang.String,java.sql.Time)
public void updateTimestamp(int index, java.sql.Timestamp value) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
index
- (Taken from Sun's Javadoc) the first column
is 1, the second is 2, ...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateTimestamp(int,java.sql.Timestamp)
public void updateTimestamp(java.lang.String columnName, java.sql.Timestamp value) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of
the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateTimestamp(java.lang.String,java.sql.Timestamp)
public java.net.URL getURL(int columnIndex) throws java.sql.SQLException
getURL
in interface java.sql.ResultSet
columnIndex
- (Taken from Sun's Javadoc) the index of the column
1 is the first, 2 is the second,...
java.sql.SQLException
- if an error occurs.ResultSet.getURL(int)
public java.net.URL getURL(java.lang.String columnName) throws java.sql.SQLException
getURL
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of the column.
java.sql.SQLException
- if an error occurs.ResultSet.getURL(java.lang.String)
public void updateRef(int columnIndex, java.sql.Ref value) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
columnIndex
- (Taken from Sun's Javadoc) the index of the column
1 is the first, 2 is the second,...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateRef(int,java.sql.Ref)
public void updateRef(java.lang.String columnName, java.sql.Ref value) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateRef(java.lang.String,java.sql.Ref)
public void updateBlob(int columnIndex, java.sql.Blob value) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
columnIndex
- (Taken from Sun's Javadoc) the index of the column
1 is the first, 2 is the second,...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateBlob(int,java.sql.Blob)
public void updateBlob(java.lang.String columnName, java.sql.Blob value) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateBlob(java.lang.String,java.sql.Blob)
public void updateClob(int columnIndex, java.sql.Clob value) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
columnIndex
- (Taken from Sun's Javadoc) the index of the column
1 is the first, 2 is the second,...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateClob(int,java.sql.Clob)
public void updateClob(java.lang.String columnName, java.sql.Clob value) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateClob(java.lang.String,java.sql.Clob)
public void updateArray(int columnIndex, java.sql.Array value) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
columnIndex
- (Taken from Sun's Javadoc) the index of the column
1 is the first, 2 is the second,...value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateArray(int,java.sql.Array)
public void updateArray(java.lang.String columnName, java.sql.Array value) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
columnName
- (Taken from Sun's Javadoc) the SQL name of the column.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.ResultSet.updateArray(java.lang.String,java.sql.Array)
public byte[] getBytes(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public boolean getBoolean(Field field) throws java.sql.SQLException
field
- the field.
false
.
java.sql.SQLException
- if an error occurs.public long getLong(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.lang.Object getObject(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.lang.Object getObject(Field field, java.util.Map map) throws java.sql.SQLException
field
- the field.map
- (Taken from Sun's Javadoc) a java.util.Map object that
contains the mapping from SQL type names to classes in the Java
programming language.
java.sql.SQLException
- if an error occurs.public java.sql.Ref getRef(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.sql.Time getTime(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.sql.Time getTime(Field field, java.util.Calendar calendar) throws java.sql.SQLException
field
- the field.calendar
- (Taken from Sun's Javadoc) the java.util.Calendar
object to use in constructing the time.
java.sql.SQLException
- if an error occurs.public java.sql.Date getDate(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.sql.Date getDate(Field field, java.util.Calendar calendar) throws java.sql.SQLException
field
- the field.calendar
- (Taken from Sun's Javadoc) the java.util.Calendar
object to use in constructing the time.
java.sql.SQLException
- if an error occurs.public byte getByte(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public short getShort(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public int getInt(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public float getFloat(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public double getDouble(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.lang.String getString(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.sql.Array getArray(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.io.InputStream getAsciiStream(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.math.BigDecimal getBigDecimal(Field field, int scale) throws java.sql.SQLException
field
- the field.scale
- (Taken from Sun's Javadoc) the number of digits to the
right of the decimal point.
java.sql.SQLException
- if an error occurs.public java.math.BigDecimal getBigDecimal(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.io.InputStream getBinaryStream(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.sql.Blob getBlob(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.sql.Clob getClob(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.sql.Timestamp getTimestamp(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.sql.Timestamp getTimestamp(Field field, java.util.Calendar calendar) throws java.sql.SQLException
field
- the field.calendar
- (Taken from Sun's Javadoc) the java.util.Calendar
object to use in constructing the time.
java.sql.SQLException
- if an error occurs.public java.io.InputStream getUnicodeStream(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.io.Reader getCharacterStream(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public java.net.URL getURL(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public int findColumn(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public void updateAsciiStream(Field field, java.io.InputStream value, int length) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.length
- (Taken from Sun's Javadoc) the length of the stream.
java.sql.SQLException
- if an error occurs.public void updateBigDecimal(Field field, java.math.BigDecimal value) throws java.sql.SQLException
java.sql.SQLException
- if an error occurs.ResultSet.updateBigDecimal(java.lang.String,java.math.BigDecimal)
public void updateBinaryStream(Field field, java.io.InputStream value, int length) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.length
- (Taken from Sun's Javadoc) the length of the stream.
java.sql.SQLException
- if an error occurs.public void updateBoolean(Field field, boolean value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateByte(Field field, byte value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateBytes(Field field, byte[] value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateCharacterStream(Field field, java.io.Reader value, int length) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.length
- (Taken from Sun's Javadoc) the length of the stream.
java.sql.SQLException
- if an error occurs.public void updateDate(Field field, java.sql.Date value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateDouble(Field field, double value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateFloat(Field field, float value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurspublic void updateInt(Field field, int value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateLong(Field field, long value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurspublic void updateNull(Field field) throws java.sql.SQLException
field
- the field.
java.sql.SQLException
- if an error occurs.public void updateObject(Field field, java.lang.Object value, int scale) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.scale
- (Taken from Sun's Javadoc) for java.sql.Types.DECIMA
or java.sql.Types.NUMERIC types, this is the number of digits after
the decimal point. For all other types this value will be ignored.
java.sql.SQLException
- if an error occurs.public void updateObject(Field field, java.lang.Object value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateShort(Field field, short value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateString(Field field, java.lang.String value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateTime(Field field, java.sql.Time value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateTimestamp(Field field, java.sql.Timestamp value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateRef(Field field, java.sql.Ref value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateBlob(Field field, java.sql.Blob value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateClob(Field field, java.sql.Clob value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.public void updateArray(Field field, java.sql.Array value) throws java.sql.SQLException
field
- the field.value
- (Taken from Sun's Javadoc) the new column value.
java.sql.SQLException
- if an error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |