Package org.aksw.r2rml.jena.jdbc.impl
Class RowToNodeViaTypeManager
java.lang.Object
org.aksw.r2rml.jena.jdbc.impl.RowToNodeViaTypeManager
- All Implemented Interfaces:
NodeMapper
Generic mapper that retrieves each column's value as a
Object and then request an appropriate RDFDatatype
from Jena's TypeMapper.
The advantage of this approach is the robustness and independence of
SQL type information.
The disadvantage is the performance impact by going through the type
mapper on every invocation of map.- Author:
- Claus Stadler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
typeMapper
protected org.apache.jena.datatypes.TypeMapper typeMapper
-
-
Constructor Details
-
RowToNodeViaTypeManager
public RowToNodeViaTypeManager() -
RowToNodeViaTypeManager
public RowToNodeViaTypeManager(org.apache.jena.datatypes.TypeMapper typeMapper)
-
-
Method Details
-
map
- Specified by:
mapin interfaceNodeMapper- Throws:
SQLException
-