Class ContextAwareConfig
java.lang.Object
org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig
org.eclipse.rdf4j.repository.config.AbstractDelegatingRepositoryImplConfig
org.eclipse.rdf4j.repository.contextaware.config.ContextAwareConfig
- All Implemented Interfaces:
DelegatingRepositoryImplConfig,RepositoryImplConfig
- Author:
- James Leigh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExport thisRepositoryImplConfigto its RDF representationIRI[]Deprecated.IRI[]Deprecated.intIRI[]IRI[]booleanvoidReads the properties of thisRepositoryImplConfigfrom the supplied Model and sets them accordingly.voidsetAddContexts(IRI... addContexts) Deprecated.voidsetArchiveContexts(IRI... archiveContexts) Deprecated.voidsetBaseURI(String baseURI) voidsetIncludeInferred(boolean includeInferred) voidsetInsertContext(IRI insertContext) voidsetMaxQueryTime(int maxQueryTime) voidvoidsetReadContexts(IRI... readContexts) voidsetRemoveContexts(IRI... removeContexts) Methods inherited from class org.eclipse.rdf4j.repository.config.AbstractDelegatingRepositoryImplConfig
getDelegate, setDelegate, validateMethods inherited from class org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig
create, getType, setTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.rdf4j.repository.config.RepositoryImplConfig
getType
-
Constructor Details
-
ContextAwareConfig
public ContextAwareConfig()
-
-
Method Details
-
getMaxQueryTime
public int getMaxQueryTime() -
setMaxQueryTime
public void setMaxQueryTime(int maxQueryTime) -
getAddContexts
Deprecated.- See Also:
-
getArchiveContexts
Deprecated. -
getInsertContext
-
getQueryLanguage
-
getBaseURI
- Returns:
- Returns the default baseURI.
-
getReadContexts
- See Also:
-
getRemoveContexts
-
isIncludeInferred
public boolean isIncludeInferred() -
setAddContexts
Deprecated. -
setArchiveContexts
Deprecated. -
setInsertContext
-
setIncludeInferred
public void setIncludeInferred(boolean includeInferred) -
setQueryLanguage
-
setBaseURI
- Parameters:
baseURI- The default baseURI to set.
-
setReadContexts
-
setRemoveContexts
-
export
Description copied from interface:RepositoryImplConfigExport thisRepositoryImplConfigto its RDF representation- Specified by:
exportin interfaceRepositoryImplConfig- Overrides:
exportin classAbstractDelegatingRepositoryImplConfig- Parameters:
model- aModelobject. After successful completion of this method this Model will contain the RDF representation of thisRepositoryImplConfig.- Returns:
- the subject
Resourcethat identifies thisRepositoryImplConfigin the Model.
-
parse
Description copied from interface:RepositoryImplConfigReads the properties of thisRepositoryImplConfigfrom the supplied Model and sets them accordingly.- Specified by:
parsein interfaceRepositoryImplConfig- Overrides:
parsein classAbstractDelegatingRepositoryImplConfig- Parameters:
model- aModelcontaining repository configuration data.resource- the subjectResourcethat identifies theRepositoryImplConfigin the Model.- Throws:
RepositoryConfigException- if the configuration data could not be read from the supplied Model.
-