|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.rview.ResultSetProcessor
public abstract class ResultSetProcessor
A ResultSetProcessor will read rows from a ResultSet and convert those rows into objects by assigning column values to property values.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
ResultSetProcessor()
|
Method Summary | |
---|---|
abstract java.lang.Class |
getBeanClass()
Returns the Class of the bean used to represent the rows returned by this ResultSetProcessor. |
abstract RelationalViewManager |
getRelationalViewManager()
Returns the RelationalViewManager that produced this RelationalView. |
abstract java.lang.Object[] |
processResultSet(java.sql.ResultSet pResultSet)
Processes the specified ResultSet and returns an array of the resulting objects. |
abstract java.lang.Object[] |
processResultSet(java.sql.ResultSet pResultSet,
int pFirstRow,
int pMaxRows)
Processes the specified ResultSet and returns an array of the resulting objects. |
abstract java.lang.Object |
processResultSetRow(java.sql.ResultSet pResultSet)
Processes one ResultSet row. |
abstract java.lang.Object |
processResultSetRow(java.sql.ResultSet pResultSet,
java.lang.Object pObject)
Processes one ResultSet row by filling in the values of the specified object, as opposed to creating a new object to hold the values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ResultSetProcessor()
Method Detail |
---|
public abstract RelationalViewManager getRelationalViewManager()
public abstract java.lang.Class getBeanClass()
public abstract java.lang.Object[] processResultSet(java.sql.ResultSet pResultSet) throws java.sql.SQLException
pResultSet
- the ResultSet to process
java.sql.SQLException
- if an error occurred during processingprocessResultSetRow(java.sql.ResultSet)
public abstract java.lang.Object[] processResultSet(java.sql.ResultSet pResultSet, int pFirstRow, int pMaxRows) throws java.sql.SQLException
pResultSet
- the ResultSet to processpFirstRow
- the first row to skip to, where 0 is the first rowpMaxRows
- the maximum number of rows to return. All subsequent
rows are discarded. If -1, then there is no maximum.
java.sql.SQLException
- if an error occurred during processingprocessResultSetRow(java.sql.ResultSet)
public abstract java.lang.Object processResultSetRow(java.sql.ResultSet pResultSet) throws java.sql.SQLException
pResultSet
- the ResultSet from which one row should be
processed.
java.sql.SQLException
- if an error occurred during processingprocessResultSet(java.sql.ResultSet)
public abstract java.lang.Object processResultSetRow(java.sql.ResultSet pResultSet, java.lang.Object pObject) throws java.sql.SQLException
pResultSet
- the ResultSet from which one row should be
processed.pObject
- the object whose values are to be filled in from
the row. If null, then the object is created.
java.sql.SQLException
- if an error occurred during processingprocessResultSet(java.sql.ResultSet)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |