Re: DatasetAccessor deprecated

2020-04-28 Thread Martynas Jusevičius
Well, close - but I think the file- and connection-specific methods like close() make it less clean than DatasetAccessor. On Tue, Apr 28, 2020 at 10:49 AM Andy Seaborne wrote: > > Because > > RDFConnection > >> which is a collection of interfaces including 2 for dataset operations > >> (read and

Re: DatasetAccessor deprecated

2020-04-28 Thread Andy Seaborne
Because RDFConnection which is a collection of interfaces including 2 for dataset operations (read and write). extends RDFDatasetAccessConnection RDFDatasetConnection Andy On 28/04/2020 09:11, Martynas Jusevičius wrote: I see that I can achieve the same with RDFConnection as with

Re: DatasetAccessor deprecated

2020-04-28 Thread Martynas Jusevičius
I see that I can achieve the same with RDFConnection as with DatasetAccessor. But conceptually I don't think this was a good idea. An RDF dataset has multiple interfaces: * Linked Data * SPARQL Protocol * Graph Store Protocol I think Jena, as a lower-level RDF API, should provide stable

Re: DatasetAccessor deprecated

2020-04-28 Thread Andy Seaborne
RDFConnection which is a collection of interfaces including 2 for dataset operations (read and write). On 27/04/2020 13:33, Martynas Jusevičius wrote: Hi, Why is DatasetAccessor marked as deprecated in the latest Jena?

DatasetAccessor deprecated

2020-04-27 Thread Martynas Jusevičius
Hi, Why is DatasetAccessor marked as deprecated in the latest Jena? https://jena.apache.org/documentation/javadoc/arq/org/apache/jena/query/DatasetAccessor.html What is meant to replace it? Martynas