组件:Slice

元素:Slice/info

命名空间 http://schemas.google.com/dspl/2010
注释 有关切片的文本信息
图示 图示 dspl4.tmp#id7 dspl4.tmp#id14 dspl4.tmp#id15 dspl4.tmp#id6
类型 信息
属性
content: 复杂
minOccurs: 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>

元素:Slice / 维度

命名空间 http://schemas.google.com/dspl/2010
图示 图示 dspl1.tmp#id74 dspl1.tmp#id73
类型 Slice 概念引用
属性
content: 复杂
maxOccurs: 无界限
属性
QName 类型 已修复 默认 使用 注解
概念 xs:QName 必需 维度或指标对应的概念。
来源
<xs:element name="dimension" type="SliceConceptRef" maxOccurs="unbounded"/>

元素:Slice / metric

命名空间 http://schemas.google.com/dspl/2010
图示 图示 dspl1.tmp#id74 dspl1.tmp#id73
类型 Slice 概念引用
属性
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 必需 包含 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 中的两个维度或指标不能引用同一个概念。- 数据集中两个切片可能没有相同的维度和指标。
图示 图示 dspl2.tmp#id85 dspl2.tmp#id71 dspl2.tmp#id72 dspl2.tmp#id75 dspl2.tmp#id76
使用方数量
元素 dspl/slices/slice
模型 info{0,1}dimension+metric+table
儿童 dimensioninfometrictable
属性
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

命名空间 没有命名空间
注释 Slice 的唯一标识符。
类型 ID
属性
而应使用以下命令: 必需
属性
maxLength 64
使用方数量
复杂类型 Slice
来源
<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 编辑器创建。