public class SpinSail extends AbstractForwardChainingInferencer
Constructor and Description |
---|
SpinSail() |
SpinSail(NotifyingSail baseSail) |
getDefaultIsolationLevel, getSupportedIsolationLevels
addSailChangedListener, getBaseSail, removeSailChangedListener
getDataDir, getValueFactory, isWritable, setDataDir, shutDown, verifyBaseSailSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataDir, getValueFactory, init, isWritable, setDataDir, shutDown
public SpinSail()
public SpinSail(NotifyingSail baseSail)
public void setBaseSail(Sail baseSail)
StackableSail
setBaseSail
in interface StackableSail
setBaseSail
in class NotifyingSailWrapper
public FunctionRegistry getFunctionRegistry()
public void setFunctionRegistry(FunctionRegistry registry)
public TupleFunctionRegistry getTupleFunctionRegistry()
public void setTupleFunctionRegistry(TupleFunctionRegistry registry)
public FederatedServiceResolver getFederatedServiceResolver()
public void setFederatedServiceResolver(FederatedServiceResolver resolver)
FederatedServiceResolverClient
FederatedServiceResolver
to use for this client.setFederatedServiceResolver
in interface FederatedServiceResolverClient
setFederatedServiceResolver
in class SailWrapper
resolver
- The resolver to use.public void setEvaluationMode(TupleFunctionEvaluationMode mode)
public TupleFunctionEvaluationMode getEvaluationMode()
public void setAxiomClosureNeeded(boolean axiomClosureNeeded)
public boolean isAxiomClosureNeeded()
false
if the underlying Sail stack already supports RDFS inferencing, true
if not.true
if the SpinSail needs to load the full axiom closure, false
otherwise.public void addQueryContextInitializer(QueryContextInitializer initializer)
protected List<QueryContextInitializer> getQueryContextInitializers()
public SpinParser getSpinParser()
public void setSpinParser(SpinParser parser)
public org.eclipse.rdf4j.sail.spin.SpinSailConnection 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.public void initialize() throws SailException
Sail
initialize
in interface Sail
initialize
in class SailWrapper
SailException
- If the Sail could not be initialized.Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.