|
|
|||||||||
| 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.
| Constructor Summary | |
|---|---|
JDBCDataSource(RelationMapping mapping)
|
|
JDBCDataSource(RelationMapping mapping,
java.sql.Connection conn)
|
|
| Method Summary | |
|---|---|
void |
close()
INTERNAL: Closes the data source so that it can release any open resources. |
ChangelogReaderIF |
getChangelogReader(Changelog changelog,
java.lang.String startOrder)
INTERNAL: Returns a changelog reader. |
java.lang.String |
getMaxOrderValue(Changelog changelog)
INTERNAL: Returns the maximum value of the order column for the specified changelog. |
TupleReaderIF |
getReader(java.lang.String relation)
INTERNAL: Returns a tuple reader for the given relation. |
java.util.Collection |
getRelations()
INTERNAL: Returns the relations that the data source knows of. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JDBCDataSource(RelationMapping mapping)
public JDBCDataSource(RelationMapping mapping,
java.sql.Connection conn)
| Method Detail |
|---|
public void close()
DataSourceIF
close in interface DataSourceIFpublic java.util.Collection getRelations()
DataSourceIF
getRelations in interface DataSourceIFpublic TupleReaderIF getReader(java.lang.String relation)
DataSourceIF
getReader in interface DataSourceIF
public ChangelogReaderIF getChangelogReader(Changelog changelog,
java.lang.String startOrder)
DataSourceIF
getChangelogReader in interface DataSourceIFpublic java.lang.String getMaxOrderValue(Changelog changelog)
DataSourceIF
getMaxOrderValue in interface DataSourceIFpublic java.lang.String toString()
toString in class java.lang.Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||