public class EmulatedIsamResult<T> extends java.lang.Object implements IsamResult<T>
| Constructor and Description |
|---|
EmulatedIsamResult(java.lang.Class<T> t,
java.sql.Connection con,
java.sql.PreparedStatement pstmt,
java.sql.ResultSet rs)
Create instance of EmulatedIsamResult.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close.
|
T |
current()
Return current record.
|
boolean |
read()
Read record.
|
public EmulatedIsamResult(java.lang.Class<T> t, java.sql.Connection con, java.sql.PreparedStatement pstmt, java.sql.ResultSet rs)
t - type to loadcon - JDBC connectionpstmt - JDBC prepared statementrs - JDBC result setpublic boolean read()
throws IsamException
IsamResultread in interface IsamResult<T>IsamException - if problem with ISAM sourcepublic T current() throws IsamException, RecordException
IsamResultcurrent in interface IsamResult<T>IsamException - if problem with ISAM sourceRecordException - if problem converting datapublic void close()
throws IsamException
IsamResultclose in interface IsamResult<T>IsamException - if problem with ISAM source