org.openrdf.sail.federation
Class Federation
java.lang.Object
org.openrdf.sail.federation.Federation
- All Implemented Interfaces:
- Executor, Sail
public class Federation
- extends Object
- implements Sail, Executor
Union multiple (possibly remote) Repositories into a single RDF store.
- Author:
- James Leigh, Arjohn Kampman
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Federation
public Federation()
getDataDir
public File getDataDir()
- Specified by:
getDataDir in interface Sail
setDataDir
public void setDataDir(File dataDir)
- Specified by:
setDataDir in interface Sail
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
shutDown
public void shutDown()
throws SailException
- Specified by:
shutDown in interface Sail
- Throws:
SailException
execute
public void execute(Runnable command)
- Specified by:
execute in interface Executor
getConnection
public SailConnection getConnection()
throws SailException
- Specified by:
getConnection in interface Sail
- Throws:
SailException
Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.