Class ElasticsearchStoreFactory
- java.lang.Object
-
- org.eclipse.rdf4j.sail.elasticsearchstore.config.ElasticsearchStoreFactory
-
- All Implemented Interfaces:
SailFactory
public class ElasticsearchStoreFactory extends Object implements SailFactory
ASailFactory
that createsElasticsearchStore
s based on RDF configuration data.- Author:
- HÃ¥vard Mikkelsen Ottestad
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SailImplConfig
getConfig()
Sail
getSail(SailImplConfig sailImplConfig)
Returns a Sail instance that has been initialized using the supplied configuration data.String
getSailType()
Returns the Sail's type: rdf4j:ElasticsearchStore.
-
-
-
Field Detail
-
SAIL_TYPE
public static final String SAIL_TYPE
The type of repositories that are created by this factory.- See Also:
SailFactory.getSailType()
, Constant Field Values
-
-
Method Detail
-
getSailType
public String getSailType()
Returns the Sail's type: rdf4j:ElasticsearchStore.- Specified by:
getSailType
in interfaceSailFactory
-
getConfig
public SailImplConfig getConfig()
- Specified by:
getConfig
in interfaceSailFactory
-
getSail
public Sail getSail(SailImplConfig sailImplConfig) throws SailConfigException
Description copied from interface:SailFactory
Returns a Sail instance that has been initialized using the supplied configuration data.- Specified by:
getSail
in interfaceSailFactory
- Parameters:
sailImplConfig
- TODO- Returns:
- The created (but un-initialized) Sail.
- Throws:
SailConfigException
- If no Sail could be created due to invalid or incomplete configuration data.
-
-