Package com.saxonica.ee.stream.adjunct
Class GroupAdjacentTester
java.lang.Object
com.saxonica.ee.stream.adjunct.GroupBoundaryTester
com.saxonica.ee.stream.adjunct.GroupAdjacentTester
This class implements GroupingFeed when the group-adjacent option is used.
It contains the logic to decide whether an item starts a new group, based
on computing the grouping key and comparing it with that of the previous item
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Signal an item that matches the selection has been found.Methods inherited from class com.saxonica.ee.stream.adjunct.GroupBoundaryTester
getControllingExpression, getLocalContext, setControllingExpression
-
Constructor Details
-
GroupAdjacentTester
-
-
Method Details
-
notifyItem
Signal an item that matches the selection has been found.- Specified by:
notifyItem
in classGroupBoundaryTester
- Returns:
- true if this item is the start of a new group
- Throws:
XPathException
- May be raised if a dynamic error occurs
-
getCurrentGroupingKey
-