public interface RowSetInternal
RowSet对象呈现一个
RowSetReader或
RowSetWriter对象。的
RowSetInternal接口包含的方法,让读者或作家的访问和修改的行集的内部状态。
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection()
检索
Connection对象被传递给这个
RowSet对象。
|
ResultSet |
getOriginal()
检索
ResultSet对象包含此
RowSet对象的原始值。
|
ResultSet |
getOriginalRow()
检索
ResultSet对象包含原始值的当前行。
|
Object[] |
getParams()
检索已为这个
RowSet对象的命令参数。
|
void |
setMetaData(RowSetMetaData md)
设置给定的
RowSetMetaData对象为本
RowSet对象的
RowSetMetaData对象。
|
Object[] getParams() throws SQLException
RowSet对象的命令参数。
RowSet对象的当前参数值的数组的命令
SQLException -如果一个数据库访问错误发生
Connection getConnection() throws SQLException
Connection对象被传递给这个
RowSet对象。
Connection对象传递到数据集或
null如果没有通过
SQLException -如果一个数据库访问错误发生
void setMetaData(RowSetMetaData md) throws SQLException
RowSetMetaData对象为本
RowSet对象的
RowSetMetaData对象。与数据集有关的
RowSetReader对象将使用
RowSetMetaData方法设置对行集的列的信息价值。
md -
RowSetMetaData对象,将有关数据集的列的信息
SQLException -如果一个数据库访问错误发生
ResultSet getOriginal() throws SQLException
RowSet对象原有的价值
ResultSet对象。
光标位于结果集的第一行之前的位置。在结果中只包含行的方法getOriginal回来说有一个原始的价值。
SQLException -如果一个数据库访问错误发生
ResultSet getOriginalRow() throws SQLException
ResultSet对象包含原始值的当前行。如果当前行没有原始值,则返回一个空结果集。如果没有当前行,则抛出一个异常。
ResultSet对象的原始值
SQLException -如果一个数据库访问错误发生或这种方法是当光标在插入行,第一行之前,或之后的最后一行
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.