从 JDBC ResultSet 接口继承的公共方法

IfmxTimeSeries 类包含从 JDBC ResultSet 接口继承的公共方法。

下表显示公共方法的受支持特征符。不支持这些方法的其他特征符。
表 1. 公共方法
方法 特征符 描述
absolute boolean absolute(int row) 将时间系列光标移至 row 指示的行。
afterLast void afterLast() 将时间系列光标移至 IfmxTimeSeries 对象的结尾,就在最后一个元素之后。
beforeFirst void beforeFirst() 将时间系列光标移至 IfmxTimeSeries 对象的开头,就在第一个元素之前。
cancelRowUpdates void cancelRowUpdates() 在调用某一个 update... 方法之后以及调用 updateRow 方法之前,回滚对时间系列元素的更新。目前不受支持。
clearWarnings void clearWarnings() 清除数据库报告的任何警告。目前不受支持。
close void close() 立即释放 IfmxTimeSeries 对象的资源。
deleteRow void deleteRow(Connection conn) throws SQLException 删除时间系列的当前行,并使用指定连接来删除底层数据库中的时间系列。
findColumn int findColumn (java.lang.String columnName) 检索 columnName 的列索引。
first boolean first() 将时间系列光标移至 IfmxTimeSeries 对象中的第一个元素。
getArray java.sql.Array getArray(int columnIndex) 获取当前时间系列元素的 Array 对象值。目前不受支持。
getArray java.sql.Array getArray (java.lang.String columnName) 获取当前时间系列元素的 Array 对象值。目前不受支持。
getAsciiStream java.io.InputStream getAsciiStream int columnIndex) 获取当前时间系列元素的 InputStream 值。目前不受支持。
getAsciiStream java.io.InputStream getAsciiStream (java.lang.String columnName 获取当前时间系列元素的 InputStream 值。目前不受支持。
getBigDecimal java.math.BigDecimal getBigDecimal (int columnIndex) 获取当前时间系列元素的 bigDecimal 值。
getBigDecimal java.math.BigDecimal getBigDecimal (int columnIndex, int scale) 不推荐使用。
getBigDecimal java.math.BigDecimal getBigDecimal (java.lang.String columnName) 获取当前时间系列元素的 bigDecimal 值。
getBigDecimal java.math.BigDecimal getBigDecimal (java.lang.String columnName, int scale) 不推荐使用。
getBinaryStream java.io.InputStream getBinaryStream (int columnIndex) 获取当前时间系列元素的 InputStream 值。目前不受支持。
getBinaryStream java.io.InputStream getBinaryStream (java.lang.String columnName) 获取当前时间系列元素的 InputStream 值。目前不受支持。
getBlob java.sql.Blob getBlob(int columnIndex) 获取当前时间系列元素的 Blob 对象值。目前不受支持。
getBlob java.sql.Blob getBlob java.lang.String columnName) 获取当前时间系列元素的 Blob 对象值。目前不受支持。
getBoolean boolean getBoolean(int columnIndex) 获取当前时间系列元素的 boolean 值。
getBoolean boolean getBoolean (java.lang.String columnName) 获取当前时间系列元素的 boolean 值。
getByte byte getByte(int columnIndex) 获取当前时间系列元素的 byte 值。
getByte byte getByte (java.lang.String columnName) 获取当前时间系列元素的 byte 值。
getBytes byte[] getBytes(int columnIndex) 获取当前时间系列元素的 byte[] 值。
getBytes byte[] getBytes (java.lang.String columnName) 获取当前时间系列元素的 byte[] 值。
getCharacterStream java.io.Reader getCharacterStream (int columnIndex) 获取当前时间系列元素的 Reader 对象值。目前不受支持。
getCharacterStream java.io.Reader getCharacterStream (java.lang.String columnName) 获取当前时间系列元素的 Reader 对象值。目前不受支持。
getClob java.sql.Clob getClob(int columnIndex) 获取当前时间系列元素的 Clob 对象值。目前不受支持。
getClob java.sql.Clob getClob (java.lang.String columnName) 获取当前时间系列元素的 Clob 对象值。目前不受支持。
getConcurrency int getConcurrency() 获取此 IfmxTimeSeries 对象的并行类型。
getCursorName java.lang.String getCursorName() 获取与此 IfmxTimeSeries 对象关联的光标的 SQL 名称。目前不受支持。
getDate java.sql.Date getDate(int columnIndex) 获取当前时间系列元素的值 java.sql.date 值。
getDate java.sql.Date getDate (int columnIndex, java.util.Calendar cal) 通过使用 cal 构造适当的毫秒值,从而获取当前时间系列元素的 java.sql.date 对象值。目前不受支持。
getDate java.sql.Date getDate (java.lang.String columnName) 获取当前时间系列元素的值 java.sql.date 值。
getDate java.sql.Date getDate (java.lang.String columnName, java.util.Calendar cal) 通过使用 cal 构造适当的毫秒值,从而获取当前时间系列元素的 java.sql.date 对象值。目前不受支持。
getDouble double getDouble(int columnIndex) 获取当前时间系列元素的 double 值。
getDouble double getDouble (java.lang.String columnName) 获取当前时间系列元素的 double 值。
getFetchDirection int getFetchDirection() 获取此 IfmxTimeSeries 对象的访存方向。目前不受支持。
getFetchSize int getFetchSize() 获取从数据库访存的为驱动程序建议的行数。目前不受支持。
getFloat float getFloat(int columnIndex) 获取当前时间系列元素的 float 值。
getFloat float getFloat (java.lang.String columnName) 获取当前时间系列元素的 float 值。
getInt int getInt(int columnIndex) 获取当前时间系列元素的 int 值。
getInt int getInt(java.lang.String columnName) 获取当前时间系列元素的 int 值。
getLong int getLong(int columnIndex) 获取当前时间系列元素的 long 值。
getLong int getLong (java.lang.String columnName) 获取当前时间系列元素的 long 值。
getMetaData java.sql.ResultSetMetaData getMetaData() 检索 ResultSetMetaData 对象,其包含 IfmxTimeSeries 对象元素的数目、类型和属性。
getObject java.lang.Object getObject (int columnIndex) 获取当前时间系列元素的 Object 值。
getObject java.lang.Object getObject (int columnIndex, java.util.Map map) 通过使用 map 将 SQL UDT 值映射到 Java™ 语言中的类,从而获取当前时间系列元素的 Object 值。目前不受支持。
getObject java.lang.Object getObject (java.lang.String columnName) 获取当前时间系列元素的 Object 值。目前不受支持。
getObject java.lang.Object getObject (java.lang.String columnName, java.util.Map map) 通过使用 map 将 SQL UDT 值映射到 Java 语言中的类,从而获取当前时间系列元素的 Object 值。目前不受支持。
getRef java.sql.Ref getRef(int columnIndex) 获取当前时间系列元素的 Ref 对象值。
getRef java.sql.Ref getRef (java.lang.String columnName) 获取当前时间系列元素的 Ref 对象值。
getRow int getRow() 检索当前时间系列元素数。
getShort short getShort(int columnIndex) 获取当前时间系列元素的 short 值。
getShort short getShort (java.lang.String columnName) 获取当前时间系列元素的 short 值。
getSQLTypeName java.lang.String getSQLTypeName() 为数据类型返回数据库使用的 SQL 类型名称。
getStatement java.sql.Statement getStatement() 返回创建了此 IfmxTimeSeries 对象的 Statement。目前不受支持。
getString java.lang.String getString (int columnIndex) 获取当前时间系列元素的 String 值。
getString java.lang.String getString (java.lang.String columnName) 获取当前时间系列元素的 String 值。
getTime java.sql.Time getTime(int columnIndex) 获取当前时间系列元素的 java.sql.Time 值。
getTime java.sql.Time getTime (int columnIndex, java.util.Calendar cal) 通过使用 cal 构造 Time 对象的适当毫秒值,从而获取当前时间系列元素的 java.sql.Time 值。目前不受支持。
getTime java.sql.Time getTime (java.lang.String columnName) 获取当前时间系列元素的 java.sql.Time 值。
getTime java.sql.Time getTime (java.lang.String columnName, java.util.Calendar cal)) 通过使用 cal 构造 Time 对象的适当毫秒值,从而获取当前时间系列元素的 java.sql.Time 值。目前不受支持。
getTimestamp java.sql.Timestamp getTimestamp (int columnIndex) 获取当前时间系列元素的 Timestamp 对象值。
getTimestamp java.sql.Timestamp getTimestamp (int columnIndex, java.util.Calendar) 通过使用给定 IfmxCalendar 对象计算适当的毫秒值,从而获取当前时间系列元素的 Timestamp 对象值。目前不受支持。
getTimestamp java.sql.Timestamp getTimestamp (java.lang.String columnName) 获取当前时间系列元素的 Timestamp 对象值。
getTimestamp java.sql.Timestamp getTimestamp (java.lang.String columnName java.util.Calendar) 通过使用给定 IfmxCalendar 对象计算适当的毫秒值,从而获取当前时间系列元素的 Timestamp 对象值。目前不受支持。
getTSMetaData java.sql.ResultSetMetaData getTSMetaData() 检索 IfmxResultSetMetaData 对象,其包含此 IfmxTimeSeries 对象中的时间系列元素的数目、类型和属性。
getType int getType() 检索此 IfmxTimeSeries 对象的类型。
getUnicodeStream java.io.InputStream getUnicodeStream (int columnIndex) 不推荐使用。
getUnicodeStream java.io.InputStream getUnicodeStream (java.lang.String columnName) 不推荐使用。
getWarnings java.sql.SQLWarning getWarnings() 获取为此 IfmxTimeSeries 对象报告的 SQLWarning。目前不受支持。
insertRow void insertRow(Connection conn) 通过使用 setConnection 方法设置的连接插入当前行,以更新存储在数据库中的底层时间系列。时间系列方法中描述了 setConnection 方法。
isAfterLast boolean isAfterLast() 确定时间系列光标是否在最后一个元素之后。
isBeforeFirst boolean isBeforeFirst() 确定时间系列光标是否在第一个元素之前。
isFirst boolean isFirst() 确定时间系列光标是否在此时间系列中的第一个元素上。
isLast boolean isLast() 确定当前元素是否是此时间系列中的最后一个元素。
last boolean last() 将时间系列光标移至时间系列中的最后一个元素。
moveToCurrentRow void moveToCurrentRow() 将时间系列光标移至此 IfmxTimeSeries 对象中的记忆位置,通常为当前元素。
moveToInsertRow void moveToInsertRow() 将时间系列光标移至插入行。
next boolean next() 初始将时间系列光标移至时间系列中的第一个元素。后续调用将光标移至第二个元素,然后是第三个,依此类推。
previous boolean previous() 将时间系列光标移至上一行。
readSQL void readSQL (java.sql.InputStream stream, java.lang.String type) 使用从给定二进制输入流读取的数据填充 IfmxTimeSeries 对象。
refreshRow void refreshRow() 将当前时间系列元素中的值替换为底层数据库中的当前值。目前不受支持。
relative boolean relative(int row) 将时间系列光标移至 row 指定的行数。
rowDeleted boolean rowDeleted() 确定是否已删除当前时间系列元素。
rowInserted boolean rowInserted() 确定是否已插入当前时间系列元素。
rowUpdated boolean rowUpdated() 确定是否已更新当前时间系列元素。
setFetchDirection void setFetchDirection(int direction) 为驱动程序提供有关检索行应该采用的方向的信息。目前不受支持。
setFetchSize void setFetchSize(int rows) 告知驱动程序从数据库检索的行数。目前不受支持。
updateAsciiStream void updateAsciiStream (int columnIndex, java.io.InputStream x, int length) 使用长度为 length 个字符的 java.io.InputStream 来更新当前时间系列元素。目前不受支持。
updateAsciiStream void updateAsciiStream java.lang.Stringt columnName, java.io.InputStream x, int length) 使用长度为 length 个字符的 java.io.InputStream 来更新当前时间系列元素。目前不受支持。
updateBigDecimal void updateBigDecimal (int columnIndex, java.math.BigDecimal x) 使用给定 BigDecimal 对象来更新当前时间系列元素。
updateBigDecimal void updateBigDecimal (java.lang.String columnName, java.math.BigDecimal x) 使用给定 BigDecimal 对象来更新当前时间系列元素。
updateBinaryStream void updateBinaryStream (int columnIndex, java.io.InputStream x, int length) 使用长度为 length 个字符的 java.io.InputStream 来更新当前时间系列元素。目前不受支持。
updateBinaryStream void updateBinaryStream (java.lang.String columnName, java.io.InputStream x, int length) 使用长度为 length 个字符的 java.io.InputStream 来更新当前时间系列元素。目前不受支持。
updateBoolean void updateBoolean (int columnIndex, boolean x) 使用给定 boolean 对象来更新当前时间系列元素。
updateBoolean void updateBoolean (java.lang.String columnName, boolean x) 使用给定 boolean 对象来更新当前时间系列元素。
updateByte void updateByte(int columnIndex, byte x) 使用给定 byte 对象来更新当前时间系列元素。
updateByte void updateByte (java.lang.String columnName, byte x) 使用给定 byte 对象来更新当前时间系列元素。
updateBytes void updateBytes (int columnIndex, byte[] x) 使用 byte 数组来更新当前时间系列元素。
updateBytes void updateBytes (java.lang.String columnName, byte[] x) 使用 byte 数组来更新当前时间系列元素。
updateCharacterStream void updateCharacterStream (int columnIndex, java.io.Reader x, int length) 使用长度为 length 个字符的 java.io.Reader 来更新当前时间系列元素。目前不受支持。
updateCharacterStream void updateCharacterStream (java.lang.String columnName, java.io.Reader x, int length) 使用长度为 length 个字符的 java.io.Reader 来更新当前时间系列元素。目前不受支持。
updateDate void updateDate (int columnIndex, java.sql.Date x) 使用给定 date 对象来更新当前时间系列元素。
updateDate void updateDate (java.lang.String columnName, java.sql.Date x) 使用给定 date 对象来更新当前时间系列元素。
updateDouble void updateDouble (int columnIndex, double x) 使用给定 double 对象来更新当前时间系列元素。
updateDouble void updateDouble (java.lang.String columnName, double x) 使用给定 double 对象来更新当前时间系列元素。
updateFloat void updateFloat (int columnIndex, float x) 使用给定 float 对象来更新当前时间系列元素。
updateFloat void updateFloat (java.lang.String columnName, float x) 使用给定 float 对象来更新当前时间系列元素。
updateInt void updateInt(int columnIndex, int x) 使用给定 int 对象来更新当前时间系列元素。
updateInt void updateInt (java.lang.String columnIndex, int x) 使用给定 int 对象来更新当前时间系列元素。
updateLong void updateLong (int columnIndex, long x) 使用给定 long 对象来更新当前时间系列元素。
updateLong void updateLong (java.lang.String columnName, long x) 使用给定 long 对象来更新当前时间系列元素。
updateNull void updateNull(int columnIndex) 使用空值来更新当前时间系列元素。
updateNull void updateNull (java.lang.String columnName) 使用空值来更新当前时间系列元素。
updateObject void updateObject (int columnIndex, java.lang.Object x) 使用 Object 来更新当前时间系列。
updateObject void updateObject (int columnIndex, java.lang.Object x), int scale 使用 Object 来更新当前时间系列。
updateObject void updateObject (java.lang.String columnName, java.lang.Object x) 使用 Object 来更新当前时间系列。
updateObject void updateObject (java.lang.String columnName, java.lang.Object x), int scale 使用 Object 来更新当前时间系列。
updateRow void updateRow(Connection conn) 通过使用 setConnection 方法设置的链接,以当前行的内容更新底层时间系列。时间系列方法中描述了 setConnection 方法。
updateShort void updateShort (int columnIndex, short x) 使用给定 short 对象来更新当前时间系列元素。
updateShort void updateShort (java.lang.String columnName, short x) 使用给定 short 对象来更新当前时间系列元素。
updateString void updateString (int columnIndex, java.lang.String x) 使用给定 String 对象来更新当前时间系列元素。
updateString void updateString (java.lang.String columnName, java.lang.String x) 使用给定 String 对象来更新当前时间系列元素。
updateTime void updateTime (int columnIndex, java.sql.Time x) 使用给定 Time 对象来更新当前时间系列元素。
updateTime void updateTime (java.lang.String columnName, java.sql.Time x) 使用给定 Time 对象来更新当前时间系列元素。
updateTimestamp void updateTimestamp (int columnIndex, java.sql.Timestamp x) 使用给定 Timestamp 对象来更新当前时间系列元素。
updateTimestamp void updateTimestamp (java.lang.String columnName, java.sql.Timestamp x) 使用给定 Timestamp 对象来更新当前时间系列元素。
wasNull boolean wasNull() 检查当前元素是否为 NULL
writeSQL void writeSQL(java.sql.Output stream) 当调用 setObject 方法来将 IfmxTimeSeries 对象插入要发送到数据库服务器的预编译语句时,由 JDBC 驱动程序自动调用。

当前不支持以下方法: