public class FederationConfig extends SailImplConfigBase
Modifier and Type | Field and Description |
---|---|
static URI |
DISTINCT
If no two members contain the same statement.
|
static URI |
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 URI |
MEMBER |
static String |
NAMESPACE
http://www.openrdf.org/config/sail/federation#
|
static URI |
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(Graph model) |
Set<String> |
getLocalPropertySpace() |
List<RepositoryImplConfig> |
getMembers() |
boolean |
isDistinct() |
boolean |
isReadOnly() |
void |
parse(Graph graph,
Resource implNode) |
void |
setDistinct(boolean disjoint) |
void |
setMembers(List<RepositoryImplConfig> members) |
void |
setReadOnly(boolean readOnly) |
void |
validate()
Validates this configuration.
|
getIterationCacheSyncThreshold, getType, setIterationCacheSyncThreshold, setType
public static final String NAMESPACE
public static final URI MEMBER
public static final URI LOCALPROPERTYSPACE
public static final URI DISTINCT
public static final URI 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(Graph model)
export
in interface SailImplConfig
export
in class SailImplConfigBase
public void parse(Graph graph, Resource implNode) throws SailConfigException
parse
in interface SailImplConfig
parse
in class SailImplConfigBase
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 SailImplConfigBase
SailConfigException
- If the configuration is invalid.Copyright © 2001-2016 Aduna. All Rights Reserved.