|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.webcenter.search.util.ResultSetRow
public class ResultSetRow
A utility class that constructs a Row implementation by wrapping a ResultSet and consuming its column values in a "snapshot" way.
Constructor Summary | |
---|---|
ResultSetRow(java.util.Map<QName,java.lang.String> columnMap, java.sql.ResultSet resultSet) Construct a ResultSetRow with a map of columns and a ResultSet to be wrapped. |
|
ResultSetRow(java.sql.ResultSet resultSet) Construct a ResultSetRow with a ResultSet to be wrapped. |
Method Summary | |
---|---|
java.util.Iterator<QName> |
getColumns() Gets the list of column names derived from combining the ResultSet columns and the list of columns declared by the constructor parameter. |
java.lang.Object |
getObject(QName column) Looks up into the stored "snapshot" of the column data to return a row representation for. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultSetRow(java.sql.ResultSet resultSet) throws SearchException
resultSet
- a wrapped ResultSetSearchException
public ResultSetRow(java.util.Map<QName,java.lang.String> columnMap, java.sql.ResultSet resultSet) throws SearchException
columnMap
- a map of columns from QName to column nameresultSet
- a wrapped ResultSetSearchException
Method Detail |
---|
public java.util.Iterator<QName> getColumns()
getColumns
in interface Row
Row.getObject(oracle.webcenter.search.QName)
public java.lang.Object getObject(QName column)
getObject
in interface Row
column
- the name of the column for which the value is sought
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |