| com.hp.hpl.jena.reasoner.Finder
All known Subclasses: com.hp.hpl.jena.reasoner.FGraph, com.hp.hpl.jena.reasoner.transitiveReasoner.TransitiveGraphCache,
Finder | public interface Finder (Code) | | Minimal interface for preforming simple pattern find operations.
Should be implemented by reasoners, caches and related datastructures.
author: Dave Reynolds version: $Revision: 1.10 $ on $Date: 2008/01/02 12:07:00 $ |
contains | public boolean contains(TriplePattern pattern)(Code) | | Return true if the given pattern occurs somewhere in the find sequence.
|
find | public ExtendedIterator find(TriplePattern pattern)(Code) | | Basic pattern lookup interface.
Parameters: pattern - a TriplePattern to be matched against the data a ClosableIterator over all Triples in the data setthat match the pattern |
findWithContinuation | public ExtendedIterator findWithContinuation(TriplePattern pattern, Finder continuation)(Code) | | 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.
Parameters: pattern - a TriplePattern to be matched against the data Parameters: continuation - either a Finder or a normal Graph whichwill be asked for additional match results if the implementormay not have completely satisfied the query. |
|
|