public class FederationConfig extends AbstractSailImplConfig
Modifier and Type | Field and Description |
---|---|
static IRI |
DISTINCT
If no two members contain the same statement.
|
static IRI |
LOCALPROPERTYSPACE
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 IRI |
MEMBER |
static String |
NAMESPACE
http://www.openrdf.org/config/sail/federation#
|
static IRI |
READ_ONLY
If the federation should not try and add statements to its members.
|
Constructor and Description |
---|
FederationConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addLocalPropertySpace(String localPropertySpace) |
void |
addMember(RepositoryImplConfig member) |
Resource |
export(Model model) |
Set<String> |
getLocalPropertySpace() |
List<RepositoryImplConfig> |
getMembers() |
boolean |
isDistinct() |
boolean |
isReadOnly() |
void |
parse(Model graph,
Resource implNode) |
void |
setDistinct(boolean disjoint) |
void |
setMembers(List<RepositoryImplConfig> members) |
void |
setReadOnly(boolean readOnly) |
void |
validate()
Validates this configuration.
|
getConnectionTimeOut, getIterationCacheSyncThreshold, getType, setConnectionTimeOut, setIterationCacheSyncThreshold, setType
public static final String NAMESPACE
public static final IRI MEMBER
public static final IRI LOCALPROPERTYSPACE
public static final IRI DISTINCT
public static final IRI READ_ONLY
public List<RepositoryImplConfig> getMembers()
public void setMembers(List<RepositoryImplConfig> members)
public void addMember(RepositoryImplConfig member)
public void addLocalPropertySpace(String localPropertySpace)
public boolean isDistinct()
public void setDistinct(boolean disjoint)
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
public Resource export(Model model)
export
in interface SailImplConfig
export
in class AbstractSailImplConfig
public void parse(Model graph, Resource implNode) throws SailConfigException
parse
in interface SailImplConfig
parse
in class AbstractSailImplConfig
SailConfigException
public void validate() throws SailConfigException
SailImplConfig
SailConfigException
is thrown when the configuration is invalid. The
exception should contain an error message that indicates why the configuration is invalid.validate
in interface SailImplConfig
validate
in class AbstractSailImplConfig
SailConfigException
- If the configuration is invalid.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.