public class LocalIsamResultReverse<T,TK extends java.lang.Comparable<TK>> extends java.lang.Object implements IsamResult<T>
Constructor and Description |
---|
LocalIsamResultReverse(java.lang.Class<T> t,
Key<TK> k,
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 LocalIsamResultReverse(java.lang.Class<T> t, Key<TK> k, NativeIsam del, byte[] buf, boolean firstfnd) throws IsamException
t
- type to loadk
- key to finddel
- delegate to NativeIsambuf
- buffer to receive datafirstfnd
- whether first record was foundIsamException
- if problempublic 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