net.fortytwo.sesametools.mappingsail
Class MappingSail
java.lang.Object
org.openrdf.sail.helpers.SailWrapper
net.fortytwo.sesametools.mappingsail.MappingSail
- All Implemented Interfaces:
- org.openrdf.sail.Sail, org.openrdf.sail.StackableSail
public class MappingSail
- extends org.openrdf.sail.helpers.SailWrapper
A Sail which maps between the internal URI space of a lower-level data store, and an externally visible URI space
(for example, published Linked Data).
- Author:
- Joshua Shinavier (http://fortytwo.net)
| Methods inherited from class org.openrdf.sail.helpers.SailWrapper |
getBaseSail, getDataDir, getValueFactory, initialize, setBaseSail, setDataDir, shutDown, verifyBaseSailSet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappingSail
public MappingSail(org.openrdf.sail.Sail baseSail,
MappingSchema schema)
- Parameters:
baseSail - the internal data storeschema - a set of rules for URI rewriting
getConnection
public org.openrdf.sail.SailConnection getConnection()
throws org.openrdf.sail.SailException
- Specified by:
getConnection in interface org.openrdf.sail.Sail- Overrides:
getConnection in class org.openrdf.sail.helpers.SailWrapper
- Throws:
org.openrdf.sail.SailException
isWritable
public boolean isWritable()
throws org.openrdf.sail.SailException
- Specified by:
isWritable in interface org.openrdf.sail.Sail- Overrides:
isWritable in class org.openrdf.sail.helpers.SailWrapper
- Throws:
org.openrdf.sail.SailException
Copyright © 2013. All Rights Reserved.