You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Andy Seaborne <an...@apache.org> on 2015/05/09 13:00:48 UTC

[Lazy] End of GraphStore?

JENA-926
Branch: jena926-remove-graphstore

The GraphStore abstraction does not add anything and could be got rid 
of.  Branch 'jena926-remove-graphstore' contains the changed code.

A "graph store" is a term from SPARQL Update to take a mutable view of a 
dataset (the RDF defn of a dataset is not mutable).  In the end, it had 
no other features (it looked as if it might at one time).

But in Jena, datasets are mutable so the interface GraphStore does not 
add anytging.  The start/finish request operations are not used.

Migration:

Where GraphStore appeared in the public API, similar operations on 
Dataset and DatasetGraph have been added and the GraphStore version 
removed.

GraphStore extends DatasetGraph. There is migration support because 
there is still original GraphStore interface (now with no methods) and 
GraphStoreFactory, all deprecated.

The code examples in the documentation still work, putting out 
deprecation warnings.


Because this is an API change, let's do this by lazy consensus on the 
principle of the change.

Proposal: Remove GraphStore, leaving a migration path.

Timescale: deadline of 23:59 UTC Tuesday 18/May (so it covers weekend 
and working week) to comment or at least register a "need more time".

	Andy

Re: [Lazy] End of GraphStore?

Posted by Andy Seaborne <an...@apache.org>.
Done.

Please do say if you discover any bad consequences.

     Andy

On 09/05/15 12:00, Andy Seaborne wrote:
> JENA-926
> Branch: jena926-remove-graphstore
>
> The GraphStore abstraction does not add anything and could be got rid
> of.  Branch 'jena926-remove-graphstore' contains the changed code.
>
> A "graph store" is a term from SPARQL Update to take a mutable view of a
> dataset (the RDF defn of a dataset is not mutable).  In the end, it had
> no other features (it looked as if it might at one time).
>
> But in Jena, datasets are mutable so the interface GraphStore does not
> add anytging.  The start/finish request operations are not used.
>
> Migration:
>
> Where GraphStore appeared in the public API, similar operations on
> Dataset and DatasetGraph have been added and the GraphStore version
> removed.
>
> GraphStore extends DatasetGraph. There is migration support because
> there is still original GraphStore interface (now with no methods) and
> GraphStoreFactory, all deprecated.
>
> The code examples in the documentation still work, putting out
> deprecation warnings.
>
>
> Because this is an API change, let's do this by lazy consensus on the
> principle of the change.
>
> Proposal: Remove GraphStore, leaving a migration path.
>
> Timescale: deadline of 23:59 UTC Tuesday 18/May (so it covers weekend
> and working week) to comment or at least register a "need more time".
>
>      Andy