public interface IsamSource
Modifier and Type | Method and Description |
---|---|
void |
close()
Close ISAM source.
|
<T> void |
create(T o)
Create record in ISAM source.
|
<T,TK> void |
delete(java.lang.Class<T> t,
Key<TK> k)
Delete record from ISAM source.
|
<T,TK> T |
read(java.lang.Class<T> t,
Key<TK> k)
Read record from ISAM source.
|
<T,TK> IsamResult<T> |
readGE(java.lang.Class<T> t,
Key<TK> k)
Find all records greater than or equal key.
|
<T,TK> IsamResult<T> |
readGT(java.lang.Class<T> t,
Key<TK> k)
Read all records greater than key.
|
<T,TK> IsamResult<T> |
readLE(java.lang.Class<T> t,
Key<TK> k)
Read all records less than or equal key.
|
<T,TK> IsamResult<T> |
readLT(java.lang.Class<T> t,
Key<TK> k)
Read all records less than key.
|
<T> void |
update(T o)
Update record in ISAM source.
|
<T,TK> T read(java.lang.Class<T> t, Key<TK> k) throws IsamException, RecordException
T
- type of recordTK
- type of keyt
- type to readk
- key of record to readIsamException
- if problem with ISAM sourceRecordException
- if problem converting data<T> void create(T o) throws IsamException, RecordException
T
- type of recordo
- object to createIsamException
- if problem with ISAM sourceRecordException
- if problem converting data<T> void update(T o) throws IsamException, RecordException
T
- type of recordo
- object to updateIsamException
- if problem with ISAM sourceRecordException
- if problem converting data<T,TK> void delete(java.lang.Class<T> t, Key<TK> k) throws IsamException, RecordException
T
- type of recordTK
- type of keyt
- type to deletek
- key of record to deleteIsamException
- if problem with ISAM sourceRecordException
- if problem converting datavoid close() throws IsamException
IsamException
- if problem with ISAM source<T,TK> IsamResult<T> readGE(java.lang.Class<T> t, Key<TK> k) throws IsamException, RecordException
T
- type of recordTK
- type of keyt
- type to findk
- key to findIsamException
- if problem with ISAM sourceRecordException
- if problem converting data<T,TK> IsamResult<T> readGT(java.lang.Class<T> t, Key<TK> k) throws IsamException, RecordException
T
- type of recordTK
- type of keyt
- type to findk
- key to findIsamException
- if problem with ISAM sourceRecordException
- if problem converting data<T,TK> IsamResult<T> readLE(java.lang.Class<T> t, Key<TK> k) throws IsamException, RecordException
T
- type of recordTK
- type of keyt
- type to findk
- key to findIsamException
- if problem with ISAM sourceRecordException
- if problem converting data<T,TK> IsamResult<T> readLT(java.lang.Class<T> t, Key<TK> k) throws IsamException, RecordException
T
- type of recordTK
- type of keyt
- type to findk
- key to findIsamException
- if problem with ISAM sourceRecordException
- if problem converting data