public class LocalIsamResultReverse<T,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
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