|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.vajhoej.isam.emulated.EmulatedIsamResult<T>
public class EmulatedIsamResult<T>
Class EmulatedIsamResult is a result from a find operation in an emulated ISAM source.
Constructor Summary | |
---|---|
EmulatedIsamResult(java.lang.Class<T> t,
java.sql.Connection con,
java.sql.PreparedStatement pstmt,
java.sql.ResultSet rs)
Create instance of EmulatedIsamResult. |
Method Summary | |
---|---|
void |
close()
Close. |
T |
current()
Return current record. |
boolean |
read()
Read record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmulatedIsamResult(java.lang.Class<T> t, java.sql.Connection con, java.sql.PreparedStatement pstmt, java.sql.ResultSet rs)
t
- type to loadpstmt
- JDBC prepared statementrs
- JDBC result setMethod Detail |
---|
public 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 source
RecordException
- if problem converting datapublic void close() throws IsamException
IsamResult
close
in interface IsamResult<T>
IsamException
- if problem with ISAM source
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |