Class DecoratedRDFEngine<X extends RDFEngine>
java.lang.Object
org.aksw.jenax.dataaccess.sparql.factory.dataengine.DecoratedRDFEngine<X>
- All Implemented Interfaces:
AutoCloseable,RDFEngine,HasRDFLinkSource
A wrapper for a base RDF engine with an immutable set of decorators
that are applied to link builders and links.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDecoratedRDFEngine(X baseEngine, RDFLinkSource effectiveLinkSource, Deque<Closeable> closeActions) -
Method Summary
-
Field Details
-
baseEngine
-
effectiveLinkSource
-
closeActions
-
-
Constructor Details
-
DecoratedRDFEngine
public DecoratedRDFEngine(X baseEngine, RDFLinkSource effectiveLinkSource, Deque<Closeable> closeActions)
-
-
Method Details
-
getBaseEngine
Get the base engine. Never null. -
getServiceControl
Description copied from interface:RDFEngineAn engine may optionally expose a way to start and stop the underlying service. Note that only a call toAutoCloseable.close()must guarantee to stop the service and free any resources. Only callingServiceControl.stop()is generally NOT sufficient.- Specified by:
getServiceControlin interfaceRDFEngine
-
getLinkSource
- Specified by:
getLinkSourcein interfaceHasRDFLinkSource
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
toString
-