Module org.apache.jena.core
Class TopLevelTripleMatchFrame
java.lang.Object
org.apache.jena.reasoner.rulesys.impl.FrameObject
org.apache.jena.reasoner.rulesys.impl.GenericChoiceFrame
org.apache.jena.reasoner.rulesys.impl.TopLevelTripleMatchFrame
-
Constructor Summary
ConstructorDescriptionTopLevelTripleMatchFrame
(LPInterpreter interpreter, TriplePattern goal) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Override close method to reclaim the iterator.boolean
nextMatch
(LPInterpreter interpreter) Find the next result triple and bind the result vars appropriately.Methods inherited from class org.apache.jena.reasoner.rulesys.impl.GenericChoiceFrame
init, setContinuation
Methods inherited from class org.apache.jena.reasoner.rulesys.impl.FrameObject
fastLinkTo, getLink, linkTo
-
Constructor Details
-
TopLevelTripleMatchFrame
Constructor. Initialize the triple match to preserve the current context of the given LPInterpreter and search for the match defined by the current argument registers- Parameters:
interpreter
- the interpreter instance whose env, trail and arg values are to be preserved
-
-
Method Details
-
nextMatch
Find the next result triple and bind the result vars appropriately.- Parameters:
interpreter
- the calling interpreter whose trail should be used- Returns:
- false if there are no more matches in the iterator.
-
close
public void close()Override close method to reclaim the iterator.- Overrides:
close
in classFrameObject
-