|
Sybase eWay API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.sybaseadapter.base.PreparedStatementResultSetImpl
public abstract class PreparedStatementResultSetImpl
Base class for Result Sets returned from a Prepared Statement execution.
Constructor Summary | |
---|---|
PreparedStatementResultSetImpl(int ord,
com.stc.connector.appconn.db.PreparedStatementAgent parent)
Constructs a Prepared Statement Result Set object. |
|
PreparedStatementResultSetImpl(com.stc.connector.appconn.db.ResultSetAgent rsAgent)
Constructs a Prepared Statement Result Set object. |
Method Summary | |
---|---|
boolean |
absolute(int index)
Moves the cursor to the specified row of the result set. |
void |
afterLast()
Moves the cursor after the last row of the result set. |
boolean |
available()
Determines whether data for this particular Result Set is available after an execute. |
void |
beforeFirst()
Moves the cursor before the first row of the result set. |
void |
clearWarnings()
Clears any warnings reported on this object. |
void |
close()
Immediately releases a ResultSet object's resources. |
void |
closeResultSet()
Immediately releases a ResultSet object's resources. |
void |
deleteRow()
Deletes the current row from the result set and the underlying database. |
int |
findColumn(java.lang.String index)
Returns the column index for the named column in the result set. |
boolean |
first()
Moves the cursor to the first row of the result set. |
java.sql.Array |
getArray(int index)
Gets the Array value of the specified column. |
java.sql.Array |
getArray(java.lang.String index)
Gets the Array value of the specified column. |
java.io.InputStream |
getAsciiStream(int index)
Retrieves the value of the specified column vlaue as a stream of ASCII characters. |
java.io.InputStream |
getAsciiStream(java.lang.String index)
Retrieves the value of the specified column as a stream of ASCII characters. |
java.math.BigDecimal |
getBigDecimal(int index)
Gets the decimal value of the specified column. |
java.math.BigDecimal |
getBigDecimal(java.lang.String index)
Gets the decimal value of the specified column. |
java.io.InputStream |
getBinaryStream(int index)
Retrieves the value of the specified column as a stream of uninterpreted bytes. |
java.io.InputStream |
getBinaryStream(java.lang.String index)
Retrieves the value of the specified column as a stream of uninterpreted bytes. |
java.sql.Blob |
getBlob(int index)
Gets the Blob value of the specified column. |
java.sql.Blob |
getBlob(java.lang.String index)
Gets the Blob value of the specified column. |
boolean |
getBoolean(int index)
Gets the boolean value of the specified column. |
boolean |
getBoolean(java.lang.String index)
Gets the boolean value of the specified column. |
byte |
getByte(int index)
Gets the byte value of the specified column. |
byte |
getByte(java.lang.String index)
Gets the byte value of the specified column. |
byte[] |
getBytes(int index)
Gets the byte array value of the specified column. |
byte[] |
getBytes(java.lang.String index)
Gets the byte array value of the specified column. |
java.io.Reader |
getCharacterStream(int index)
Retrieves the value of the specified column as a Reader object. |
java.io.Reader |
getCharacterStream(java.lang.String index)
Retrieves the value of the specified column as a Reader object. |
java.sql.Clob |
getClob(int index)
Gets the Clob value of the specified column. |
java.sql.Clob |
getClob(java.lang.String index)
Gets the Clob value of the specified column. |
int |
getConcurrency()
Gets the concurrency mode for this ResultSet object. |
java.lang.String |
getCursorName()
Retrieves the name for the cursor associated with this ResultSet object. |
java.sql.Date |
getDate(int index)
Gets the date value of the specified column. |
java.sql.Date |
getDate(int index,
java.util.Calendar calendar)
Gets the date value of the specified column using the time zone from calendar. |
java.sql.Date |
getDate(java.lang.String index)
Gets the date value of the specified column. |
java.sql.Date |
getDate(java.lang.String index,
java.util.Calendar calendar)
Gets the date value of the specified column using the time zone from calendar. |
double |
getDouble(int index)
Gets the double value of the specified column. |
double |
getDouble(java.lang.String index)
Gets the double value of the specified column. |
int |
getFetchDirection()
Gets the direction suggested to the driver as the row fetch direction. |
int |
getFetchSize()
Gets the number of rows to fetch suggested to the driver. |
float |
getFloat(int index)
Gets the float value of the specified column. |
float |
getFloat(java.lang.String index)
Gets the float value of the specified column. |
int |
getInt(int index)
Gets the integer value of the specified column. |
int |
getInt(java.lang.String index)
Gets the integer value of the specified column. |
long |
getLong(int index)
Gets the long value of the specified column. |
long |
getLong(java.lang.String index)
Gets the long value of the specified column. |
java.sql.ResultSetMetaData |
getMetaData()
Retrieves a ResultSetMetaData object that contains ResultSet propreties. |
java.lang.Object |
getObject(int index)
Gets the object value of the specified column. |
java.lang.Object |
getObject(int index,
java.util.Map map)
Gets the object value of the specified column using the given type map. |
java.lang.Object |
getObject(java.lang.String index)
Gets the object value of the specified column. |
java.lang.Object |
getObject(java.lang.String index,
java.util.Map map)
Gets the object value of the specified column using the given type map. |
int |
getOrdinalPosn()
Retrieves ordinal position of the resultset. |
com.stc.connector.appconn.db.PreparedStatementAgent |
getParentPreparedStmtAgent()
Retrieves the parent PreparedStatmentAgent. |
java.sql.Ref |
getRef(int index)
Gets the Ref value of the specified column. |
java.sql.Ref |
getRef(java.lang.String index)
Gets the Ref value of the specified column. |
int |
getRow()
Retrieves the current row number in the result set. |
com.stc.connector.appconn.db.ResultSetAgent |
getRSAgent()
Retrieves the ResultSetAgent. |
short |
getShort(int index)
Gets the short value of the specified column. |
short |
getShort(java.lang.String index)
Gets the short value of the specified column. |
java.lang.String |
getString(int index)
Gets the string value of the specified column. |
java.lang.String |
getString(java.lang.String index)
Gets the string value of the specified column. |
java.sql.Time |
getTime(int index)
Gets the time value of the specified column. |
java.sql.Time |
getTime(int index,
java.util.Calendar calendar)
Gets the time value of the specified column using the time zone from calendar. |
java.sql.Time |
getTime(java.lang.String index)
Gets the time value of the specified column. |
java.sql.Time |
getTime(java.lang.String index,
java.util.Calendar calendar)
Gets the time value of the specified column using the time zone from calendar. |
java.sql.Timestamp |
getTimestamp(int index)
Gets the timestamp value of the specified column. |
java.sql.Timestamp |
getTimestamp(int index,
java.util.Calendar calendar)
Gets the timestamp value of the specified column using the time zone from calendar. |
java.sql.Timestamp |
getTimestamp(java.lang.String index)
Gets the timestamp value of the specified column. |
java.sql.Timestamp |
getTimestamp(java.lang.String index,
java.util.Calendar calendar)
Gets the timestamp value of the specified column using the time zone from calendar. |
int |
getType()
Retrieves the scroll type of cursor associated with the result set. |
java.sql.SQLWarning |
getWarnings()
Gets the first SQLWarning that has been reported for this object. |
void |
insertRow()
Inserts the contents of the insert row into the result set and the database. |
boolean |
isAfterLast()
Determines whether the cursor is after the last row of the result set. |
boolean |
isBeforeFirst()
Determines whether the cursor is before the first row of the result set. |
boolean |
isFirst()
Determines whether the cursor is on the first row of the result set. |
boolean |
isLast()
Determines whether the cursor is on the last row of the result set. |
boolean |
last()
Moves the cursor to the last row of the result set. |
void |
moveToCurrentRow()
Moves the cursor to the current row that associated with an updatable result set. |
void |
moveToInsertRow()
Moves the cursor to the insert row that associated with an updatable result set. |
boolean |
next()
Moves the cursor to the next row of the result set. |
boolean |
previous()
Moves the cursor to the previous row of the result set. |
void |
refreshRow()
Replaces the values int the current row of the result set with their current values in the database. |
boolean |
relative(int index)
Moves the cursor to the specified row relative to current row of the result set. |
void |
setFetchDirection(int iDir)
Gives the driver a hint as to the row process direction. |
void |
setFetchSize(int nSize)
Gives the drivers a hint as to the number of rows that should be fetched each time. |
void |
setResultSetAgent(com.stc.connector.appconn.db.ResultSetAgent rsAgent)
Sets the underlying ResultSetAgent control for this Result Set. |
void |
updateAsciiStream(int index,
java.io.InputStream is,
int length)
Updates the designated column with an InputStream object of specified length. |
void |
updateAsciiStream(java.lang.String index,
java.io.InputStream is,
int length)
Updates the designated column with an InputStream object of specified length. |
void |
updateBigDecimal(int index,
java.math.BigDecimal dec)
Updates the designated column with a BigDecimal object. |
void |
updateBigDecimal(java.lang.String index,
java.math.BigDecimal dec)
Updates the designated column with a BigDecimal object. |
void |
updateBinaryStream(int index,
java.io.InputStream is,
int length)
Updates the designated column with an InputStream object of specified length. |
void |
updateBinaryStream(java.lang.String index,
java.io.InputStream is,
int length)
Updates the designated column with an InputStream object of specified length. |
void |
updateBoolean(int index,
boolean b)
Updates the designated column with a boolean value. |
void |
updateBoolean(java.lang.String index,
boolean b)
Updates the designated column with a boolean value. |
void |
updateByte(int index,
byte byt)
Updates the designated column with a byte value. |
void |
updateByte(java.lang.String index,
byte byt)
Updates the designated column with a byte value. |
void |
updateBytes(int index,
byte[] bytes)
Updates the designated column with a byte array value. |
void |
updateBytes(java.lang.String index,
byte[] bytes)
Updates the designated column with a byte array value. |
void |
updateCharacterStream(int index,
java.io.Reader rd,
int length)
Updates the designated column with a Reader object of specified length. |
void |
updateCharacterStream(java.lang.String index,
java.io.Reader rd,
int length)
Updates the designated column with a Reader object of specified length. |
void |
updateDate(int index,
java.sql.Date date)
Updates the designated column with a Date object. |
void |
updateDate(java.lang.String index,
java.sql.Date date)
Updates the designated column with a Date object. |
void |
updateDouble(int index,
double d)
Updates the designated column with a double value. |
void |
updateDouble(java.lang.String index,
double d)
Updates the designated column with a double value. |
void |
updateFloat(int index,
float f)
Updates the designated column with a float value. |
void |
updateFloat(java.lang.String index,
float f)
Updates the designated column with a float value. |
void |
updateInt(int index,
int i)
Updates the designated column with an integer value. |
void |
updateInt(java.lang.String index,
int i)
Updates the designated column with an integer value. |
void |
updateLong(int index,
long l)
Updates the designated column with a long value. |
void |
updateLong(java.lang.String index,
long l)
Updates the designated column with a long value. |
void |
updateNull(int index)
Updates the designated nullable column with a null value. |
void |
updateNull(java.lang.String index)
Updates the designated nullable column with a null value. |
void |
updateObject(int index,
java.lang.Object ob)
Updates the designated column with a Object value. |
void |
updateObject(int index,
java.lang.Object ob,
int scale)
Updates the designated column with a Object value with the specified scale. |
void |
updateObject(java.lang.String index,
java.lang.Object ob)
Updates the designated column with a Object value. |
void |
updateObject(java.lang.String index,
java.lang.Object ob,
int scale)
Updates the designated column with a Object value with the specified scale. |
void |
updateRow()
Updates the underlying database with the new contents of the current row. |
void |
updateShort(int index,
short si)
Updates the designated column with a short value. |
void |
updateShort(java.lang.String index,
short si)
Updates the designated column with a short value. |
void |
updateString(int index,
java.lang.String s)
Updates the designated column with a String object. |
void |
updateString(java.lang.String index,
java.lang.String s)
Updates the designated column with a String object. |
void |
updateTime(int index,
java.sql.Time t)
Updates the designated column with a Time object. |
void |
updateTime(java.lang.String index,
java.sql.Time t)
Updates the designated column with a Time object. |
void |
updateTimestamp(int index,
java.sql.Timestamp ts)
Updates the designated column with a Timestamp object. |
void |
updateTimestamp(java.lang.String index,
java.sql.Timestamp ts)
Updates the designated column with a Timestamp object. |
boolean |
wasNull()
Checks to see if the last value read was SQL NULL or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreparedStatementResultSetImpl(com.stc.connector.appconn.db.ResultSetAgent rsAgent)
rsAgent
- the ResultSetAgent
underlying control.public PreparedStatementResultSetImpl(int ord, com.stc.connector.appconn.db.PreparedStatementAgent parent)
ord
- the ordinal position of this Result Set (if there are multiple
Result Sets).parent
- the parent PreparedStatementAgent
container for
this Result Set.Method Detail |
---|
public void setResultSetAgent(com.stc.connector.appconn.db.ResultSetAgent rsAgent)
ResultSetAgent
control for this Result Set.
setResultSetAgent
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
rsAgent
- the ResultSetAgent
underlying control.public boolean available() throws java.sql.SQLException
available
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
true
if data is available.
java.sql.SQLException
- when SQL problems occur.public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
getMetaData
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
ResultSetMetaData
object
java.sql.SQLException
- when SQL problems occur.public int getConcurrency() throws java.sql.SQLException
getConcurrency
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public int getFetchDirection() throws java.sql.SQLException
getFetchDirection
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public void setFetchDirection(int iDir) throws java.sql.SQLException
setFetchDirection
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
iDir
- fetch direction to use
java.sql.SQLException
- when SQL problems occur.public int getFetchSize() throws java.sql.SQLException
getFetchSize
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public void setFetchSize(int nSize) throws java.sql.SQLException
setFetchSize
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
nSize
- number of rows to fetch at a time
java.sql.SQLException
- when SQL problems occur.public java.lang.String getCursorName() throws java.sql.SQLException
getCursorName
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public void close() throws java.sql.SQLException
close
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public void closeResultSet() throws java.sql.SQLException
java.sql.SQLException
- SQLException when SQL problems occur.public boolean next() throws java.sql.SQLException
next
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
true
if successful
java.sql.SQLException
- when SQL problems occur.public boolean previous() throws java.sql.SQLException
previous
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
true
if successful
java.sql.SQLException
- when SQL problems occur.public boolean absolute(int index) throws java.sql.SQLException
absolute
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.
true
if successful
java.sql.SQLException
- when SQL problems occur.public boolean relative(int index) throws java.sql.SQLException
relative
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.
true
if successful
java.sql.SQLException
- when SQL problems occur.public boolean first() throws java.sql.SQLException
first
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
true
if successful
java.sql.SQLException
- when SQL problems occur.public boolean isFirst() throws java.sql.SQLException
isFirst
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
true
if on first row
java.sql.SQLException
- when SQL problems occur.public boolean last() throws java.sql.SQLException
last
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
true
if successful
java.sql.SQLException
- when SQL problems occur.public boolean isLast() throws java.sql.SQLException
isLast
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
true
if on last row
java.sql.SQLException
- when SQL problems occur.public void beforeFirst() throws java.sql.SQLException
beforeFirst
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public boolean isBeforeFirst() throws java.sql.SQLException
isBeforeFirst
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
true
if before first row
java.sql.SQLException
- when SQL problems occur.public void afterLast() throws java.sql.SQLException
afterLast
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public boolean isAfterLast() throws java.sql.SQLException
isAfterLast
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
true
if afater last row
java.sql.SQLException
- when SQL problems occur.public int getType() throws java.sql.SQLException
getType
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public int findColumn(java.lang.String index) throws java.sql.SQLException
findColumn
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.lang.Object getObject(int index) throws java.sql.SQLException
getObject
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.lang.Object getObject(java.lang.String index) throws java.sql.SQLException
getObject
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.lang.Object getObject(int index, java.util.Map map) throws java.sql.SQLException
getObject
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column indexmap
- type map
java.sql.SQLException
- when SQL problems occur.public java.lang.Object getObject(java.lang.String index, java.util.Map map) throws java.sql.SQLException
getObject
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column namemap
- type map
java.sql.SQLException
- when SQL problems occur.public boolean getBoolean(int index) throws java.sql.SQLException
getBoolean
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public boolean getBoolean(java.lang.String index) throws java.sql.SQLException
getBoolean
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public byte getByte(int index) throws java.sql.SQLException
getByte
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public byte getByte(java.lang.String index) throws java.sql.SQLException
getByte
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public short getShort(int index) throws java.sql.SQLException
getShort
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public short getShort(java.lang.String index) throws java.sql.SQLException
getShort
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public int getInt(int index) throws java.sql.SQLException
getInt
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public int getInt(java.lang.String index) throws java.sql.SQLException
getInt
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public long getLong(int index) throws java.sql.SQLException
getLong
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public long getLong(java.lang.String index) throws java.sql.SQLException
getLong
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public float getFloat(int index) throws java.sql.SQLException
getFloat
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public float getFloat(java.lang.String index) throws java.sql.SQLException
getFloat
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public double getDouble(int index) throws java.sql.SQLException
getDouble
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public double getDouble(java.lang.String index) throws java.sql.SQLException
getDouble
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.math.BigDecimal getBigDecimal(int index) throws java.sql.SQLException
getBigDecimal
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.math.BigDecimal getBigDecimal(java.lang.String index) throws java.sql.SQLException
getBigDecimal
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.sql.Date getDate(int index) throws java.sql.SQLException
getDate
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.sql.Date getDate(java.lang.String index) throws java.sql.SQLException
getDate
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.sql.Date getDate(int index, java.util.Calendar calendar) throws java.sql.SQLException
getDate
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column indexcalendar
- calandar to use
java.sql.SQLException
- when SQL problems occur.public java.sql.Date getDate(java.lang.String index, java.util.Calendar calendar) throws java.sql.SQLException
getDate
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column namecalendar
- calendar to use
java.sql.SQLException
- when SQL problems occur.public java.sql.Time getTime(int index) throws java.sql.SQLException
getTime
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.sql.Time getTime(java.lang.String index) throws java.sql.SQLException
getTime
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.sql.Time getTime(int index, java.util.Calendar calendar) throws java.sql.SQLException
getTime
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column indexcalendar
- calendar to use
java.sql.SQLException
- when SQL problems occur.public java.sql.Time getTime(java.lang.String index, java.util.Calendar calendar) throws java.sql.SQLException
getTime
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column namecalendar
- calendar to use
java.sql.SQLException
- when SQL problems occur.public java.sql.Timestamp getTimestamp(int index) throws java.sql.SQLException
getTimestamp
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.sql.Timestamp getTimestamp(java.lang.String index) throws java.sql.SQLException
getTimestamp
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.sql.Timestamp getTimestamp(int index, java.util.Calendar calendar) throws java.sql.SQLException
getTimestamp
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column indexcalendar
- calendar to use
java.sql.SQLException
- when SQL problems occur.public java.sql.Timestamp getTimestamp(java.lang.String index, java.util.Calendar calendar) throws java.sql.SQLException
getTimestamp
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column namecalendar
- calendar to use
java.sql.SQLException
- when SQL problems occur.public java.lang.String getString(int index) throws java.sql.SQLException
getString
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.lang.String getString(java.lang.String index) throws java.sql.SQLException
getString
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public byte[] getBytes(int index) throws java.sql.SQLException
getBytes
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public byte[] getBytes(java.lang.String index) throws java.sql.SQLException
getBytes
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.io.InputStream getAsciiStream(int index) throws java.sql.SQLException
getAsciiStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.io.InputStream getAsciiStream(java.lang.String index) throws java.sql.SQLException
getAsciiStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.io.InputStream getBinaryStream(int index) throws java.sql.SQLException
getBinaryStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.io.InputStream getBinaryStream(java.lang.String index) throws java.sql.SQLException
getBinaryStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.io.Reader getCharacterStream(int index) throws java.sql.SQLException
getCharacterStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.io.Reader getCharacterStream(java.lang.String index) throws java.sql.SQLException
getCharacterStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.sql.Array getArray(int index) throws java.sql.SQLException
getArray
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.sql.Array getArray(java.lang.String index) throws java.sql.SQLException
getArray
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.sql.Blob getBlob(int index) throws java.sql.SQLException
getBlob
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.sql.Blob getBlob(java.lang.String index) throws java.sql.SQLException
getBlob
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.sql.Clob getClob(int index) throws java.sql.SQLException
getClob
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.sql.Clob getClob(java.lang.String index) throws java.sql.SQLException
getClob
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public java.sql.Ref getRef(int index) throws java.sql.SQLException
getRef
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index
java.sql.SQLException
- when SQL problems occur.public java.sql.Ref getRef(java.lang.String index) throws java.sql.SQLException
getRef
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name
java.sql.SQLException
- when SQL problems occur.public boolean wasNull() throws java.sql.SQLException
wasNull
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
true
if SQL NULL
java.sql.SQLException
- when SQL problems occur.public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
getWarnings
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public void updateNull(int index) throws java.sql.SQLException
updateNull
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.
java.sql.SQLException
- when SQL problems occur.public void updateNull(java.lang.String index) throws java.sql.SQLException
updateNull
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.
java.sql.SQLException
- when SQL problems occur.public void updateObject(int index, java.lang.Object ob) throws java.sql.SQLException
updateObject
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.ob
- an Object parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateObject(java.lang.String index, java.lang.Object ob) throws java.sql.SQLException
updateObject
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.ob
- an Object parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateObject(int index, java.lang.Object ob, int scale) throws java.sql.SQLException
updateObject
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.ob
- an Object parameter value.scale
- the desired number of digits to the right of the decimal point.
java.sql.SQLException
- when SQL problems occur.public void updateObject(java.lang.String index, java.lang.Object ob, int scale) throws java.sql.SQLException
updateObject
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.ob
- an Object parameter value.scale
- the desired number of digits to the right of the decimal point.
java.sql.SQLException
- when SQL problems occur.public void updateBoolean(int index, boolean b) throws java.sql.SQLException
updateBoolean
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.b
- a boolean parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateBoolean(java.lang.String index, boolean b) throws java.sql.SQLException
updateBoolean
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.b
- a boolean parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateByte(int index, byte byt) throws java.sql.SQLException
updateByte
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.byt
- a byte parameter value
java.sql.SQLException
- when SQL problems occur.public void updateByte(java.lang.String index, byte byt) throws java.sql.SQLException
updateByte
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.byt
- a byte parameter value
java.sql.SQLException
- when SQL problems occur.public void updateShort(int index, short si) throws java.sql.SQLException
updateShort
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.si
- a short parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateShort(java.lang.String index, short si) throws java.sql.SQLException
updateShort
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.si
- a short parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateInt(int index, int i) throws java.sql.SQLException
updateInt
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.i
- an integer parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateInt(java.lang.String index, int i) throws java.sql.SQLException
updateInt
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.i
- an integer parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateLong(int index, long l) throws java.sql.SQLException
updateLong
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.l
- a long parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateLong(java.lang.String index, long l) throws java.sql.SQLException
updateLong
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.l
- a long parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateFloat(int index, float f) throws java.sql.SQLException
updateFloat
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.f
- a float parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateFloat(java.lang.String index, float f) throws java.sql.SQLException
updateFloat
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.f
- a float parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateDouble(int index, double d) throws java.sql.SQLException
updateDouble
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.d
- a double parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateDouble(java.lang.String index, double d) throws java.sql.SQLException
updateDouble
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.d
- a double parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateBigDecimal(int index, java.math.BigDecimal dec) throws java.sql.SQLException
updateBigDecimal
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.dec
- a BigDecimal parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateBigDecimal(java.lang.String index, java.math.BigDecimal dec) throws java.sql.SQLException
updateBigDecimal
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.dec
- a BigDecimal parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateDate(int index, java.sql.Date date) throws java.sql.SQLException
updateDate
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.date
- a Date parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateDate(java.lang.String index, java.sql.Date date) throws java.sql.SQLException
updateDate
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.date
- a Date parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateTime(int index, java.sql.Time t) throws java.sql.SQLException
updateTime
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.t
- a Time parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateTime(java.lang.String index, java.sql.Time t) throws java.sql.SQLException
updateTime
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.t
- a Time parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateTimestamp(int index, java.sql.Timestamp ts) throws java.sql.SQLException
updateTimestamp
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.ts
- a Timestamp parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateTimestamp(java.lang.String index, java.sql.Timestamp ts) throws java.sql.SQLException
updateTimestamp
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.ts
- a Timestamp parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateString(int index, java.lang.String s) throws java.sql.SQLException
updateString
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.s
- a String parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateString(java.lang.String index, java.lang.String s) throws java.sql.SQLException
updateString
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.s
- a String parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateBytes(int index, byte[] bytes) throws java.sql.SQLException
updateBytes
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.bytes
- a byte arrary parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateBytes(java.lang.String index, byte[] bytes) throws java.sql.SQLException
updateBytes
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.bytes
- a byte arrary parameter value.
java.sql.SQLException
- when SQL problems occur.public void updateAsciiStream(int index, java.io.InputStream is, int length) throws java.sql.SQLException
updateAsciiStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.is
- an Ascii stream parameter value.length
- the number of bytes to be read from the stream.
java.sql.SQLException
- when SQL problems occur.public void updateAsciiStream(java.lang.String index, java.io.InputStream is, int length) throws java.sql.SQLException
updateAsciiStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.is
- an Ascii stream parameter value.length
- the number of bytes to be read from the stream.
java.sql.SQLException
- when SQL problems occur.public void updateBinaryStream(int index, java.io.InputStream is, int length) throws java.sql.SQLException
updateBinaryStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.is
- a Binary stream parameter value.length
- the number of bytes to be read from the stream.
java.sql.SQLException
- when SQL problems occur.public void updateBinaryStream(java.lang.String index, java.io.InputStream is, int length) throws java.sql.SQLException
updateBinaryStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column name.is
- a Binary stream parameter value.length
- the number of bytes to be read from the stream.
java.sql.SQLException
- when SQL problems occur.public void updateCharacterStream(java.lang.String index, java.io.Reader rd, int length) throws java.sql.SQLException
updateCharacterStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.rd
- a Reader parameter value.length
- the number of characters to be read from the stream.
java.sql.SQLException
- when SQL problems occur.public void updateCharacterStream(int index, java.io.Reader rd, int length) throws java.sql.SQLException
updateCharacterStream
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
index
- column index.rd
- a Reader parameter value.length
- the number of characters to be read from the stream.
java.sql.SQLException
- when SQL problems occur.public void clearWarnings() throws java.sql.SQLException
clearWarnings
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public int getRow() throws java.sql.SQLException
getRow
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public void refreshRow() throws java.sql.SQLException
refreshRow
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public void insertRow() throws java.sql.SQLException
insertRow
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public void updateRow() throws java.sql.SQLException
updateRow
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public void deleteRow() throws java.sql.SQLException
deleteRow
in interface com.stc.connector.appconn.db.PreparedStatementResultSet
java.sql.SQLException
- when SQL problems occur.public void moveToInsertRow() throws java.sql.SQLException
java.sql.SQLException
- when SQL problems occur.public void moveToCurrentRow() throws java.sql.SQLException
java.sql.SQLException
- when SQL problems occur.public com.stc.connector.appconn.db.ResultSetAgent getRSAgent()
public int getOrdinalPosn()
public com.stc.connector.appconn.db.PreparedStatementAgent getParentPreparedStmtAgent()
|
Sybase eWay API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |