org.openrdf.sail.federation
Class Federation
java.lang.Object
org.openrdf.sail.helpers.SailBase
org.openrdf.sail.federation.Federation
- All Implemented Interfaces:
- Executor, Sail
public class Federation
- extends SailBase
- implements Executor
Union multiple (possibly remote) Repositories into a single RDF store.
- Author:
- James Leigh, Arjohn Kampman
Federation
public Federation()
getValueFactory
public ValueFactory getValueFactory()
- Specified by:
getValueFactory in interface Sail
isWritable
public boolean isWritable()
throws SailException
- Specified by:
isWritable in interface Sail
- Throws:
SailException
addMember
public void addMember(Repository member)
getLocalPropertySpace
public PrefixHashSet getLocalPropertySpace()
- Returns:
- PrefixHashSet or null
setLocalPropertySpace
public void setLocalPropertySpace(Collection<String> localPropertySpace)
isDistinct
public boolean isDistinct()
setDistinct
public void setDistinct(boolean distinct)
isReadOnly
public boolean isReadOnly()
setReadOnly
public void setReadOnly(boolean readOnly)
initialize
public void initialize()
throws SailException
- Specified by:
initialize in interface Sail
- Throws:
SailException
shutDownInternal
protected void shutDownInternal()
throws SailException
- Specified by:
shutDownInternal in class SailBase
- Throws:
SailException
execute
public void execute(Runnable command)
- Specified by:
execute in interface Executor
getConnectionInternal
protected SailConnection getConnectionInternal()
throws SailException
- Specified by:
getConnectionInternal in class SailBase
- Throws:
SailException
Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.