⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 overview-summary.html

📁 基于mondrian 开源框架进行OLAP多维分析
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD WIDTH="20%"><B><A HREF="mondrian/spi/package-summary.html">mondrian.spi</A></B></TD><TD>Contains the server-provider interfaces (SPIs) which user-definedextensions to Mondrian should implement.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/spi/impl/package-summary.html">mondrian.spi.impl</A></B></TD><TD>Provides implementations of SPIs defined in the <CODE>mondrian.spi</CODE> package.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/test/package-summary.html">mondrian.test</A></B></TD><TD>Suite of regression tests.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/test/clearview/package-summary.html">mondrian.test.clearview</A></B></TD><TD>&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/test/comp/package-summary.html">mondrian.test.comp</A></B></TD><TD>Utilities for comparison-based testing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/test/loader/package-summary.html">mondrian.test.loader</A></B></TD><TD>Utilities to load test data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/tui/package-summary.html">mondrian.tui</A></B></TD><TD>Text user interface for Mondrian.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/udf/package-summary.html">mondrian.udf</A></B></TD><TD>&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/util/package-summary.html">mondrian.util</A></B></TD><TD>Mondrian utilities.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/web/servlet/package-summary.html">mondrian.web.servlet</A></B></TD><TD>&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/web/taglib/package-summary.html">mondrian.web.taglib</A></B></TD><TD>Provides a tag library for embedding MDX queries in JSP pages.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/xmla/package-summary.html">mondrian.xmla</A></B></TD><TD>Implements the <a href="http://www.xmla.org/">XML for Analysis</a> API.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/xmla/impl/package-summary.html">mondrian.xmla.impl</A></B></TD><TD>&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="20%"><B><A HREF="mondrian/xmla/test/package-summary.html">mondrian.xmla.test</A></B></TD><TD>&nbsp;</TD></TR></TABLE><P>&nbsp;<A NAME="overview_description"><!-- --></A><P>Mondrian is an OLAP server implemented in Java.<h2>Introduction</h2><p>See <a href="../architecture.html">architecture</a>.</p><h2>Components</h2><h3>Query transformer</h3><p>See <A HREF="mondrian/olap/Parser.html" title="class in mondrian.olap"><CODE>Parser</CODE></A>.</p><h3>Metadata</h3><p>It is represented as an XML file. The metadata is loaded into memory thefirst time you reference a dimensional model. You can modify the model atruntime by creating instances of classes such as <code><A HREF="mondrian/rolap/RolapHierarchy.html" title="class in mondrian.rolap"><CODE>RolapHierarchy</CODE></A></code>.</p><h3>Calculation layer</h3><p><i>todo</i>: See <A HREF="mondrian/olap/Query.html" title="class in mondrian.olap"><CODE>Query</CODE></A> and <A HREF="mondrian/olap/Result.html" title="interface in mondrian.olap"><CODE>Result</CODE></A>.</p><p><i>todo</i>: The <code>package <CODE>mondrian.rolap</CODE></code>. is the one andonly implementation of the API. The DriverManager (<code>class <A HREF="mondrian/olap/DriverManager.html" title="class in mondrian.olap"><CODE>DriverManager</CODE></A></code>) acts as class-factory.</p><p><i>todo</i>: How members are calculated...</p><p><i>todo</i>: How aggregations are batched...</p><p><i>todo</i>: MDX functions. See <a href="#User_defined_functions">user-defined functions</a>.</p><h3>Aggregation manager</h3><p>Aggregations are based upon the relational model: as far as the aggregationmanager is concerned, there is no relationship between the columns <code>city</code>and <code>state</code>. This means that all roll-ups are the same: you just dropa column. Consider the 3 roll-ups possible by dropping a column from theaggregation {<code>gender</code>, <code>city</code>, <code>state</code>}:dropping <code>gender</code> is equivalent to removing the <code>[Gender]</code>dimension; dropping <code>city</code> is equivalent to rolling up to a higherlevel in the <code>[Geography]</code> hierarchy; and dropping <code>state</code>is not even allowed in the dimensional model (no, sorry, you can't ask aboutproducts sold in a cities called 'Portland'). This approach will also allow usto implement 'drill anywhere'.</p><p>An aggregation is defined by a search condition, for example, <code>{state in('CA', 'OR', 'WA'), city = <i>any</i>, gender = 'M', measure = 'Unit sales'}</code>.The <i><code>any</code></i> value is important; if we had asked for a specificset of cities, we would not later be able to roll-up by dropping the <code>city</code>column.</p><p>The caching strategy is to throw out the aggregation with the lowestcost/benefit ratio. The 'benefit' of an item is the effort it took to produce(effort which it is saving future queries) multiplied by its 'usefulness' whichdeclines exponentially if it is not used over time. The 'cost' of an item is itssize.</p><hr><table border="0" class="clsStd" width="100%" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0">  <tr>    <td>      $Id: //open/mondrian-release/3.0/src/main/overview.html#2 $      (<a href="http://perforce.eigenbase.org:8080/open/mondrian/src/main/overview.html?ac=22">log</a>)    </td>  </tr></table><P><P><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net/projects/mondrian"><img src="http://sourceforge.net/sflogo.php?group_id=35302&type=1" width="88" height="31" border="0" alt="SourceForge.net_Logo"></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV&nbsp;&nbsp;NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="index.html?overview-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="overview-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -