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 Details

    • getRelations

      Collection<Relation> getRelations()
      INTERNAL: Returns the relations that the data source knows of. The collection return contains Relation instances.
    • getReader

      TupleReaderIF getReader(String relation)
      INTERNAL: Returns a tuple reader for the given relation.
    • getChangelogReader

      ChangelogReaderIF getChangelogReader(Changelog changelog, String startOrder)
      INTERNAL: Returns a changelog reader.
    • getMaxOrderValue

      String getMaxOrderValue(Changelog changelog)
      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.