|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdk.vajhoej.isam.emulated.EmulatedIsamSource
public class EmulatedIsamSource
Class EmulatedIsamSource is emulating an ISAM source by using a relational database.
| Constructor Summary | |
|---|---|
EmulatedIsamSource(java.lang.String driver,
java.lang.String conurl,
java.lang.String un,
java.lang.String pw)
Create instance of EmulatedIsamSource. |
|
| Method Summary | ||
|---|---|---|
void |
close()
Close ISAM source. |
|
|
create(T o)
Create record in ISAM source. |
|
|
delete(java.lang.Class<T> t,
Key<TK> k)
Delete record from ISAM source. |
|
|
read(java.lang.Class<T> t,
Key<TK> k)
Read record from ISAM source. |
|
|
readGE(java.lang.Class<T> t,
Key<TK> k)
Find all records greater than or equal key. |
|
|
readGT(java.lang.Class<T> t,
Key<TK> k)
Read all records greater than key. |
|
|
readLE(java.lang.Class<T> t,
Key<TK> k)
Read all records less than or equal key. |
|
|
readLT(java.lang.Class<T> t,
Key<TK> k)
Read all records less than key. |
|
|
update(T o)
Update record in ISAM source. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmulatedIsamSource(java.lang.String driver,
java.lang.String conurl,
java.lang.String un,
java.lang.String pw)
throws IsamException
driver - JDBC driver classconurl - JDBC connection URLun - username used to connectpw - password used to connect
IsamException - if problem with ISAM source| Method Detail |
|---|
public <T,TK> T read(java.lang.Class<T> t,
Key<TK> k)
throws IsamException,
RecordException
IsamSource
read in interface IsamSourcet - type to readk - key of record to read
IsamException - if problem with ISAM source
RecordException - if problem converting data
public <T> void create(T o)
throws IsamException,
RecordException
IsamSource
create in interface IsamSourceo - object to create
IsamException - if problem with ISAM source
RecordException - if problem converting data
public <T> void update(T o)
throws IsamException,
RecordException
IsamSource
update in interface IsamSourceo - object to update
IsamException - if problem with ISAM source
RecordException - if problem converting data
public <T,TK> void delete(java.lang.Class<T> t,
Key<TK> k)
throws IsamException,
RecordException
IsamSource
delete in interface IsamSourcet - type to deletek - key of record to delete
IsamException - if problem with ISAM source
RecordException - if problem converting data
public void close()
throws IsamException
IsamSource
close in interface IsamSourceIsamException - if problem with ISAM source
public <T,TK> IsamResult<T> readGE(java.lang.Class<T> t,
Key<TK> k)
throws IsamException
IsamSource
readGE in interface IsamSourcet - type to findk - key to find
IsamException - if problem with ISAM source
public <T,TK> IsamResult<T> readGT(java.lang.Class<T> t,
Key<TK> k)
throws IsamException
IsamSource
readGT in interface IsamSourcet - type to findk - key to find
IsamException - if problem with ISAM source
public <T,TK> IsamResult<T> readLE(java.lang.Class<T> t,
Key<TK> k)
throws IsamException
IsamSource
readLE in interface IsamSourcet - type to findk - key to find
IsamException - if problem with ISAM source
public <T,TK> IsamResult<T> readLT(java.lang.Class<T> t,
Key<TK> k)
throws IsamException
IsamSource
readLT in interface IsamSourcet - type to findk - key to find
IsamException - if problem with ISAM source
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||