|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.graph.impl.GraphBase
de.fuberlin.wiwiss.d2rq.GraphD2RQ
public class GraphD2RQ
A D2RQ virtual read-only graph backed by a non-RDF database. D2RQ is a declarative mapping language for describing mappings between ontologies and relational data models. More information about D2RQ is found at: http://www.wiwiss.fu-berlin.de/suhl/bizer/d2rq/
Field Summary |
---|
Fields inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
---|
bulkHandler, closed, gem, pm, queryHandler, reifier, style |
Fields inherited from interface com.hp.hpl.jena.graph.Graph |
---|
emptyGraph |
Constructor Summary | |
---|---|
GraphD2RQ(Mapping mapping)
Creates a new D2RQ graph from a previously prepared Mapping instance. |
|
GraphD2RQ(com.hp.hpl.jena.rdf.model.Model mapModel,
String baseURIForData)
Creates a new D2RQ graph from a Jena model containing a D2RQ mapping. |
Method Summary | |
---|---|
com.hp.hpl.jena.rdf.model.Model |
classMapInventory(String classMapName)
|
Collection |
classMapNames()
|
Collection |
classMapNamesForResource(com.hp.hpl.jena.graph.Node resource)
|
void |
close()
|
void |
connect()
Connects all databases. |
com.hp.hpl.jena.graph.Capabilities |
getCapabilities()
|
com.hp.hpl.jena.util.iterator.ExtendedIterator |
graphBaseFind(com.hp.hpl.jena.graph.TripleMatch m)
|
void |
initInventory(String inventoryBaseURI)
|
static boolean |
isUsingD2RQQueryHandler()
|
com.hp.hpl.jena.graph.query.QueryHandler |
queryHandler()
Returns a QueryHandler for this graph. |
static void |
setUsingD2RQQueryHandler(boolean usingD2RQQueryHandler)
|
Methods inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
---|
add, checkOpen, contains, contains, containsByFind, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getBulkUpdateHandler, getEventManager, getPrefixMapping, getReifier, getTransactionHandler, graphBaseContains, graphBaseFind, graphBaseSize, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, performAdd, performDelete, reifierContains, reifierSize, reifierTriples, size, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.hp.hpl.jena.graph.Graph |
---|
contains, contains, delete, dependsOn, find, find, getBulkUpdateHandler, getEventManager, getPrefixMapping, getReifier, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, size |
Methods inherited from interface com.hp.hpl.jena.graph.GraphAdd |
---|
add |
Constructor Detail |
---|
public GraphD2RQ(com.hp.hpl.jena.rdf.model.Model mapModel, String baseURIForData) throws D2RQException
mapModel
- the model containing a D2RQ mapping filebaseURIForData
- Base URI for turning relative URI patterns into
absolute URIs; if null, then D2RQ will pick a base URI
D2RQException
- on error in the mapping modelpublic GraphD2RQ(Mapping mapping) throws D2RQException
Mapping
instance.
mapping
- A D2RQ mapping
D2RQException
- If the mapping is invalidMethod Detail |
---|
public static boolean isUsingD2RQQueryHandler()
public static void setUsingD2RQQueryHandler(boolean usingD2RQQueryHandler)
public com.hp.hpl.jena.graph.query.QueryHandler queryHandler()
queryHandler
in interface com.hp.hpl.jena.graph.Graph
queryHandler
in class com.hp.hpl.jena.graph.impl.GraphBase
Graph.queryHandler()
public void close()
close
in interface com.hp.hpl.jena.graph.Graph
close
in class com.hp.hpl.jena.graph.impl.GraphBase
Graph.close()
public com.hp.hpl.jena.graph.Capabilities getCapabilities()
getCapabilities
in interface com.hp.hpl.jena.graph.Graph
getCapabilities
in class com.hp.hpl.jena.graph.impl.GraphBase
public com.hp.hpl.jena.util.iterator.ExtendedIterator graphBaseFind(com.hp.hpl.jena.graph.TripleMatch m)
graphBaseFind
in class com.hp.hpl.jena.graph.impl.GraphBase
public void connect()
D2RQException
- on connection failurepublic void initInventory(String inventoryBaseURI)
public Collection classMapNames()
public com.hp.hpl.jena.rdf.model.Model classMapInventory(String classMapName)
public Collection classMapNamesForResource(com.hp.hpl.jena.graph.Node resource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |