public class GroupByClausePush extends TuplePush
| Constructor and Description |
|---|
GroupByClausePush(TuplePush destination,
GroupByClause groupBy,
XPathContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addToGroup(java.lang.Object key,
GroupByClause.ObjectToBeGrouped objectToBeGrouped,
java.util.List<GroupByClause.ObjectToBeGrouped> group,
java.util.HashMap<java.lang.Object,java.util.List<GroupByClause.ObjectToBeGrouped>> map) |
protected static void |
checkGroupingValues(Sequence[] groupingValues) |
void |
close()
Close the tuple stream, indicating that although not all tuples have been read,
no further tuples are required and resources can be released
|
void |
processTuple(XPathContext context)
Move on to the next tuple.
|
public GroupByClausePush(TuplePush destination, GroupByClause groupBy, XPathContext context)
public void processTuple(XPathContext context) throws XPathException
processTuple in class TuplePushcontext - the dynamic evaluation contextXPathException - if a dynamic error occursprotected static void addToGroup(java.lang.Object key,
GroupByClause.ObjectToBeGrouped objectToBeGrouped,
java.util.List<GroupByClause.ObjectToBeGrouped> group,
java.util.HashMap<java.lang.Object,java.util.List<GroupByClause.ObjectToBeGrouped>> map)
protected static void checkGroupingValues(Sequence[] groupingValues) throws XPathException
XPathExceptionpublic void close()
throws XPathException
close in class TuplePushXPathException - if a dynamic error occursCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.