[ 
https://issues.apache.org/jira/browse/JENA-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16285266#comment-16285266
 ] 

ASF GitHub Bot commented on JENA-1447:
--------------------------------------

GitHub user afs opened a pull request:

    https://github.com/apache/jena/pull/328

    JENA-1447: Special case datasets

    A collection of datasets and associated graphs and machinery, for one-graph 
view datasets, empty and sink datasets.
    
    More details on 
[JENA-1447](https://issues.apache.org/jira/browse/JENA-1447).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/afs/jena more-datasets

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/328.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #328
    
----
commit 3046d0911252dc3f73bc41ef32df9ec3a9aa8232
Author: Andy Seaborne <[email protected]>
Date:   2017-12-10T14:21:07Z

    JENA-1447: Special case datasets

----


> Special case DatasetGraphs
> --------------------------
>
>                 Key: JENA-1447
>                 URL: https://issues.apache.org/jira/browse/JENA-1447
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: Jena 3.5.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>
> Some specialized datasets:
> {{DatasetGraphOne}} - a dataset around a single which becomes the default 
> graph.  This is the converter from graphs to datasets.  A special case is 
> where the graph is GraphView from another dataset. The existing 
> {{DatasetGraphOne}} needs upgrading to map dataset transactions back to the 
> original dataset.
> {{DatasetGraphZero}} - a dataset with no named graph and an always-empty 
> default graph. Convenient to have in place of null pointers.
> {{DatasetGraphSink}} - a dataset that accepts updated but ignores them and so 
> is always empty.
> {{TransactionalNull}} - a transactional to reflect the properties of empty 
> datasets.
> In support of these: 
> {{GraphSink}}, {{GraphZero}}, {{PrefixMappingSink}}, {{PrefixMappingZero}} 
> and {{TransactionHandlerNull}}.
> The graphs do not fully comply with the full {{Graph}} contract:
> * {{GraphZero}} throws {{UnsupportedOperationException}}, not 
> {{AddDeniedException}}/{{DeleteDeniedException}} becaue (1) it is in keeping 
> with {{DatasetGraphZero}} and (2) {{AddDeniedException}} is dynamic - it make 
> be thrown in some situations and not others e.g. permissions.
> * {{GraphSink}} does not contain triples added.
> On naming:
> "DatasetGraphZero" might also be "DatasetGraphNull" but {{/dev/null}} is a 
> sink.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to