|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sybase implementation of the ResultSet
interface.
ResultSet
objects obtained from jConnect may be downcast
to this class to access Sybase-specific methods.
ResultSet
,
Statement.executeQuery(java.lang.String)
,
Statement.getResultSet()
,
ResultSetMetaData
Field Summary | |
static int |
CONCUR_READ_ONLY
JDBC 2.0 constant for cursor concurrency - read-only. |
static int |
CONCUR_UNKNOWN
|
static int |
CONCUR_UPDATABLE
JDBC 2.0 constant for cursor concurrency - updatable. |
static int |
TYPE_FORWARD_ONLY
JDBC 2.0 constant for result set type - iteration direction. |
Method Summary | |
BigDecimal |
getBigDecimal(int columnIndex)
JDBC 2.0 feature - Returns same scale as was sent from database, avoids the performance cost of rescaling. |
BigDecimal |
getBigDecimal(String columnName)
JDBC 2.0 feature - Returns same scale as was sent from database, avoids the performance cost of rescaling. |
TextPointer |
getSybTextPointer(int columnIndex)
Gets a text pointer which can be used to update the column, specifying the column by number. |
TextPointer |
getSybTextPointer(String columnName)
Gets a text pointer which can be used to update the column, specifying the column by name. |
void |
updateBigDecimal(int columnIndex,
BigDecimal x,
int precision,
int scale)
JDBC 2.0 feature and Sybase extension to allow a jConnect JDBC application to explicitly set the precision and scale for the NUMERIC parameter value that will be sent to the Database as part of executing this update. |
void |
updateBigDecimal(String columnName,
BigDecimal x,
int precision,
int scale)
JDBC 2.0 feature and Sybase extension to allow a jConnect JDBC application to explicitly set the precision and scale for the NUMERIC parameter value that will be sent to the Database as part of executing this update. |
Methods inherited from interface java.sql.ResultSet |
absolute,
afterLast,
beforeFirst,
cancelRowUpdates,
clearWarnings,
close,
deleteRow,
findColumn,
first,
getArray,
getArray,
getAsciiStream,
getAsciiStream,
getBigDecimal,
getBigDecimal,
getBinaryStream,
getBinaryStream,
getBlob,
getBlob,
getBoolean,
getBoolean,
getByte,
getByte,
getBytes,
getBytes,
getCharacterStream,
getCharacterStream,
getClob,
getClob,
getConcurrency,
getCursorName,
getDate,
getDate,
getDate,
getDate,
getDouble,
getDouble,
getFetchDirection,
getFetchSize,
getFloat,
getFloat,
getInt,
getInt,
getLong,
getLong,
getMetaData,
getObject,
getObject,
getObject,
getObject,
getRef,
getRef,
getRow,
getShort,
getShort,
getStatement,
getString,
getString,
getTime,
getTime,
getTime,
getTime,
getTimestamp,
getTimestamp,
getTimestamp,
getTimestamp,
getType,
getUnicodeStream,
getUnicodeStream,
getWarnings,
insertRow,
isAfterLast,
isBeforeFirst,
isFirst,
isLast,
last,
moveToCurrentRow,
moveToInsertRow,
next,
previous,
refreshRow,
relative,
rowDeleted,
rowInserted,
rowUpdated,
setFetchDirection,
setFetchSize,
updateAsciiStream,
updateAsciiStream,
updateBigDecimal,
updateBigDecimal,
updateBinaryStream,
updateBinaryStream,
updateBoolean,
updateBoolean,
updateByte,
updateByte,
updateBytes,
updateBytes,
updateCharacterStream,
updateCharacterStream,
updateDate,
updateDate,
updateDouble,
updateDouble,
updateFloat,
updateFloat,
updateInt,
updateInt,
updateLong,
updateLong,
updateNull,
updateNull,
updateObject,
updateObject,
updateObject,
updateObject,
updateRow,
updateShort,
updateShort,
updateString,
updateString,
updateTime,
updateTime,
updateTimestamp,
updateTimestamp,
wasNull |
Field Detail |
public static final int TYPE_FORWARD_ONLY
public static final int CONCUR_UNKNOWN
public static final int CONCUR_READ_ONLY
public static final int CONCUR_UPDATABLE
Method Detail |
public BigDecimal getBigDecimal(int columnIndex) throws SQLException
CallableStatement.getBigDecimal(int)
public BigDecimal getBigDecimal(String columnName) throws SQLException
ResultSet.getBigDecimal(int)
public void updateBigDecimal(int columnIndex, BigDecimal x, int precision, int scale) throws SQLException
columnIndex
- index of the parameter being set.x
- value being sentprecision
- the maximum number of digits in the value of xscale
- the maximum number of digits to the right of the decimal
in the value of x.com.sybase.javax.SybPreparedStatement#setBigDecimal
public void updateBigDecimal(String columnName, BigDecimal x, int precision, int scale) throws SQLException
columnName
- name of the column being updated.x
- value being sentprecision
- the maximum number of digits in the value of xscale
- the maximum number of digits to the right of the decimal
in the value of x.com.sybase.javax.SybPreparedStatement#setBigDecimal
public TextPointer getSybTextPointer(int columnIndex) throws SQLException
columnIndex
- column number to fetch (the index of
the first column is 1)public TextPointer getSybTextPointer(String columnName) throws SQLException
columnName
- name of the column to fetch
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |