Interface RDFEngine
- All Superinterfaces:
AutoCloseable,HasRDFLinkSource
- All Known Subinterfaces:
RDFEngineWrapper<X>
- All Known Implementing Classes:
DecoratedRDFEngine,RdfDataEngineFromDataset,RDFEngineSimple,RDFEngineWrapperBase,WrappedRDFEngine
An RDFEngine represents a running database systems.
It features an
RDFLinkSource to build connections
and a AutoCloseable.close() method to shut the system down.
The link builder can be cast to specific subclasses in order to configure it.
For example, an RDFLinkBuilder that can be cast to an RDFLinkBuilderHTTP
supports configuring the content types for each SPARQL query form.
RDFDataSource is the abstraction for a factory of readily configured links.
Multiple RDF data sources can be created over the same data engine, for example one
that retrieves SELECT queries using application/sparql-results-xml and another that uses
application/sparql-results+json.
RDF data sources can be decorated with various (client-side) transformations, such
as macro expansion, result set limit injection, paginated execution and so on.
RDFEngineDecorator.-
Method Summary
Modifier and TypeMethodDescriptionAn engine may optionally expose a way to start and stop the underlying service.Methods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface org.aksw.jenax.dataaccess.sparql.linksource.HasRDFLinkSource
getLinkSource
-
Method Details
-
getServiceControl
Optional<ServiceControl> getServiceControl()An 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.
-