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
IsamResult
read
in interface IsamResult<T>
IsamException
- if problem with ISAM sourcepublic T current() throws IsamException, RecordException
IsamResult
current
in interface IsamResult<T>
IsamException
- if problem with ISAM sourceRecordException
- if problem converting datapublic void close() throws IsamException
IsamResult
close
in interface IsamResult<T>
IsamException
- if problem with ISAM source