Package org.eclipse.rdf4j.lucene.spin
Class LuceneSpinSail
- java.lang.Object
-
- org.eclipse.rdf4j.sail.helpers.SailWrapper
-
- org.eclipse.rdf4j.sail.helpers.NotifyingSailWrapper
-
- org.eclipse.rdf4j.lucene.spin.LuceneSpinSail
-
- All Implemented Interfaces:
FederatedServiceResolverClient
,NotifyingSail
,Sail
,StackableSail
@Deprecated @Experimental public class LuceneSpinSail extends NotifyingSailWrapper
Deprecated.since 3.0. The experimental LuceneSpinSail is scheduled to be removed by the next major release.Activates support ofSearchIndex
feature insideSpinSail
and manages the index during statements adding/removing. Technically this sail bindsSearchIndex
using .addQueryContextInitializer and wraps connection from baseSail by wrapped which modify SearchIndex.- Author:
- jacek grzebyta
-
-
Constructor Summary
Constructors Constructor Description LuceneSpinSail()
Deprecated.LuceneSpinSail(SpinSail baseSail)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from class org.eclipse.rdf4j.sail.helpers.NotifyingSailWrapper
addSailChangedListener, getBaseSail, removeSailChangedListener, setBaseSail
-
Methods inherited from class org.eclipse.rdf4j.sail.helpers.SailWrapper
getDataDir, getDefaultIsolationLevel, getSupportedIsolationLevels, getValueFactory, isWritable, setDataDir, setFederatedServiceResolver, shutDown, verifyBaseSailSet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.sail.Sail
getDataDir, getDefaultIsolationLevel, getSupportedIsolationLevels, getValueFactory, init, isWritable, setDataDir, shutDown
-
-
-
-
Constructor Detail
-
LuceneSpinSail
public LuceneSpinSail()
Deprecated.
-
LuceneSpinSail
public LuceneSpinSail(SpinSail baseSail)
Deprecated.
-
-
Method Detail
-
getParameters
public Properties getParameters()
Deprecated.
-
setParameters
public void setParameters(Properties parameters)
Deprecated.Replaces existing 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:
parameters
-
-
addAbsentParameters
public void addAbsentParameters(Properties parameters)
Deprecated.Add only absent parameters from argument.- Parameters:
parameters
-- See Also:
Properties.putIfAbsent(java.lang.Object, java.lang.Object)
-
initialize
public void initialize() throws SailException
Deprecated.Description copied from interface:Sail
Initializes the Sail. Care should be taken that required initialization parameters have been set before this method is called. Please consult the specific Sail implementation for information about the relevant parameters.- Specified by:
initialize
in interfaceSail
- Overrides:
initialize
in classSailWrapper
- Throws:
SailException
-
getConnection
public NotifyingSailConnection getConnection() throws SailException
Deprecated.Description copied from interface:Sail
Opens a connection on the Sail which can be used to query and update data. Depending on how the implementation handles concurrent access, a call to this method might block when there is another open connection on this Sail.- Specified by:
getConnection
in interfaceNotifyingSail
- Specified by:
getConnection
in interfaceSail
- Overrides:
getConnection
in classNotifyingSailWrapper
- Returns:
- sail connection
- Throws:
SailException
-
-