|
||||||||
| 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
com.hp.hpl.jena.reasoner.BaseInfGraph
com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleInfGraph
org.openrdf.jena.InfGraphSesame
public class InfGraphSesame
This class wraps a sesame repository as a jena InfGraph It handles bulkupdates efficiently in single Sesame transactions. IT ONLY HANDLES FORWARD CHAINING REASONERS (cause this is all we need :)
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.hp.hpl.jena.reasoner.BaseInfGraph |
|---|
BaseInfGraph.InfCapabilities, BaseInfGraph.InfFindSafeCapabilities, BaseInfGraph.InfTransactionHandler |
| Field Summary | |
|---|---|
(package private) Repository |
repository
|
(package private) GraphSesame |
sesamegraph
|
| Fields inherited from class com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleInfGraph |
|---|
derivations, engine, fdeductions, logger, rules, schemaGraph, traceOn |
| Fields inherited from class com.hp.hpl.jena.reasoner.BaseInfGraph |
|---|
fdata, isPrepared, reasoner, recordDerivations |
| Fields inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
|---|
bulkHandler, capabilities, closed, gem, pm, queryHandler, reifier, style |
| Fields inherited from interface com.hp.hpl.jena.graph.Graph |
|---|
emptyGraph |
| Constructor Summary | |
|---|---|
InfGraphSesame(Reasoner reasoner,
Graph schema)
|
|
InfGraphSesame(Reasoner reasoner,
List rules,
Graph schema)
|
|
InfGraphSesame(Reasoner reasoner,
List rules,
Graph schema,
Graph data)
|
|
| Method Summary | |
|---|---|
BulkUpdateHandler |
getBulkUpdateHandler()
|
protected void |
hackThisIntoEngine(Triple trip)
|
void |
rebind(Graph data)
|
| Methods inherited from class com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleInfGraph |
|---|
addBRule, addDeduction, close, createDeductionsGraph, deleteBRule, find, findDataMatches, findWithContinuation, getCurrentDeductionsGraph, getDeductionsGraph, getDerivation, getNRulesFired, getSchemaGraph, graphBaseFind, graphBaseSize, instantiateRuleEngine, logDerivation, performAdd, performDelete, preloadDeductions, prepare, rebind, setDerivationLogging, setRuleStore, setTraceOn, shouldLogDerivations, shouldTrace, silentAdd |
| Methods inherited from class com.hp.hpl.jena.reasoner.BaseInfGraph |
|---|
cloneWithPremises, discardState, find, getCapabilities, getGlobalProperty, getPrefixMapping, getRawGraph, getReasoner, getReifier, getTransactionHandler, graphBaseFind, isEmpty, reset, testGlobalProperty, validate |
| Methods inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
|---|
add, checkOpen, contains, contains, containsByFind, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getEventManager, graphBaseContains, isIsomorphicWith, notifyAdd, notifyDelete, queryHandler, 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.reasoner.InfGraph |
|---|
find, getGlobalProperty, getRawGraph, getReasoner, reset, testGlobalProperty, validate |
| Methods inherited from interface com.hp.hpl.jena.graph.Graph |
|---|
contains, contains, delete, dependsOn, find, find, getCapabilities, getEventManager, getPrefixMapping, getReifier, getTransactionHandler, isEmpty, isIsomorphicWith, queryHandler, size |
| Methods inherited from interface com.hp.hpl.jena.graph.GraphAdd |
|---|
add |
| Field Detail |
|---|
Repository repository
GraphSesame sesamegraph
| Constructor Detail |
|---|
public InfGraphSesame(Reasoner reasoner,
List rules,
Graph schema)
public InfGraphSesame(Reasoner reasoner,
Graph schema)
public InfGraphSesame(Reasoner reasoner,
List rules,
Graph schema,
Graph data)
| Method Detail |
|---|
protected void hackThisIntoEngine(Triple trip)
public BulkUpdateHandler getBulkUpdateHandler()
getBulkUpdateHandler in interface GraphgetBulkUpdateHandler in class BaseInfGraphpublic void rebind(Graph data)
rebind in interface InfGraphrebind in class BasicForwardRuleInfGraph
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||