/jena/compare/master...ajs6f:JENA-1391
ajs6f
> On Dec 17, 2017, at 8:15 PM, Adam Jacobs <jacobs_...@hotmail.com> wrote:
>
> I just want to mention that it was not my intent to derail progress on
> Jena-1391 (https://issues.apache.org/jira/browse/JENA-1391) by raising the
>
I just want to mention that it was not my intent to derail progress on
Jena-1391 (https://issues.apache.org/jira/browse/JENA-1391) by raising the
issue of immutability,
particularly if immutability would be implemented via a new API. I don't think
it should be considered a blocker to that story
own use cases and
ideas...
The two "asks" I've heard recently from Jena users are: immutability and
Streams. I'm guessing there are others. I would like to take advantage of
Optional for some of the attributes of a node (e.g. return the lang of a
literal as Optional).
Other thoughts
Yes, I think it is best done as a new API.
Modifications to the existing one are likely to run into problems
somewhere and given the number of users, and the change over time on
upgrades, having compatibility matters as does gradual migration
A complicates case: Dataset.getModel(String)
e boundary of the project. For example if Jena had a
webservice API that retrieved Models and such then it might makes sense for
the deserialized versions to be immutable.
Claude
On Tue, Nov 14, 2017 at 12:12 AM, Adam Jacobs <jacobs_...@hotmail.com>
wrote:
The subject of immutability was raised in J
bs_...@hotmail.com>
wrote:
> The subject of immutability was raised in JENA-1391 (
> https://issues.apache.org/jira/browse/JENA-1391).
>
> Specifically, the `getUnionModel` method in Jena 3.4 returns an immutable
> model view, and the implementation of the aforementioned sto
ervice API that retrieved Models and such then it might makes sense for
the deserialized versions to be immutable.
Claude
On Tue, Nov 14, 2017 at 12:12 AM, Adam Jacobs <jacobs_...@hotmail.com>
wrote:
> The subject of immutability was raised in JENA-1391 (
> https://issues.apache.org
The subject of immutability was raised in JENA-1391
(https://issues.apache.org/jira/browse/JENA-1391).
Specifically, the `getUnionModel` method in Jena 3.4 returns an immutable model
view, and the implementation of the aforementioned story includes methods that
will return an immutable dataset