org.openanzo.client.openrdf
Class DatasetServiceSail
java.lang.Object
org.openanzo.client.openrdf.DatasetServiceSail
- All Implemented Interfaces:
- org.openrdf.sail.Sail
public class DatasetServiceSail
- extends java.lang.Object
- implements org.openrdf.sail.Sail
Basic implementation of a Sail that is backed by a DatasetService
- Author:
- Matthew Roy ( mroy@cambridgesemantics.com )
| Fields inherited from interface org.openrdf.sail.Sail |
DATA_DIR_KEY |
|
Constructor Summary |
DatasetServiceSail(java.util.Properties properties)
Create a new DatasetServiceSail with given properties |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatasetServiceSail
public DatasetServiceSail(java.util.Properties properties)
- Create a new DatasetServiceSail with given properties
- Parameters:
properties - configuration properties
getConnection
public org.openrdf.sail.SailConnection getConnection()
throws org.openrdf.sail.SailException
- Specified by:
getConnection in interface org.openrdf.sail.Sail
- Throws:
org.openrdf.sail.SailException
getValueFactory
public org.openrdf.model.ValueFactory getValueFactory()
- Specified by:
getValueFactory in interface org.openrdf.sail.Sail
initialize
public void initialize()
- Specified by:
initialize in interface org.openrdf.sail.Sail
isWritable
public boolean isWritable()
- Specified by:
isWritable in interface org.openrdf.sail.Sail
addSailChangedListener
public void addSailChangedListener(org.openrdf.sail.SailChangedListener listener)
- Specified by:
addSailChangedListener in interface org.openrdf.sail.Sail
removeSailChangedListener
public void removeSailChangedListener(org.openrdf.sail.SailChangedListener listener)
- Specified by:
removeSailChangedListener in interface org.openrdf.sail.Sail
setParameter
public void setParameter(java.lang.String key,
java.lang.String value)
- Specified by:
setParameter in interface org.openrdf.sail.Sail
shutDown
public void shutDown()
- Specified by:
shutDown in interface org.openrdf.sail.Sail
getDataDir
public java.io.File getDataDir()
- Specified by:
getDataDir in interface org.openrdf.sail.Sail
setDataDir
public void setDataDir(java.io.File arg0)
- Specified by:
setDataDir in interface org.openrdf.sail.Sail
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.