info.aduna.infosource.crawl.index
Class LuceneSail

java.lang.Object
  extended by org.openrdf.sail.helpers.SailWrapper
      extended by info.aduna.infosource.crawl.index.LuceneSail
All Implemented Interfaces:
org.openrdf.sail.Sail, org.openrdf.sail.StackableSail

public class LuceneSail
extends org.openrdf.sail.helpers.SailWrapper

A Sail implementation that resolves specific statement patterns using a Lucene index and other patterns using a wrapped Sail. This implementation does not provide any functionality for updating the Lucene index, it is assumed that this is done by other components.


Constructor Summary
LuceneSail()
           
 
Method Summary
 org.openrdf.sail.SailConnection getConnection()
           
 LuceneIndex getLuceneIndex()
           
 void setLuceneIndex(LuceneIndex luceneIndex)
           
 
Methods inherited from class org.openrdf.sail.helpers.SailWrapper
addSailChangedListener, getBaseSail, getDataDir, getValueFactory, initialize, isWritable, removeSailChangedListener, setBaseSail, setDataDir, shutDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSail

public LuceneSail()
Method Detail

setLuceneIndex

public void setLuceneIndex(LuceneIndex luceneIndex)

getLuceneIndex

public LuceneIndex getLuceneIndex()

getConnection

public org.openrdf.sail.SailConnection getConnection()
                                              throws org.openrdf.sail.SailException
Specified by:
getConnection in interface org.openrdf.sail.Sail
Overrides:
getConnection in class org.openrdf.sail.helpers.SailWrapper
Throws:
org.openrdf.sail.SailException


Copyright © 1997-2008 Aduna. All Rights Reserved.