Class FederationConfig
- java.lang.Object
-
- org.eclipse.rdf4j.sail.config.AbstractSailImplConfig
-
- org.eclipse.rdf4j.sail.federation.config.FederationConfig
-
- All Implemented Interfaces:
SailImplConfig
@Deprecated public class FederationConfig extends AbstractSailImplConfig
Deprecated.since 3.1.0. This module will be replaced by the new FedX federation module.Lists the members of a federation and which properties describe a resource subject in a unique member.- Author:
- James Leigh
-
-
Field Summary
Fields Modifier and Type Field Description static IRIDISTINCTDeprecated.If no two members contain the same statement.static IRILOCALPROPERTYSPACEDeprecated.For all triples with a predicate in this space, the container RDF store contains all triples with that subject and any predicate in this space.static IRIMEMBERDeprecated.static StringNAMESPACEDeprecated.http://www.openrdf.org/config/sail/federation#static IRIREAD_ONLYDeprecated.If the federation should not try and add statements to its members.
-
Constructor Summary
Constructors Constructor Description FederationConfig()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddLocalPropertySpace(String localPropertySpace)Deprecated.voidaddMember(RepositoryImplConfig member)Deprecated.Resourceexport(Model model)Deprecated.Set<String>getLocalPropertySpace()Deprecated.List<RepositoryImplConfig>getMembers()Deprecated.booleanisDistinct()Deprecated.booleanisReadOnly()Deprecated.voidparse(Model graph, Resource implNode)Deprecated.voidsetDistinct(boolean disjoint)Deprecated.voidsetMembers(List<RepositoryImplConfig> members)Deprecated.voidsetReadOnly(boolean readOnly)Deprecated.voidvalidate()Deprecated.Validates this configuration.-
Methods inherited from class org.eclipse.rdf4j.sail.config.AbstractSailImplConfig
getConnectionTimeOut, getIterationCacheSyncThreshold, getType, setConnectionTimeOut, setIterationCacheSyncThreshold, setType
-
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
Deprecated.http://www.openrdf.org/config/sail/federation#- See Also:
- Constant Field Values
-
MEMBER
public static final IRI MEMBER
Deprecated.
-
LOCALPROPERTYSPACE
public static final IRI LOCALPROPERTYSPACE
Deprecated.For all triples with a predicate in this space, the container RDF store contains all triples with that subject and any predicate in this space.
-
DISTINCT
public static final IRI DISTINCT
Deprecated.If no two members contain the same statement.
-
READ_ONLY
public static final IRI READ_ONLY
Deprecated.If the federation should not try and add statements to its members.
-
-
Method Detail
-
getMembers
public List<RepositoryImplConfig> getMembers()
Deprecated.
-
setMembers
public void setMembers(List<RepositoryImplConfig> members)
Deprecated.
-
addMember
public void addMember(RepositoryImplConfig member)
Deprecated.
-
addLocalPropertySpace
public void addLocalPropertySpace(String localPropertySpace)
Deprecated.
-
isDistinct
public boolean isDistinct()
Deprecated.
-
setDistinct
public void setDistinct(boolean disjoint)
Deprecated.
-
isReadOnly
public boolean isReadOnly()
Deprecated.
-
setReadOnly
public void setReadOnly(boolean readOnly)
Deprecated.
-
export
public Resource export(Model model)
Deprecated.- Specified by:
exportin interfaceSailImplConfig- Overrides:
exportin classAbstractSailImplConfig
-
parse
public void parse(Model graph, Resource implNode) throws SailConfigException
Deprecated.- Specified by:
parsein interfaceSailImplConfig- Overrides:
parsein classAbstractSailImplConfig- Throws:
SailConfigException
-
validate
public void validate() throws SailConfigExceptionDeprecated.Description copied from interface:SailImplConfigValidates this configuration. ASailConfigExceptionis thrown when the configuration is invalid. The exception should contain an error message that indicates why the configuration is invalid.- Specified by:
validatein interfaceSailImplConfig- Overrides:
validatein classAbstractSailImplConfig- Throws:
SailConfigException- If the configuration is invalid.
-
-