net.fortytwo.sesametools.mappingsail
Class MappingSail

java.lang.Object
  extended by org.openrdf.sail.helpers.SailWrapper
      extended by 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)

Constructor Summary
MappingSail(org.openrdf.sail.Sail baseSail, MappingSchema schema)
           
 
Method Summary
 org.openrdf.sail.SailConnection getConnection()
           
 boolean isWritable()
           
 
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
 

Constructor Detail

MappingSail

public MappingSail(org.openrdf.sail.Sail baseSail,
                   MappingSchema schema)
Parameters:
baseSail - the internal data store
schema - a set of rules for URI rewriting
Method Detail

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.