|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.reasoner.FGraph
Wrapper round a Graph to implement the slighly modified Finder interface.
Constructor Summary | |
FGraph(Graph graph)
Constructor |
Method Summary | |
boolean |
contains(TriplePattern pattern)
Return true if the given pattern occurs somewhere in the find sequence. |
ExtendedIterator |
find(TriplePattern pattern)
Basic pattern lookup interface. |
ExtendedIterator |
findWithContinuation(TriplePattern pattern,
Finder continuation)
Extended find interface used in situations where the implementator may or may not be able to answer the complete query. |
Graph |
getGraph()
Returns the graph. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FGraph(Graph graph)
Method Detail |
public ExtendedIterator find(TriplePattern pattern)
find
in interface Finder
pattern
- a TriplePattern to be matched against the data
public ExtendedIterator findWithContinuation(TriplePattern pattern, Finder continuation)
findWithContinuation
in interface Finder
pattern
- a TriplePattern to be matched against the datacontinuation
- either a Finder or a normal Graph which
will be asked for additional match results if the implementor
may not have completely satisfied the query.public Graph getGraph()
public boolean contains(TriplePattern pattern)
contains
in interface Finder
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |