|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.db2tm.JDBCDataSource
public class JDBCDataSource
INTERNAL: Data source that reads tables via JDBC.
Field Summary | |
---|---|
protected java.lang.String |
catalog
|
protected java.sql.Connection |
conn
|
protected RelationMapping |
mapping
|
protected java.lang.String |
propfile
|
protected java.lang.String |
schemaPattern
|
protected java.lang.String |
tableNamePattern
|
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. |
protected java.sql.Connection |
getConnection()
|
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected RelationMapping mapping
protected java.lang.String propfile
protected java.lang.String catalog
protected java.lang.String schemaPattern
protected java.lang.String tableNamePattern
protected java.sql.Connection conn
Constructor Detail |
---|
public JDBCDataSource(RelationMapping mapping)
public JDBCDataSource(RelationMapping mapping, java.sql.Connection conn)
Method Detail |
---|
protected java.sql.Connection getConnection()
public void close()
DataSourceIF
close
in interface DataSourceIF
public java.util.Collection getRelations()
DataSourceIF
getRelations
in interface DataSourceIF
public TupleReaderIF getReader(java.lang.String relation)
DataSourceIF
getReader
in interface DataSourceIF
public ChangelogReaderIF getChangelogReader(Changelog changelog, java.lang.String startOrder)
DataSourceIF
getChangelogReader
in interface DataSourceIF
public java.lang.String getMaxOrderValue(Changelog changelog)
DataSourceIF
getMaxOrderValue
in interface DataSourceIF
public 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 |