Constructor and Description |
---|
Federation() |
Modifier and Type | Method and Description |
---|---|
void |
addMember(Repository member) |
void |
execute(Runnable command)
Required by
Executor interface. |
SailConnection |
getConnection()
Opens a connection on the Sail which can be used to query and update data.
|
File |
getDataDir()
Gets the Sail's data directory.
|
PrefixHashSet |
getLocalPropertySpace() |
ValueFactory |
getValueFactory()
Gets a ValueFactory object that can be used to create URI-, blank node-,
literal- and statement objects.
|
void |
initialize()
Initializes the Sail.
|
boolean |
isDistinct() |
boolean |
isReadOnly() |
boolean |
isWritable()
Checks whether this Sail object is writable, i.e.
|
void |
setDataDir(File dataDir)
Sets the data directory for the Sail.
|
void |
setDistinct(boolean distinct) |
void |
setLocalPropertySpace(Collection<String> localPropertySpace) |
void |
setReadOnly(boolean readOnly) |
void |
shutDown()
Shuts down the Sail, giving it the opportunity to synchronize any stale
data.
|
public File getDataDir()
Sail
getDataDir
in interface Sail
Sail.setDataDir(File)
public void setDataDir(File dataDir)
Sail
initialized
.setDataDir
in interface Sail
public ValueFactory getValueFactory()
Sail
getValueFactory
in interface Sail
public boolean isWritable() throws SailException
Sail
isWritable
in interface Sail
SailException
public void addMember(Repository member)
public PrefixHashSet getLocalPropertySpace()
public void setLocalPropertySpace(Collection<String> localPropertySpace)
public boolean isDistinct()
public void setDistinct(boolean distinct)
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
public void initialize() throws SailException
Sail
initialize
in interface Sail
SailException
- If the Sail could not be initialized.public void shutDown() throws SailException
Sail
shutDown
in interface Sail
SailException
- If the Sail object encountered an error or unexpected situation
internally.public SailConnection getConnection() throws SailException
Sail
getConnection
in interface Sail
SailException
- If no transaction could be started, for example because the Sail
is not writable.Copyright © 2001-2016 Aduna. All Rights Reserved.