|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.db2tm.JDBCDataSource
public class JDBCDataSource
INTERNAL: Data source that reads tables via JDBC.
| Field Summary | |
|---|---|
protected String |
catalog
|
protected Connection |
conn
|
protected RelationMapping |
mapping
|
protected String |
propfile
|
protected String |
schemaPattern
|
protected String |
tableNamePattern
|
| Constructor Summary | |
|---|---|
JDBCDataSource(RelationMapping mapping)
|
|
JDBCDataSource(RelationMapping mapping,
Connection conn)
|
|
| Method Summary | |
|---|---|
void |
close()
INTERNAL: Closes the data source so that it can release any open resources. |
ChangelogReaderIF |
getChangelogReader(Changelog changelog,
String startOrder)
INTERNAL: Returns a changelog reader. |
protected Connection |
getConnection()
|
String |
getMaxOrderValue(Changelog changelog)
INTERNAL: Returns the maximum value of the order column for the specified changelog. |
TupleReaderIF |
getReader(String relation)
INTERNAL: Returns a tuple reader for the given relation. |
Collection |
getRelations()
INTERNAL: Returns the relations that the data source knows of. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected RelationMapping mapping
protected String propfile
protected String catalog
protected String schemaPattern
protected String tableNamePattern
protected Connection conn
| Constructor Detail |
|---|
public JDBCDataSource(RelationMapping mapping)
public JDBCDataSource(RelationMapping mapping,
Connection conn)
| Method Detail |
|---|
protected Connection getConnection()
public void close()
DataSourceIF
close in interface DataSourceIFpublic Collection getRelations()
DataSourceIF
getRelations in interface DataSourceIFpublic TupleReaderIF getReader(String relation)
DataSourceIF
getReader in interface DataSourceIF
public ChangelogReaderIF getChangelogReader(Changelog changelog,
String startOrder)
DataSourceIF
getChangelogReader in interface DataSourceIFpublic String getMaxOrderValue(Changelog changelog)
DataSourceIF
getMaxOrderValue in interface DataSourceIFpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||