Package guru.interlis.convconf.runtime
Interface RecordSourceReader
- All Known Subinterfaces:
FileSourceReader
- All Known Implementing Classes:
CsvDirectoryAdapter,H2Adapter,JdbcRecordAdapter,PostgreSqlAdapter,XlsxWorkbookAdapter
public interface RecordSourceReader
Abstraction for reading raw records from a source backend.
Implementations are free to map sourceName to a table name, CSV file,
worksheet name, API endpoint, etc.
-
Method Summary
-
Method Details
-
read
Reads rows from a backend object with an equality filter.- Parameters:
sourceName- backend-specific source object nameequalsFilter- key/value equality filter (column -> required value)- Returns:
- list of rows as column/value maps
- Throws:
Exception- on backend access failures
-