Package org.apache.jena.reasoner
Class FGraph
- java.lang.Object
-
- org.apache.jena.reasoner.FGraph
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(TriplePattern pattern)
Return true if the given pattern occurs somewhere in the find sequence.ExtendedIterator<Triple>
find(TriplePattern pattern)
Basic pattern lookup interface.ExtendedIterator<Triple>
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.
-
-
-
Constructor Detail
-
FGraph
public FGraph(Graph graph)
Constructor
-
-
Method Detail
-
find
public ExtendedIterator<Triple> find(TriplePattern pattern)
Basic pattern lookup interface.
-
findWithContinuation
public ExtendedIterator<Triple> 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. It will attempt to answer the pattern but if its answers are not known to be complete then it will also pass the request on to the nested Finder to append more results.- Specified by:
findWithContinuation
in interfaceFinder
- Parameters:
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.
-
getGraph
public Graph getGraph()
Returns the graph.- Returns:
- Graph
-
contains
public boolean contains(TriplePattern pattern)
Return true if the given pattern occurs somewhere in the find sequence.
-
-