Class NativeStoreProvider
java.lang.Object
org.eclipse.rdf4j.federated.endpoint.provider.NativeStoreProvider
- All Implemented Interfaces:
EndpointProvider<NativeRepositoryInformation>
public class NativeStoreProvider
extends Object
implements EndpointProvider<NativeRepositoryInformation>
Provider for an Endpoint that uses a RDF4J
NativeStore
as underlying repository. For optimization purposes
the SailSourceEvaluationStrategyFactory
is used to allow for evaluation of prepared queries without prior
optimization. Note that NativeStores are always classified as 'Local'.
If the repository location denotes an absolute path, the native store directory must already exist. If a relative path is used, the repository is created on the fly (if necessary).
- Author:
- Andreas Schwarte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected NativeStore
createNativeStore
(File store) Create aNativeStore
and apply theSailSourceEvaluationStrategyFactory
.loadEndpoint
(NativeRepositoryInformation repoInfo)
-
Constructor Details
-
NativeStoreProvider
-
-
Method Details
-
loadEndpoint
- Specified by:
loadEndpoint
in interfaceEndpointProvider<NativeRepositoryInformation>
- Throws:
FedXException
-
createNativeStore
Create aNativeStore
and apply theSailSourceEvaluationStrategyFactory
.- Parameters:
store
-- Returns:
- the store
-