Mondrain Schema Basic Elements

Mondrain Schema Basic Elements

< Schema > is the topmost element, mondrian version 4.0 and above must be added, metamodelVersion = '4.0' attribute

 

Physical elements 

< PhysicalSchema > is used to define the physical table used in the model, which can contain the following

 < Table > uses a table directly

 < Query > Use the result set of the query, which can be obtained from multiple tables

 < InlineTable > inline table

   <ColumnDefs>

   <ColumnDef>

 < Link > connects two tables

 < ExpressionView > SQL expression collection

 < Column > A column associated with the SQL expression

 < SQL > The SQL dialect expression for a particular database.

The top-level element of the  < Rows > row

   < Row > inlineTable The row of the dataset of the inline table

 < Value > inlineTable The value of one column of the dataset in the inline table

 

Logical elements

< Cube > The primary business view for analysis, a cube is a collection of dimensions and measures.

 < Dimensions > A collection of dimensions

 < Dimension > dimension definition

 <Attributes>

Data items in the  < Attribute > dimension

 <Hierarchies

 < Hierarchy > Hierarchy element

 <Levels

 < Level > Level

 < Key > This is the primary key of one or more columns of attributes, which can uniquely determine an attribute

 < Name > This is an attribute name

 The title of the < Caption > attribute

 < OrderBy > column of members of the "property" used for ordering

 < Property > Member's property The definition is for a hierarchy or level, but the property will be available to all members.

 

< MeasureGroups > Metric group collection

< MeasureGroup > metrics stored in fact table

<Measures>

<Measure>

< DimensionLinks > is used to define an association  between MeasureGroups  and  Dimensions

< ForeignKeyLink > defines a foreign key, using a field in the fact table

<FactLink>

<CopyLink>

<ReferenceLink>

<NoLink>

< CalculatedMembers > Calculated members

<NamedSets>

< NamedSet > has a set of values ​​returned by MDX as a dataset

< Closure > Map the hierarchical parent-child relationship to a table

 

Access control

< Rolean access control profile

< SchemaGrant > Schema permissions

< CubeGrant > Cube permissions

< HierarchyGrant > Hierarchy Permissions

< Union > A combination of a set of permissions

<RoleUsage>

 

Extensions

< UserDefinedFunction > User Defined Function

<CellFormatter>

<MemberFormatter>

<PropertyFormatter>

< Script > Implement user-defined functions through scripting

 

Miscellaneous

<Annotations>

< Annotation > User-defined attributes associated with a metadata

<Parameter>

< CalculatedMemberProperty > Calculated member property

<Formula>

< MeasureExpression > Calculates measures by sql expressions

 

 

 

 

 

 

 

    

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326800763&siteId=291194637