元素:Slice/info
命名空间 | 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> |
元素:Slice / 维度
命名空间 | http://schemas.google.com/dspl/2010 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
图示 | |||||||||||||
类型 | Slice 概念引用 | ||||||||||||
属性 |
|
||||||||||||
属性 |
|
||||||||||||
来源 |
<xs:element name="dimension" type="SliceConceptRef" maxOccurs="unbounded"/> |
元素:Slice / metric
命名空间 | http://schemas.google.com/dspl/2010 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
图示 | |||||||||||||
类型 | Slice 概念引用 | ||||||||||||
属性 |
|
||||||||||||
属性 |
|
||||||||||||
来源 |
<xs:element name="metric" type="SliceConceptRef" maxOccurs="unbounded"/> |
元素:Slice / 表
命名空间 | 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> |
||||||||||||
属性 |
|
||||||||||||
来源 |
<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 | ||||||||||||
属性 |
|
||||||||||||
来源 |
<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 | |||
属性 |
|
|||
属性 |
|
|||
使用方数量 |
|
|||
来源 |
<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 编辑器创建。