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>
name | data type | description |
---|---|---|
dimension_name | string | |
columns | XColumns | |
properties | XProperties | |
storage_tables | XStorageTables |
Example
{ "dimension_name" : "...", "columns" : { "column" : [ [ { "name" : "...", "_type" : "...", "comment" : "...", "start_time" : "...", "end_time" : "..." }, { "name" : "...", "_type" : "...", "comment" : "...", "start_time" : "...", "end_time" : "..." } ], [ { "name" : "...", "_type" : "...", "comment" : "...", "start_time" : "...", "end_time" : "..." }, { "name" : "...", "_type" : "...", "comment" : "...", "start_time" : "...", "end_time" : "..." } ] ] }, "properties" : { "property" : [ [ { "name" : "...", "value" : "..." }, { "name" : "...", "value" : "..." } ], [ { "name" : "...", "value" : "..." }, { "name" : "...", "value" : "..." } ] ] }, "storage_tables" : { "storage_table" : [ [ { "update_periods" : { }, "storage_name" : "...", "table_desc" : { } }, { "update_periods" : { }, "storage_name" : "...", "table_desc" : { } } ], [ { "update_periods" : { }, "storage_name" : "...", "table_desc" : { } }, { "update_periods" : { }, "storage_name" : "...", "table_desc" : { } } ] ] } }