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

Paolo Castagna edited comment on JENA-63 at 5/10/11 5:23 PM:
-------------------------------------------------------------

This is to fall back to LARQ included in ARQ if the new LARQ (as separate 
module) is not in the classpath:

     public Object createTextIndex (Dataset ds, Resource root)  {
          Object result = createTextIndex (ds, root, 
"org.apache.jena.larq.assembler.AssemblerLARQ") ;
          if ( result == null ) result = createTextIndex (ds, root, 
"com.hp.hpl.jena.query.larq.AssemblerLARQ") ;
          return result ;
     }

At one point there was an AssemblerLARQ in src-dev, I needed to put back in 
something similar in the com.hp.hpl.jena.query.larq package. Is that ok?

For the testing, I did not find where the DatasetAssembler in ARQ is tested.

There is TestTDBAssembler in TDB, maybe I can add a few tests there. What do 
you think?

      was (Author: castagna):
    This is to fall back to LARQ included in ARQ if the new LARQ (as separate 
module) is not in the classpath:

     public Object createTextIndex (Dataset ds, Resource root)  {
        Object result = createTextIndex (ds, root, 
"org.apache.jena.larq.assembler.AssemblerLARQ") ;
        if ( result == null ) result = createTextIndex (ds, root, 
"com.hp.hpl.jena.query.larq.AssemblerLARQ") ;
        return result ;
     }

At one point there was an AssemblerLARQ in src-dev, I needed to put back in 
something similar in the com.hp.hpl.jena.query.larq package. Is that ok?

For the testing, I did not find where the DatasetAssembler in ARQ is tested.

There is TestTDBAssembler in TDB, maybe I can add a few tests there. What do 
you think?
  
> 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_ARQ_r8814.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