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
IsamResult
read
in interface IsamResult<T>
IsamException
- if problem with ISAM sourceRecordException
- if problem converting datapublic 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