DimensionTable which belongs to a Dimension. The columns in the dimension table will be a subset of all fields in Dimension.
Java class for x_dimension_table complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="x_dimension_table">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="columns" type="{uri:lens:cube:0.1}x_columns"/>
<element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
<element name="storage_tables" type="{uri:lens:cube:0.1}x_storage_tables" minOccurs="0"/>
</sequence>
<attribute name="dimension_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="table_name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="weight" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}double">
<minInclusive value="0"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
uri:lens:cube:0.1| name | data type | type | namespace | min/max occurs | constraints | description |
|---|---|---|---|---|---|---|
| dimension_name | string | attribute | 1/1 | |||
| table_name | string | attribute | 1/1 | |||
| weight | double | attribute | 1/1 | |||
| columns | x_columns | element | ns2 | 1/1 | required | |
| properties | x_properties | element | ns2 | 0/1 | ||
| storage_tables | x_storage_tables | element | ns2 | 0/1 |
Example
<x----- dimension_name="..." table_name="..." weight="..." xmlns="uri:lens:cube:0.1">
<columns>
<column _type="..." comment="..." end_time="..." name="..." start_time="..."/>
</columns>
<properties>
<property name="..." value="..."/>
</properties>
<storage_tables>
<storage_table>
<update_periods/>
<storage_name>...</storage_name>
<table_desc/>
</storage_table>
</storage_tables>
</x----->