元件:Slice

元素:Slice / 資訊

命名空間 http://schemas.google.com/dspl/2010
註解 關於片段的文字資訊。
圖表 圖表 dspl4.tmp#id7 dspl4.tmp#id14 dspl4.tmp#id15 dspl4.tmp#id6
類型 資訊
屬性
content: 複雜
分鐘數: 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>

元素:區塊 / 維度

命名空間 http://schemas.google.com/dspl/2010
圖表 圖表 dspl1.tmp#id74 dspl1.tmp#id73
類型 SliceConceptRef
屬性
content: 複雜
maxOccurs: 無界限
屬性
QName 類型 固定 預設 使用 註解
概念 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 類型 固定 預設 使用 註解
概念 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: 複雜
型號 mapDimension*mapMetric*
子項 mapDimensionmapMetric
執行個體
<table ref="">
  <mapDimension concept="" toColumn="">{0,unbounded}</mapDimension>
  <mapMetric concept="" toColumn="">{0,unbounded}</mapMetric>
</table>
屬性
QName 類型 固定 預設 使用 註解
參考資料 xs:QName 必填 列出 片段
來源
<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>

複雜類型:配量

命名空間 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+ , 表格
子項 維度資訊指標表格
屬性
QName 類型 固定 預設 使用 註解
id ID 必填 該片段的專屬 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

命名空間 沒有命名空間
註解 該片段的專屬 ID。
類型 ID
屬性
而應改為使用下列指令: 必填
facet
maxLength 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 編輯器