Package be.ugent.rml.records
Class IteratorFormat<DocumentClass>
- java.lang.Object
-
- be.ugent.rml.records.IteratorFormat<DocumentClass>
-
- Type Parameters:
DocumentClass- : the class used to represent a format-specific document that can be reused.
- All Implemented Interfaces:
ReferenceFormulationRecordFactory
- Direct Known Subclasses:
JSONRecordFactory,XMLRecordFactory
public abstract class IteratorFormat<DocumentClass> extends Object implements ReferenceFormulationRecordFactory
This an abstract class for reference formulation-specific record factories that use iterators.
-
-
Method Detail
-
getRecords
public List<Record> getRecords(Access access, Term logicalSource, QuadStore rmlStore) throws IOException, SQLException, ClassNotFoundException
This method returns a list of records for a data source.- Specified by:
getRecordsin interfaceReferenceFormulationRecordFactory- Parameters:
access- the access from which records need to be fetched.logicalSource- the used Logical Source.rmlStore- the QuadStore with the RML rules.- Returns:
- a list of records.
- Throws:
IOExceptionSQLExceptionClassNotFoundException
-
-