be.ugent.rml.functions.AbstractSingleRecordFunctionExecutor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rmlmapper Show documentation
Show all versions of rmlmapper Show documentation
The RMLMapper executes RML rules to generate high quality Linked Data from multiple originally (semi-)structured data sources.
The newest version!
package be.ugent.rml.functions;
import be.ugent.idlab.knows.dataio.record.Record;
import java.util.HashMap;
import java.util.Map;
public abstract class AbstractSingleRecordFunctionExecutor implements SingleRecordFunctionExecutor {
protected MultipleRecordsFunctionExecutor functionExecutor;
public Object execute(Record record) throws Exception {
Map recordsMap = new HashMap<>();
recordsMap.put("_default", record);
return this.functionExecutor.execute(recordsMap);
}
@Override
public boolean needsEOFMarker() {
return functionExecutor.needsEOFMarker();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy