Class NativeStoreFactory
java.lang.Object
org.eclipse.rdf4j.sail.nativerdf.config.NativeStoreFactory
- All Implemented Interfaces:
SailFactory
A
SailFactory
that creates NativeStore
s based on RDF configuration data.- Author:
- Arjohn Kampman
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSail(SailImplConfig config)
Returns a Sail instance that has been initialized using the supplied configuration data.Returns the Sail's type: openrdf:NativeStore.
-
Field Details
-
SAIL_TYPE
The type of repositories that are created by this factory.- See Also:
SailFactory.getSailType()
, Constant Field Values
-
-
Constructor Details
-
NativeStoreFactory
public NativeStoreFactory()
-
-
Method Details
-
getSailType
Returns the Sail's type: openrdf:NativeStore.- Specified by:
getSailType
in interfaceSailFactory
-
getConfig
- Specified by:
getConfig
in interfaceSailFactory
-
getSail
Description copied from interface:SailFactory
Returns a Sail instance that has been initialized using the supplied configuration data.- Specified by:
getSail
in interfaceSailFactory
- Parameters:
config
- TODO- Returns:
- The created (but un-initialized) Sail.
- Throws:
SailConfigException
- If no Sail could be created due to invalid or incomplete configuration data.
-