@Deprecated @Experimental public class LuceneSpinSail extends 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()
Deprecated.
|
LuceneSpinSail(SpinSail baseSail)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addAbsentParameters(Properties parameters)
Deprecated.
Add only absent parameters from argument.
|
NotifyingSailConnection |
getConnection()
Deprecated.
Opens a connection on the Sail which can be used to query and update data.
|
Properties |
getParameters()
Deprecated.
|
void |
initialize()
Deprecated.
Initializes the Sail.
|
Statement |
mapStatement(Statement statement)
Deprecated.
|
void |
setParameters(Properties parameters)
Deprecated.
Replaces existing parameters.
|
addSailChangedListener, getBaseSail, removeSailChangedListener, setBaseSail
getDataDir, getDefaultIsolationLevel, getSupportedIsolationLevels, getValueFactory, isWritable, setDataDir, setFederatedServiceResolver, shutDown, verifyBaseSailSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataDir, getDefaultIsolationLevel, getSupportedIsolationLevels, getValueFactory, init, isWritable, setDataDir, shutDown
public 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
Sail
initialize
in interface Sail
initialize
in class SailWrapper
SailException
public NotifyingSailConnection getConnection() throws SailException
Sail
getConnection
in interface NotifyingSail
getConnection
in interface Sail
getConnection
in class NotifyingSailWrapper
SailException
- If no transaction could be started, for example because the Sail is not writable.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.