2.2.1.20 CCategorizationSpec

The CCategorizationSpec structure specifies how grouping is done at one level in a hierarchical query.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

_csColumns (variable)

...

_Spec (variable)

...

_AggregSet (variable)

...

_SortAggregSet (variable)

...

_InGroupSortAggregSets (variable)

...

_cMaxResults

_csColumns (variable): A CColumnSet structure indicating the columns to return at that level in a hierarchical result set.

_Spec (variable): A CCategSpec structure specifying the type of categorization and the column for the group.

_AggregSet (variable): A CAggregSet structure specifying aggregate information for the group.

_SortAggregSet (variable): A CSortAggregSet structure specifying default sorting for the group.

_InGroupSortAggregSets (variable): A CInGroupSortAggregSets structure specifying sorting for the group with regard to the parent group's range boundaries.

_cMaxResults (4 bytes): A 32-bit unsigned integer. Reserved.

Note MUST be set to 0x00000000.