Class SPARQLRepositoryConfig
- java.lang.Object
-
- org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig
-
- org.eclipse.rdf4j.repository.sparql.config.SPARQLRepositoryConfig
-
- All Implemented Interfaces:
RepositoryImplConfig
public class SPARQLRepositoryConfig extends AbstractRepositoryImplConfig
Configuration for a SPARQL endpoint.- Author:
- James Leigh
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMESPACEstatic org.eclipse.rdf4j.model.IRIPASS_THROUGH_ENABLEDDeprecated.useCONFIG#passThroughEnabledinstead.static org.eclipse.rdf4j.model.IRIQUERY_ENDPOINTDeprecated.useCONFIG#queryEndpointinstead.static org.eclipse.rdf4j.model.IRIUPDATE_ENDPOINTDeprecated.useCONFIG#updateEndpointinstead.
-
Constructor Summary
Constructors Constructor Description SPARQLRepositoryConfig()SPARQLRepositoryConfig(String queryEndpointUrl)SPARQLRepositoryConfig(String queryEndpointUrl, String updateEndpointUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.rdf4j.model.Resourceexport(org.eclipse.rdf4j.model.Model m)BooleangetPassThroughEnabled()StringgetQueryEndpointUrl()StringgetUpdateEndpointUrl()voidparse(org.eclipse.rdf4j.model.Model m, org.eclipse.rdf4j.model.Resource implNode)voidsetPassThroughEnabled(Boolean passThroughEnabled)voidsetQueryEndpointUrl(String url)voidsetUpdateEndpointUrl(String url)voidvalidate()-
Methods inherited from class org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig
create, getType, setType
-
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
QUERY_ENDPOINT
public static final org.eclipse.rdf4j.model.IRI QUERY_ENDPOINT
Deprecated.useCONFIG#queryEndpointinstead.Configuration setting for the SPARQL query endpoint. Required.
-
UPDATE_ENDPOINT
public static final org.eclipse.rdf4j.model.IRI UPDATE_ENDPOINT
Deprecated.useCONFIG#updateEndpointinstead.Configuration setting for the SPARQL update endpoint. Optional.
-
PASS_THROUGH_ENABLED
public static final org.eclipse.rdf4j.model.IRI PASS_THROUGH_ENABLED
Deprecated.useCONFIG#passThroughEnabledinstead.Configuration setting for enabling/disabling direct result pass-through. Optional.
-
-
Method Detail
-
getQueryEndpointUrl
public String getQueryEndpointUrl()
-
setQueryEndpointUrl
public void setQueryEndpointUrl(String url)
-
getUpdateEndpointUrl
public String getUpdateEndpointUrl()
-
setUpdateEndpointUrl
public void setUpdateEndpointUrl(String url)
-
validate
public void validate() throws RepositoryConfigException- Specified by:
validatein interfaceRepositoryImplConfig- Overrides:
validatein classAbstractRepositoryImplConfig- Throws:
RepositoryConfigException
-
export
public org.eclipse.rdf4j.model.Resource export(org.eclipse.rdf4j.model.Model m)
- Specified by:
exportin interfaceRepositoryImplConfig- Overrides:
exportin classAbstractRepositoryImplConfig
-
parse
public void parse(org.eclipse.rdf4j.model.Model m, org.eclipse.rdf4j.model.Resource implNode) throws RepositoryConfigException- Specified by:
parsein interfaceRepositoryImplConfig- Overrides:
parsein classAbstractRepositoryImplConfig- Throws:
RepositoryConfigException
-
getPassThroughEnabled
public Boolean getPassThroughEnabled()
- Returns:
- the passThroughEnabled
-
setPassThroughEnabled
public void setPassThroughEnabled(Boolean passThroughEnabled)
- Parameters:
passThroughEnabled- the passThroughEnabled to set
-
-