Class RowToNodeViaTypeManager

java.lang.Object
org.aksw.r2rml.jena.jdbc.impl.RowToNodeViaTypeManager
All Implemented Interfaces:
NodeMapper

public class RowToNodeViaTypeManager extends Object implements 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 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