Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Part 1 The Basic for Developing Application | > Chapter 3 Data Search Methods |
XML documents found using a search expression can be grouped and aggregated according to a given key. To perform aggregation, include the aggregation function specification in the return expression. A group key must also be specified in the sort expression. To produce the results of the aggregation function specification, XML documents with the same group key are treated as a single group. The data indicated by the text expression or attribute expression specified as the argument of the aggregation function specification is treated as a numeric value for each group, and then totals, averages, and other values are determined.
Refer to B.4.3 Format Used when Aggregating for more information on return expressions.
The following figure provides an overview of the aggregation process.
This is the method used to decide how search results will be grouped, and what will be aggregated.
Contents
Index
![]() ![]() |