From 7a6be9aa1b56627ccd33e768305c54cc5128f617 Mon Sep 17 00:00:00 2001 From: bergi Date: Thu, 10 Jan 2019 22:20:16 +0100 Subject: [PATCH 1/3] added DatasetCoreFactory --- dataset-spec.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/dataset-spec.html b/dataset-spec.html index 81c8f27..540d80f 100644 --- a/dataset-spec.html +++ b/dataset-spec.html @@ -118,6 +118,24 @@

Methods

Note: Datasets represent Sets of Quads, the order is arbitrary, so this method may result in differing results when called repeatedly.

+
+

DatasetCoreFactory interface

+ +
+    interface DatasetCoreFactory : DataFactory {
+      DatasetCore dataset (optional sequence<Quad> quads);
+    };
+    
+ +

+ dataset +

+

+ DatasetCoreFactory extends the DataFactory interface by a dataset method to create instances of DatasetCore. +

+

Returns a new dataset and imports all quads, if given.

+
+

Dataset interface

From 70d5e8ab9754fab17479788fb9dc0c4b81ddcdd6 Mon Sep 17 00:00:00 2001 From: bergi Date: Mon, 21 Jan 2019 15:06:04 +0100 Subject: [PATCH 2/3] don't extend from DataFactory --- dataset-spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataset-spec.html b/dataset-spec.html index 540d80f..7784642 100644 --- a/dataset-spec.html +++ b/dataset-spec.html @@ -122,7 +122,7 @@

Methods

DatasetCoreFactory interface

-    interface DatasetCoreFactory : DataFactory {
+    interface DatasetCoreFactory {
       DatasetCore dataset (optional sequence<Quad> quads);
     };
     
From 504b653926da34784e06287478622dcfc9593e45 Mon Sep 17 00:00:00 2001 From: bergi Date: Mon, 21 Jan 2019 15:09:57 +0100 Subject: [PATCH 3/3] fixed DatasetCoreFactory description --- dataset-spec.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dataset-spec.html b/dataset-spec.html index 7784642..f38e92c 100644 --- a/dataset-spec.html +++ b/dataset-spec.html @@ -128,10 +128,11 @@

DatasetCoreFactory interface

- dataset + DatasetCoreFactory provides a dataset method to create instances of DatasetCore.

+

- DatasetCoreFactory extends the DataFactory interface by a dataset method to create instances of DatasetCore. + dataset

Returns a new dataset and imports all quads, if given.