public class RowToNodeViaTypeManager extends Object implements NodeMapper
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.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.jena.datatypes.TypeMapper |
typeMapper |
| Constructor and Description |
|---|
RowToNodeViaTypeManager() |
RowToNodeViaTypeManager(org.apache.jena.datatypes.TypeMapper typeMapper) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.graph.Node |
map(ResultSet resultSet,
int columnIdx) |
public RowToNodeViaTypeManager()
public RowToNodeViaTypeManager(org.apache.jena.datatypes.TypeMapper typeMapper)
public org.apache.jena.graph.Node map(ResultSet resultSet, int columnIdx) throws SQLException
map in interface NodeMapperSQLExceptionCopyright © 2021. All rights reserved.