元件:Slice

元素:Slice/資訊

命名空間 http://schemas.google.com/dspl/2010
註解 這個區塊的文字資訊。
圖表 圖表 dspl4.tmp#id7 dspl4.tmp#id14 dspl4.tmp#id15 dspl4.tmp#id6
類型 資訊
屬性
content: 複雜
minOccurs: 0
模型 namedescription{0,1}url{0,1}
兒童 descriptionnameurl
執行個體
<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
圖表 圖表 dspl1.tmp#id74 dspl1.tmp#id73
類型 SliceConceptRef
屬性
content: 複雜
maxOccurs: 無限制
屬性
QName 類型 Fixed 預設 使用 註解
概念 Xs:QName 必要 維度或指標對應的概念。
資料來源
<xs:element name="dimension" type="SliceConceptRef" maxOccurs="unbounded"/>

元素:Slice / 指標

命名空間 http://schemas.google.com/dspl/2010
圖表 圖表 dspl1.tmp#id74 dspl1.tmp#id73
類型 SliceConceptRef
屬性
content: 複雜
maxOccurs: 無限制
屬性
QName 類型 Fixed 預設 使用 註解
概念 Xs:QName 必要 維度或指標對應的概念。
資料來源
<xs:element name="metric" type="SliceConceptRef" maxOccurs="unbounded"/>

元素:Slice/表格

命名空間 http://schemas.google.com/dspl/2010
註解 用於存取區塊資料的資料表。
圖表 圖表 dspl12.tmp#id84 dspl12.tmp#id78 dspl12.tmp#id81 dspl12.tmp#id77
類型 SliceTableMapping
屬性
content: 複雜
模型 mapDimensions*mapMetric*
兒童 mapDimensionsmapMetric
執行個體
<table ref="">
  <mapDimension concept="" toColumn="">{0,unbounded}</mapDimension>
  <mapMetric concept="" toColumn="">{0,unbounded}</mapMetric>
</table>
屬性
QName 類型 Fixed 預設 使用 註解
參考 Xs:QName 必要 含有切片資料之資料表的 ID。
資料來源
<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
註解 配量說明資料中存在的概念組合。指標是提供值的概念,維度則是用來存取這些值的概念。更準確地說,維度是資料區塊的主要鍵。也就是說,對於維度值的任何組合,配量中最多只能包含一個資料列。資料集中的配量必須符合以下規定: - 片段中的兩個維度或指標無法參照相同的概念。- 資料集中兩個片段的維度和指標不得相同。
圖表 圖表 dspl2.tmp#id85 dspl2.tmp#id71 dspl2.tmp#id72 dspl2.tmp#id75 dspl2.tmp#id76
使用這項素材資源的廣告
元素 dspl/Slices/slice
模型 info{0,1}dimension+metric+table
兒童 dimensioninfometrictable
屬性
QName 類型 Fixed 預設 使用 註解
id ID 必要 Slice 的專屬 ID。
資料來源
<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
屬性
而應改為使用下列指令: 必要
商情項目
長度上限 64
使用這項素材資源的廣告
複雜類型 片段
資料來源
<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 編輯器建立。