public interface IntRowSetRead extends IntRowRead
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.lang.Integer> |
getAllRows()
returns Iterator that allows you to get all rows , next() method also sets context on the row it returns
|
IntRowSetRead |
getChildRS(java.lang.String childRSId)
returns child rs to the current rs (if third party system supports nested rs)
|
java.util.Set<java.lang.String> |
getChildRSs()
returns list of child result sets
|
java.util.Set<java.lang.String> |
getRowColumns()
returns list of result set columns in this row
|
void |
markCurrentRowAsBad(java.lang.String errorMessage,
java.lang.Throwable ex)
if current row appears to be ok application needs to call addRow() on the output IntRowSet to submit this row to the Costpoint ;
if row is bad ( e.g.
|
getBoolean, getDate, getDouble, getInteger, getLong, getObject, getString
void markCurrentRowAsBad(java.lang.String errorMessage, java.lang.Throwable ex) throws DEException
errorMessage
- detail error message that provents row from beeing processed - this info will be loggedex
- if current row cannot be processed because of RuntimeException in one of the get* methods pass it here;otherwise leave it nullDEException
java.util.Iterator<java.lang.Integer> getAllRows()
java.util.Set<java.lang.String> getRowColumns()
java.util.Set<java.lang.String> getChildRSs()
IntRowSetRead getChildRS(java.lang.String childRSId) throws DEException
childRSId
- reference to the child rsDEException