public class LuceneSpinSail extends org.eclipse.rdf4j.sail.helpers.NotifyingSailWrapper
SearchIndex feature inside SpinSail and manages the index during
statements adding/removing. Technically this sail binds SearchIndex using
.addQueryContextInitializer and wraps connection from baseSail by wrapped which modify SearchIndex.| Constructor and Description |
|---|
LuceneSpinSail() |
LuceneSpinSail(SpinSail baseSail) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAbsentParameters(Properties parameters)
Add only absent parameters from argument.
|
NotifyingSailConnection |
getConnection() |
Properties |
getParameters() |
void |
initialize() |
Statement |
mapStatement(Statement statement)
|
void |
setParameters(Properties parameters)
Replaces existing parameters.
|
addSailChangedListener, getBaseSail, removeSailChangedListener, setBaseSailgetDataDir, getDefaultIsolationLevel, getSupportedIsolationLevels, getValueFactory, isWritable, setDataDir, setFederatedServiceResolver, shutDown, verifyBaseSailSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataDir, getDefaultIsolationLevel, getSupportedIsolationLevels, getValueFactory, isWritable, setDataDir, shutDownpublic LuceneSpinSail()
public LuceneSpinSail(SpinSail baseSail)
public Properties getParameters()
public void setParameters(Properties parameters)
By default parameters field is instantiated in constructor. Using this method replaces the existing
field. If you wish only add missing parameters use addAbsentParameters(java.util.Properties).
parameters - public void addAbsentParameters(Properties parameters)
parameters - Hashtable.putIfAbsent(java.lang.Object, java.lang.Object)public void initialize()
throws SailException
initialize in interface Sailinitialize in class org.eclipse.rdf4j.sail.helpers.SailWrapperSailExceptionpublic NotifyingSailConnection getConnection() throws SailException
getConnection in interface NotifyingSailgetConnection in interface SailgetConnection in class org.eclipse.rdf4j.sail.helpers.NotifyingSailWrapperSailExceptionCopyright © 2015-2018 Eclipse Foundation. All Rights Reserved.