Component: SliceTableMapping
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
SliceTableMapping
provides a mapping to a table containing data for a slice.
It uses mapDimension
and mapMetric
elements to map slice dimensions and metrics to table columns.
Mappings can be omitted under certain conditions, such as when column IDs match concept IDs.
The ref
attribute identifies the table providing the slice data.
Namespace
http://schemas.google.com/dspl/2010
Annotations
A mapping to the id of the column that contains the values of a
dimension of the slice. This mapping may be omitted if the table column
that contains the slice dimension values has the concept id as its column
id. If the referenced concept comes from an external dataset, the mapping
may be omitted if the id of the column matches the local id of the
concept (i.e., without the prefix).
Diagram
Properties
content:
complex
minOccurs:
0
maxOccurs:
unbounded
Attributes
QName
Type
Fixed
Default
Use
Annotation
concept
xs:QName
required
The id of the mapped dimension concept.
toColumn
LocalId
required
The id of the mapped table column.
Source
<xs : element name = "mapDimension" minOccurs = "0" maxOccurs = "unbounded" >
<xs : annotation >
<xs : documentation>A mapping to the id of the column that contains the values
of a dimension of the slice . This mapping may be omitted
if the table column that contains the slice dimension
values has the concept id as its column id . If the referenced
concept comes from an external dataset , the mapping may be omitted
if the id of the column matches the local id of the concept
( i . e ., without the prefix ).</ xs : documentation >
</ xs : annotation >
<xs : complexType >
<xs : attribute name = "concept" type = "xs:QName" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped dimension concept .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
<xs : attribute name = "toColumn" type = "LocalId" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped table column .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
</ xs : complexType >
</ xs : element >
Namespace
http://schemas.google.com/dspl/2010
Annotations
A mapping to the id of the column that contains the values of a
metric of the slice. This mapping may be omitted if the table column that
contains the slice metric values has the concept id as its column id. If
the referenced concept comes from an external dataset, the mapping may be
omitted if the id of the column matches the local id of the concept
(i.e., without the prefix).
Diagram
Properties
content:
complex
minOccurs:
0
maxOccurs:
unbounded
Attributes
QName
Type
Fixed
Default
Use
Annotation
concept
xs:QName
required
The id of the mapped metric concept.
toColumn
LocalId
required
The id of the mapped table column.
Source
<xs : element name = "mapMetric" minOccurs = "0" maxOccurs = "unbounded" >
<xs : annotation >
<xs : documentation>A mapping to the id of the column that contains the values
of a metric of the slice . This mapping may be omitted if
the table column that contains the slice metric values has
the concept id as its column id . If the referenced
concept comes from an external dataset , the mapping may be omitted
if the id of the column matches the local id of the concept
( i . e ., without the prefix ).</ xs : documentation >
</ xs : annotation >
<xs : complexType >
<xs : attribute name = "concept" type = "xs:QName" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped metric concept .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
<xs : attribute name = "toColumn" type = "LocalId" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped table column .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
</ xs : complexType >
</ xs : element >
Complex Type: SliceTableMapping
Namespace
http://schemas.google.com/dspl/2010
Annotations
A mapping to a table that provides data for a
slice.
Diagram
Used by
Model
mapDimension* , mapMetric*
Children
mapDimension , mapMetric
Attributes
QName
Type
Fixed
Default
Use
Annotation
ref
xs:QName
required
The identifier of the table that contains data for the
slice.
Source
<xs : complexType name = "SliceTableMapping" >
<xs : annotation >
<xs : documentation>A mapping to a table that provides data for a slice .</ xs : documentation >
</ xs : annotation >
<xs : sequence >
<xs : element name = "mapDimension" minOccurs = "0" maxOccurs = "unbounded" >
<xs : annotation >
<xs : documentation>A mapping to the id of the column that contains the values
of a dimension of the slice . This mapping may be omitted
if the table column that contains the slice dimension
values has the concept id as its column id . If the referenced
concept comes from an external dataset , the mapping may be omitted
if the id of the column matches the local id of the concept
( i . e ., without the prefix ).</ xs : documentation >
</ xs : annotation >
<xs : complexType >
<xs : attribute name = "concept" type = "xs:QName" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped dimension concept .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
<xs : attribute name = "toColumn" type = "LocalId" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped table column .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
</ xs : complexType >
</ xs : element >
<xs : element name = "mapMetric" minOccurs = "0" maxOccurs = "unbounded" >
<xs : annotation >
<xs : documentation>A mapping to the id of the column that contains the values
of a metric of the slice . This mapping may be omitted if
the table column that contains the slice metric values has
the concept id as its column id . If the referenced
concept comes from an external dataset , the mapping may be omitted
if the id of the column matches the local id of the concept
( i . e ., without the prefix ).</ xs : documentation >
</ xs : annotation >
<xs : complexType >
<xs : attribute name = "concept" type = "xs:QName" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped metric concept .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
<xs : attribute name = "toColumn" type = "LocalId" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped table column .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
</ xs : complexType >
</ xs : element >
</ xs : sequence >
<xs : attribute name = "ref" type = "xs:QName" use = "required" >
<xs : annotation >
<xs : documentation>The identifier of the table that contains data for the slice .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
</ xs : complexType >
Namespace
No namespace
Annotations
The id of the mapped dimension concept.
Type
xs:QName
Properties
Used by
Source
<xs : attribute name = "concept" type = "xs:QName" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped dimension concept .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
Namespace
No namespace
Annotations
The id of the mapped table column.
Type
LocalId
Properties
Facets
Used by
Source
<xs : attribute name = "toColumn" type = "LocalId" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped table column .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
Namespace
No namespace
Annotations
The id of the mapped metric concept.
Type
xs:QName
Properties
Used by
Source
<xs : attribute name = "concept" type = "xs:QName" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped metric concept .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
Namespace
No namespace
Annotations
The id of the mapped table column.
Type
LocalId
Properties
Facets
Used by
Source
<xs : attribute name = "toColumn" type = "LocalId" use = "required" >
<xs : annotation >
<xs : documentation>The id of the mapped table column .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
Namespace
No namespace
Annotations
The identifier of the table that contains data for the
slice.
Type
xs:QName
Properties
Used by
Source
<xs : attribute name = "ref" type = "xs:QName" use = "required" >
<xs : annotation >
<xs : documentation>The identifier of the table that contains data for the slice .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
Created using the
oXygen XML Editor .
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-26 UTC."],[],["The `SliceTableMapping` complex type maps data from a table to a slice. It uses `mapDimension` to link dimension values to table columns and `mapMetric` to link metric values. Each mapping can be omitted if the concept ID matches the column ID. `mapDimension` and `mapMetric` require a `concept` ID (dimension or metric) and a `toColumn` ID (table column). The `ref` attribute in `SliceTableMapping` identifies the table providing the slice data.\n"]]