Package net.ontopia.topicmaps.db2tm
Interface DataSourceIF
- All Known Implementing Classes:
CSVDataSource,JDBCDataSource
public interface DataSourceIF
INTERNAL: A data source interface. This interface is used to
represent a data source that is capable of returning a stream of
tuples for a limited number of relations.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()INTERNAL: Closes the data source so that it can release any open resources.getChangelogReader(Changelog changelog, String startOrder) INTERNAL: Returns a changelog reader.getMaxOrderValue(Changelog changelog) INTERNAL: Returns the maximum value of the order column for the specified changelog.INTERNAL: Returns a tuple reader for the given relation.INTERNAL: Returns the relations that the data source knows of.
-
Method Details
-
getRelations
Collection<Relation> getRelations()INTERNAL: Returns the relations that the data source knows of. The collection return contains Relation instances. -
getReader
INTERNAL: Returns a tuple reader for the given relation. -
getChangelogReader
INTERNAL: Returns a changelog reader. -
getMaxOrderValue
INTERNAL: Returns the maximum value of the order column for the specified changelog. -
close
void close()INTERNAL: Closes the data source so that it can release any open resources.
-