|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IlrTupleIterator
This interface specifies a tuple iterator.
The rule language expression that builds an explicit iterator for the sequential algorithm should build an object which is an instance of this interface.
Method Summary | |
---|---|
boolean |
hasNext()
Deprecated. Indicates if there is at least one tuple left to be filtered by the sequential algorithm. |
void |
next(Object[] objects)
Deprecated. Gets the next tuple to be filtered by the sequential algorithm. |
Method Detail |
---|
boolean hasNext()
Indicates if there is at least one tuple left to be filtered by the sequential algorithm.
void next(Object[] objects)
Gets the next tuple to be filtered by the sequential algorithm.
The tuple is simply implemented by an array of objects
that should be filled as a side effect by this method.
It is guaranteed that the array is already large enough to hold
all the objects that makes up a tuple.
Whenever an explicit iterator is specified at the rule language
level, the structure of the tuple should remain homogeneous.
At the rule language level, this particular structure is described
by the matchedclasses
property.
The order of the classes specified in the matchedclasses
property is relevant.
Each entry in the array of objects (the tuple) should be an instance
of the class that has been specified in the matchedclasses
property for that particular rank.
objects
- The tuple.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |