Stian Soiland-Reyes created COMMONSRDF-48:
---------------------------------------------
Summary: Add RDF4JNativeStore factory?
Key: COMMONSRDF-48
URL: https://issues.apache.org/jira/browse/COMMONSRDF-48
Project: Apache Commons RDF
Issue Type: New Feature
Components: rdf4j
Affects Versions: 0.3.0
Reporter: Stian Soiland-Reyes
Raised by [~p_ansell] in [pull request
25](https://github.com/apache/incubator-commonsrdf/pull/25#discussion_r85234768)
about `NativeStore` implementation of `RDF`:
{quote}
Why is this defined as an inner class and not a reusable implementation?
{quote}
Stian:
{quote}
The functionality is also there in {{RDF4J}} using {{asGraph}}. Perhaps a
richer {{NativeStore}} factory could be made that hides the {{ValueFactory}}
plumbing and can be created with a folder {{Path}}?
Unclear if such a factory would then reuse the same connection for each
{{createGraph()}} and not support {{createDataset()}} (more than once), or if
it would just always return the same populated Dataset. Or should each call
would make a new connection in a new subfolder..?
{quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)