元件:表格
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
元素:表格 / 資訊
命名空間 |
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 table.</xs:documentation>
</xs:annotation>
</xs:element>
|
元素:表格 / 欄
命名空間 |
http://schemas.google.com/dspl/2010 |
註解 |
資料表中資料欄的規格。 |
圖表 |
 |
屬性 |
content: |
複雜 |
maxOccurs: |
無界限 |
|
型號 |
值* |conceptValue{0,1} |
子項 |
conceptValue、value |
執行個體 |
<column format="" id="" type="">
<value lang="">{0,unbounded}</value>
<conceptValue concept="">{0,1}</conceptValue>
</column>
|
屬性 |
QName |
類型 |
固定 |
預設 |
使用 |
註解 |
格式 |
xs:string |
|
|
選用 |
資料欄的格式,用來剖析文字
這些值。日期格式的定義依據:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html |
id |
LocalId |
|
|
必填 |
表格欄的 ID。 |
類型 |
DataType |
|
|
必填 |
表格欄的資料類型。Deployment 中的所有值
表格欄必須符合這個資料類型。 |
|
來源 |
<xs:element name="column" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The specification of a column in the table.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:group ref="ValuesGroup" minOccurs="0">
<xs:annotation>
<xs:documentation>A constant value for the column.</xs:documentation>
</xs:annotation>
</xs:group>
<xs:attribute name="id" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The identifier of the table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" type="DataType" use="required">
<xs:annotation>
<xs:documentation>The data type of the table column. All values of the
column in the table must conform to this data type.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the column, used to parse a textual
representation of the values.
Date formats are defined by:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
元素:表格 / 資料
命名空間 |
http://schemas.google.com/dspl/2010 |
註解 |
這個資料來源可為資料表提供資料
發現。 |
圖表 |
 |
類型 |
資料 |
屬性 |
|
型號 |
檔案 |
子項 |
檔案 |
執行個體 |
<data>
<file encoding="utf-8" format="csv">{1,1}</file>
</data>
|
來源 |
<xs:element name="data" type="Data" minOccurs="0">
<xs:annotation>
<xs:documentation>A data source where data for the table can be found.</xs:documentation>
</xs:annotation>
</xs:element>
|
複雜類型:表格
命名空間 |
http://schemas.google.com/dspl/2010 |
註解 |
資料表提供資料集的資料。表格可能會提供資料
某種概念或某類資料。 |
圖表 |
 |
使用這項素材資源的廣告 |
|
型號 |
info{0,1}、欄+、資料{0,1} |
子項 |
資料欄、資料、資訊 |
屬性 |
QName |
類型 |
固定 |
預設 |
使用 |
註解 |
id |
ID |
|
|
必填 |
資料集。 |
|
來源 |
<xs:complexType name="Table">
<xs:annotation>
<xs:documentation>A table provides data for the dataset. A table may provide data
for a concept or for a slice.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the table.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="column" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The specification of a column in the table.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:group ref="ValuesGroup" minOccurs="0">
<xs:annotation>
<xs:documentation>A constant value for the column.</xs:documentation>
</xs:annotation>
</xs:group>
<xs:attribute name="id" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The identifier of the table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" type="DataType" use="required">
<xs:annotation>
<xs:documentation>The data type of the table column. All values of the
column in the table must conform to this data type.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the column, used to parse a textual
representation of the values.
Date formats are defined by:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="data" type="Data" minOccurs="0">
<xs:annotation>
<xs:documentation>A data source where data for the table can be found.</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 table in the dataset.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
|
命名空間 |
沒有命名空間 |
註解 |
資料欄的格式,用來剖析文字形式
這些值。日期格式的定義依據:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html |
類型 |
xs:string |
屬性 |
|
來源 |
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the column, used to parse a textual
representation of the values.
Date formats are defined by:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html</xs:documentation>
</xs:annotation>
</xs:attribute>
|
屬性:表格 / 資料欄 / @id
命名空間 |
沒有命名空間 |
註解 |
表格欄的 ID。 |
類型 |
LocalId |
屬性 |
|
facet |
|
來源 |
<xs:attribute name="id" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The identifier of the table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
屬性:表格 / 資料欄 / @type
命名空間 |
沒有命名空間 |
註解 |
表格欄的資料類型。資料欄內所有的值
資料表必須符合這個資料類型。 |
類型 |
DataType |
屬性 |
|
facet |
列舉 |
字串 |
|
列舉 |
float |
|
列舉 |
整數 |
|
列舉 |
布林值 |
|
列舉 |
日期 |
|
列舉 |
概念 |
|
|
來源 |
<xs:attribute name="type" type="DataType" use="required">
<xs:annotation>
<xs:documentation>The data type of the table column. All values of the
column in the table must conform to this data type.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
屬性:表格 / @id
命名空間 |
沒有命名空間 |
註解 |
資料集中資料表的專屬 ID。 |
類型 |
ID |
屬性 |
|
facet |
|
使用這項素材資源的廣告 |
|
來源 |
<xs:attribute name="id" type="Id" use="required">
<xs:annotation>
<xs:documentation>The unique identifier of the table in the dataset.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
使用
oXygen XML 編輯器。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-09 (世界標準時間)。
[[["容易理解","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"]],["上次更新時間:2024-09-09 (世界標準時間)。"],[[["The Table complex type provides data for the dataset, potentially for a concept or a slice, and is identified by a unique ID."],["Each Table can contain multiple columns, each with an ID, data type, and optional format for parsing textual values."],["Tables may include optional textual information and a data source location for retrieving the actual data."],["Column data types are restricted to string, float, integer, boolean, date, and concept, ensuring data consistency."],["A Table's data source can be specified using the \"data\" element, indicating the file format and encoding."]]],["Tables store dataset information, and they are uniquely identified by an ID. Each table can have optional textual information in its \"info\" section. Tables are comprised of columns and data. Columns require a unique ID, data type and optionally include a format to parse text values. Columns can be of various data types. The data section provides a file, with a specified encoding and format, as a source. Each column may define multiple values and an optional concept.\n"]]