public class ElasticsearchSailFactory extends Object implements SailFactory
SailFactory
that creates LuceneSail
s based on RDF configuration data.Modifier and Type | Field and Description |
---|---|
static String |
SAIL_TYPE
The type of repositories that are created by this factory.
|
Constructor and Description |
---|
ElasticsearchSailFactory() |
Modifier and Type | Method and Description |
---|---|
SailImplConfig |
getConfig() |
Sail |
getSail(SailImplConfig config)
Returns a Sail instance that has been initialized using the supplied configuration data.
|
String |
getSailType()
Returns the Sail's type: openrdf:LuceneSail/Elasticsearch.
|
public static final String SAIL_TYPE
SailFactory.getSailType()
,
Constant Field Valuespublic String getSailType()
getSailType
in interface SailFactory
public SailImplConfig getConfig()
getConfig
in interface SailFactory
public Sail getSail(SailImplConfig config) throws SailConfigException
SailFactory
getSail
in interface SailFactory
config
- TODOSailConfigException
- If no Sail could be created due to invalid or incomplete configuration data.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.