组件: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 |
图示 |
|
类型 |
Slice 概念引用 |
属性 |
content: |
复杂 |
maxOccurs: |
无界限 |
|
属性 |
QName |
类型 |
已修复 |
默认 |
使用 |
注解 |
概念 |
xs:QName |
|
|
必需 |
维度或指标对应的概念。 |
|
来源 |
<xs:element name="dimension" type="SliceConceptRef" maxOccurs="unbounded"/>
|
元素:Slice / metric
命名空间 |
http://schemas.google.com/dspl/2010 |
图示 |
|
类型 |
Slice 概念引用 |
属性 |
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 |
|
|
必需 |
包含 Slice 数据的表的标识符。 |
|
来源 |
<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 |
注释 |
切片描述了存在数据的概念组合。指标是提供值的概念,而维度是用于访问这些值的概念。更确切地说,维度是 Slice 数据的主键。也就是说,对于维度值的任意组合,切片中最多只有一个数据行。数据集中的 Slice 必须遵循以下要求:- Slice 中的两个维度或指标不能引用同一个概念。- 数据集中两个切片可能没有相同的维度和指标。 |
图示 |
|
使用方数量 |
|
模型 |
info{0,1}、dimension+、metric+、table |
儿童 |
dimension、info、metric、table |
属性 |
QName |
类型 |
已修复 |
默认 |
使用 |
注解 |
id |
ID |
|
|
必需 |
Slice 的唯一标识符。 |
|
来源 |
<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 |
属性 |
|
属性 |
|
使用方数量 |
|
来源 |
<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 编辑器创建。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-01-19。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]