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
-
Method Summary
Modifier and TypeMethodDescriptionExport thisRepositoryImplConfig
to its RDF representationIRI[]
Deprecated.IRI[]
Deprecated.int
IRI[]
IRI[]
boolean
void
Reads the properties of thisRepositoryImplConfig
from the supplied Model and sets them accordingly.void
setAddContexts
(IRI... addContexts) Deprecated.void
setArchiveContexts
(IRI... archiveContexts) Deprecated.void
setBaseURI
(String baseURI) void
setIncludeInferred
(boolean includeInferred) void
setInsertContext
(IRI insertContext) void
setMaxQueryTime
(int maxQueryTime) void
void
setReadContexts
(IRI... readContexts) void
setRemoveContexts
(IRI... removeContexts) Methods inherited from class org.eclipse.rdf4j.repository.config.AbstractDelegatingRepositoryImplConfig
getDelegate, setDelegate, validate
Methods inherited from class org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig
create, getType, setType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:RepositoryImplConfig
Export thisRepositoryImplConfig
to its RDF representation- Specified by:
export
in interfaceRepositoryImplConfig
- Overrides:
export
in classAbstractDelegatingRepositoryImplConfig
- Parameters:
model
- aModel
object. After successful completion of this method this Model will contain the RDF representation of thisRepositoryImplConfig
.- Returns:
- the subject
Resource
that identifies thisRepositoryImplConfig
in the Model.
-
parse
Description copied from interface:RepositoryImplConfig
Reads the properties of thisRepositoryImplConfig
from the supplied Model and sets them accordingly.- Specified by:
parse
in interfaceRepositoryImplConfig
- Overrides:
parse
in classAbstractDelegatingRepositoryImplConfig
- Parameters:
model
- aModel
containing repository configuration data.resource
- the subjectResource
that identifies theRepositoryImplConfig
in the Model.- Throws:
RepositoryConfigException
- if the configuration data could not be read from the supplied Model.
-