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

Paolo Castagna commented on JENA-63:
------------------------------------

Thanks for the feedback, please, have a look at the two new patches for ARQ and 
TDB.

DatasetAssembler now has two methods:

 - public final Object open(Assembler a, Resource root, Mode mode)
 - public Dataset createDataset(Assembler a, Resource root, Mode mode)

DataSourceAssembler has:

 - public Object open(Assembler a, Resource root, Mode mode)
 - public DataSource createDataSource(Assembler a, Resource root, Mode mode) 
 - public Object createTextIndex (Dataset ds, Resource root) 

DatasetAssemblerTDB extends DatasetAssembler and ovverrides createDataset 
instead of open.

However, I was not able to make DataSourceAssembler.open final. 
DatasetAssemblerTDB uses TDBFactory to create a Dataset, I did not find a way 
to create a DataSource with TDBFactory. Therefore open in DatasetAssembler is 
dealing with datasets while open in DataSourceAssembler is dealing with 
datasources.

> Add LARQ to TBD and Fuseki
> --------------------------
>
>                 Key: JENA-63
>                 URL: https://issues.apache.org/jira/browse/JENA-63
>             Project: Jena
>          Issue Type: Improvement
>          Components: Fuseki, LARQ, TDB
>            Reporter: Paolo Castagna
>            Assignee: Paolo Castagna
>         Attachments: JENA-63_ARQ_r8773.patch, JENA-63_TDB_r8797.patch, 
> TDB-r8763.patch
>
>
> It is possible (although not easy for users) to use LARQ with TDB and Fuseki.
> This is to make possible and easy to use LARQ with TDB datasets and with 
> Fuseki.
> One way to achieve this is to improve DatasetAssemblerTDB in TDB as suggested 
> by http://markmail.org/thread/r5phyiuqkqsyi2xc. This way, LARQ will be loaded 
> and wired into ARQ if present in the classpath. Uses will need just to add 
> the LARQ jar to their classpath (or depend on it if they use Maven).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to