public class LocalIsamResult<T> extends java.lang.Object implements IsamResult<T>
| Constructor and Description |
|---|
LocalIsamResult(java.lang.Class<T> t,
NativeIsam del,
byte[] buf,
boolean firstfnd)
Create instance of LocalIsamResult.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close.
|
T |
current()
Return current record.
|
boolean |
read()
Read record.
|
public LocalIsamResult(java.lang.Class<T> t, NativeIsam del, byte[] buf, boolean firstfnd)
t - type to loaddel - delegate to NativeIsambuf - buffer to receive datafirstfnd - whether first record was foundpublic boolean read()
throws IsamException,
RecordException
IsamResultread in interface IsamResult<T>IsamException - if problem with ISAM sourceRecordException - if problem converting datapublic 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