Partager via


2.2.4.2.2.13.1 AggregationInstance

This complex type represents an aggregation instance in a partition.

   <xsd:complexType name="AggregationInstance">
     <xsd:all>
       <xsd:element name="ID" type="xsd:string" minOccurs="0"/>
       <xsd:element name="Name" type="xsd:string"/>
       <xsd:element name="AggregationType" >
         <xsd:simpleType>
           <xsd:restriction base="xsd:string" >
             <xsd:enumeration value="IndexedView" />
             <xsd:enumeration value="Table" />
             <xsd:enumeration value="UserDefined" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="Source" type="TabularBinding" minOccurs="0" />
       <xsd:element name="Dimensions" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Dimension"  type="AggregationInstanceDimension"
                          minOccurs="0" maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="Measures" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Measure"  type="AggregationInstanceMeasure"
                          minOccurs="0" maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="Annotations" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Annotation"  type="Annotation" minOccurs="0"
                          maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
     </xsd:all>
   </xsd:complexType>

Element

Read-Only

Default value

Description

ID

Defaults to Name

The object ID string.

Name

[Required]

The object name.

AggregationType

[Required]

The type of aggregation stored in the partition. The enumeration values are the following:

IndexedView: The aggregation is stored in an indexed view.

Table: The aggregation is stored in a table.

UserDefined: The aggregation is user-defined.

Source

Empty

The table name that is used if it is different than the name that is associated with column binding. This permits a single aggregation table to be defined in the DataSourceView for multiple partitions instead of one per partition.

Dimensions

Empty

A collection of objects of type AggregationInstanceDimension.

Measures

Empty

A collection of objects of type AggregationInstanceMeasure.

Annotations

Empty

A collection of Annotation objects.

Description

Empty

The object description.