元件: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>
|
元素:區塊 / 維度
命名空間 |
http://schemas.google.com/dspl/2010 |
圖表 |
 |
類型 |
SliceConceptRef |
屬性 |
content: |
複雜 |
maxOccurs: |
無界限 |
|
屬性 |
QName |
類型 |
固定 |
預設 |
使用 |
註解 |
概念 |
xs:QName |
|
|
必填 |
維度或指標所對應的概念
。 |
|
來源 |
<xs:element name="dimension" type="SliceConceptRef" maxOccurs="unbounded"/>
|
命名空間 |
http://schemas.google.com/dspl/2010 |
圖表 |
 |
類型 |
SliceConceptRef |
屬性 |
content: |
複雜 |
maxOccurs: |
無界限 |
|
屬性 |
QName |
類型 |
固定 |
預設 |
使用 |
註解 |
概念 |
xs:QName |
|
|
必填 |
維度或指標所對應的概念
。 |
|
來源 |
<xs:element name="metric" type="SliceConceptRef" maxOccurs="unbounded"/>
|
命名空間 |
http://schemas.google.com/dspl/2010 |
註解 |
可對應配片資料的資料表對應
允許或拒絕要求。 |
圖表 |
 |
類型 |
SliceTableMapping |
屬性 |
|
型號 |
mapDimension*、mapMetric* |
子項 |
mapDimension、mapMetric |
執行個體 |
<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 |
註解 |
切片描述了各種資料的概念組合
存在。指標是提供值的概念,而維度
是用於存取這些值的概念更精確地說
維度是該區塊資料的主鍵。也就是說
維度值組合後,報表中最多只會有一個資料列。
片段資料集中的配量必須符合以下條件:-
一個區塊中不能有兩個維度或指標代表同一個概念。-
資料集中不得有兩個相同的維度。
指標。 |
圖表 |
 |
使用這項素材資源的廣告 |
|
型號 |
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>
|
命名空間 |
沒有命名空間 |
註解 |
該片段的專屬 ID。 |
類型 |
ID |
屬性 |
|
facet |
|
使用這項素材資源的廣告 |
|
來源 |
<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 編輯器。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[],["The core content defines the structure of a \"Slice,\" a combination of concepts with data. Each slice has a unique identifier and includes textual information, dimensions, metrics, and a table mapping. Dimensions and metrics refer to concepts, and their values are used to access data. The table mapping connects the slice to a specific data table. Slices cannot share dimensions or metrics and must have a unique ID. Dimensions and Metrics are defined with a concept.\n"]]