元素:Slice/資訊
命名空間 | http://schemas.google.com/dspl/2010 | ||||
---|---|---|---|---|---|
註解 | 這個區塊的文字資訊。 | ||||
圖表 | |||||
類型 | 資訊 | ||||
屬性 |
|
||||
模型 | name、description{0,1}、url{0,1} | ||||
兒童 | description、name、url | ||||
執行個體 |
<info> <name>{1,1}</name> <description>{0,1}</description> <url>{0,1}</url> </info> |
||||
資料來源 |
<xs:element name="info" type="Info" minOccurs="0"> <xs:annotation> <xs:documentation>Textual information about the slice.</xs:documentation> </xs:annotation> </xs:element> |
元素:Slice/尺寸
命名空間 | http://schemas.google.com/dspl/2010 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
圖表 | |||||||||||||
類型 | SliceConceptRef | ||||||||||||
屬性 |
|
||||||||||||
屬性 |
|
||||||||||||
資料來源 |
<xs:element name="dimension" type="SliceConceptRef" maxOccurs="unbounded"/> |
元素:Slice / 指標
命名空間 | http://schemas.google.com/dspl/2010 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
圖表 | |||||||||||||
類型 | SliceConceptRef | ||||||||||||
屬性 |
|
||||||||||||
屬性 |
|
||||||||||||
資料來源 |
<xs:element name="metric" type="SliceConceptRef" maxOccurs="unbounded"/> |
元素:Slice/表格
命名空間 | http://schemas.google.com/dspl/2010 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
註解 | 用於存取區塊資料的資料表。 | ||||||||||||
圖表 | |||||||||||||
類型 | SliceTableMapping | ||||||||||||
屬性 |
|
||||||||||||
模型 | mapDimensions*、mapMetric* | ||||||||||||
兒童 | mapDimensions、mapMetric | ||||||||||||
執行個體 |
<table ref=""> <mapDimension concept="" toColumn="">{0,unbounded}</mapDimension> <mapMetric concept="" toColumn="">{0,unbounded}</mapMetric> </table> |
||||||||||||
屬性 |
|
||||||||||||
資料來源 |
<xs:element name="table" type="SliceTableMapping"> <xs:annotation> <xs:documentation>A mapping to a table where the slice data can be accessed.</xs:documentation> </xs:annotation> </xs:element> |
複雜類型:Slice
命名空間 | http://schemas.google.com/dspl/2010 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
註解 | 配量說明資料中存在的概念組合。指標是提供值的概念,維度則是用來存取這些值的概念。更準確地說,維度是資料區塊的主要鍵。也就是說,對於維度值的任何組合,配量中最多只能包含一個資料列。資料集中的配量必須符合以下規定: - 片段中的兩個維度或指標無法參照相同的概念。- 資料集中兩個片段的維度和指標不得相同。 | ||||||||||||
圖表 | |||||||||||||
使用這項素材資源的廣告 |
|
||||||||||||
模型 | info{0,1}、dimension+、metric+ 、table | ||||||||||||
兒童 | dimension、info、metric、 table | ||||||||||||
屬性 |
|
||||||||||||
資料來源 |
<xs:complexType name="Slice"> <xs:annotation> <xs:documentation>A slice describes a combination of concepts for which data exists. Metrics are the concepts that provide values, while dimensions are the concepts used to access these values. More precisely, the dimensions are a primary key for the data of the slice. That is, for any combination of values of the dimensions, there is at most one data row in the slice. Slices in a dataset must follow the following requirements: - No two dimensions or metrics in a slice may refer to the same concept. - No two slices in the dataset may have the same dimensions and metrics.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="info" type="Info" minOccurs="0"> <xs:annotation> <xs:documentation>Textual information about the slice.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="dimension" type="SliceConceptRef" maxOccurs="unbounded"/> <xs:element name="metric" type="SliceConceptRef" maxOccurs="unbounded"/> <xs:element name="table" type="SliceTableMapping"> <xs:annotation> <xs:documentation>A mapping to a table where the slice data can be accessed.</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> <xs:attribute name="id" type="Id" use="required"> <xs:annotation> <xs:documentation>The unique identifier of the slice.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> |
屬性:Slice / @id
命名空間 | 沒有命名空間 | |||
---|---|---|---|---|
註解 | Slice 的專屬 ID。 | |||
類型 | ID | |||
屬性 |
|
|||
商情項目 |
|
|||
使用這項素材資源的廣告 |
|
|||
資料來源 |
<xs:attribute name="id" type="Id" use="required"> <xs:annotation> <xs:documentation>The unique identifier of the slice.</xs:documentation> </xs:annotation> </xs:attribute> |
使用 oXygen XML 編輯器建立。