rolaphierarchy.html

来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 1,095 行 · 第 1/4 页

HTML
1,095 行
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_15) on Thu Jul 31 17:20:12 EDT 2008 --><TITLE>RolapHierarchy (Mondrian OLAP Server, version 3.0.4.11371)</TITLE><META NAME="keywords" CONTENT="mondrian.rolap.RolapHierarchy class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){    parent.document.title="RolapHierarchy (Mondrian OLAP Server, version 3.0.4.11371)";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../mondrian/rolap/RolapEvaluator.RolapEvaluatorRoot.html" title="class in mondrian.rolap"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../mondrian/rolap/RolapHierarchy.LimitedRollupMember.html" title="class in mondrian.rolap"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?mondrian/rolap/RolapHierarchy.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="RolapHierarchy.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><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">mondrian.rolap</FONT><BR>Class RolapHierarchy</H2><PRE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>  <IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="../../mondrian/olap/OlapElementBase.html" title="class in mondrian.olap">mondrian.olap.OlapElementBase</A>      <IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="../../mondrian/olap/HierarchyBase.html" title="class in mondrian.olap">mondrian.olap.HierarchyBase</A>          <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>mondrian.rolap.RolapHierarchy</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../mondrian/olap/Hierarchy.html" title="interface in mondrian.olap">Hierarchy</A>, <A HREF="../../mondrian/olap/OlapElement.html" title="interface in mondrian.olap">OlapElement</A></DD></DL><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../mondrian/rolap/RolapCubeHierarchy.html" title="class in mondrian.rolap">RolapCubeHierarchy</A></DD></DL><HR><DL><DT><PRE>public class <B>RolapHierarchy</B><DT>extends <A HREF="../../mondrian/olap/HierarchyBase.html" title="class in mondrian.olap">HierarchyBase</A></DL></PRE><P><code>RolapHierarchy</code> implements <A HREF="../../mondrian/olap/Hierarchy.html" title="interface in mondrian.olap"><CODE>Hierarchy</CODE></A> for a ROLAP database.<P><P><DL><DT><B>Since:</B></DT>  <DD>10 August, 2001</DD><DT><B>Version:</B></DT>  <DD>$Id: //open/mondrian-release/3.0/src/main/mondrian/rolap/RolapHierarchy.java#6 $</DD><DT><B>Author:</B></DT>  <DD>jhyde</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><A NAME="nested_class_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Nested Class Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.LimitedRollupMember.html" title="class in mondrian.rolap">RolapHierarchy.LimitedRollupMember</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Substitute for a member in a hierarchy whose rollup policy is 'partial' or 'hidden'.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.RolapCalculatedMeasure.html" title="class in mondrian.rolap">RolapHierarchy.RolapCalculatedMeasure</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculated member which is also a measure (that is, a member of the [Measures] dimension).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) static&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.RolapNullMember.html" title="class in mondrian.rolap">RolapHierarchy.RolapNullMember</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <code>RolapNullMember</code> is the null member of its hierarchy.</TD></TR></TABLE>&nbsp;<!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Field Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) &nbsp;<A HREF="../../mondrian/olap/type/Type.html" title="interface in mondrian.olap.type">Type</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.html#memberType">memberType</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type for members of this hierarchy.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../mondrian/rolap/RolapLevel.html" title="class in mondrian.rolap">RolapLevel</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.html#nullLevel">nullLevel</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The level that the null member belongs too.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../mondrian/olap/MondrianDef.RelationOrJoin.html" title="class in mondrian.olap">MondrianDef.RelationOrJoin</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.html#relation">relation</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../mondrian/olap/MondrianDef.Hierarchy.html" title="class in mondrian.olap">MondrianDef.Hierarchy</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.html#xmlHierarchy">xmlHierarchy</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_mondrian.olap.HierarchyBase"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Fields inherited from class mondrian.olap.<A HREF="../../mondrian/olap/HierarchyBase.html" title="class in mondrian.olap">HierarchyBase</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../mondrian/olap/HierarchyBase.html#allLevelName">allLevelName</A>, <A HREF="../../mondrian/olap/HierarchyBase.html#allMemberName">allMemberName</A>, <A HREF="../../mondrian/olap/HierarchyBase.html#description">description</A>, <A HREF="../../mondrian/olap/HierarchyBase.html#dimension">dimension</A>, <A HREF="../../mondrian/olap/HierarchyBase.html#hasAll">hasAll</A>, <A HREF="../../mondrian/olap/HierarchyBase.html#levels">levels</A>, <A HREF="../../mondrian/olap/HierarchyBase.html#name">name</A>, <A HREF="../../mondrian/olap/HierarchyBase.html#subName">subName</A>, <A HREF="../../mondrian/olap/HierarchyBase.html#uniqueName">uniqueName</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_mondrian.olap.OlapElementBase"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Fields inherited from class mondrian.olap.<A HREF="../../mondrian/olap/OlapElementBase.html" title="class in mondrian.olap">OlapElementBase</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../mondrian/olap/OlapElementBase.html#caption">caption</A></CODE></TD></TR></TABLE>&nbsp;<!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.html#RolapHierarchy(mondrian.rolap.RolapDimension, mondrian.olap.MondrianDef.Hierarchy, mondrian.olap.MondrianDef.CubeDimension)">RolapHierarchy</A></B>(<A HREF="../../mondrian/rolap/RolapDimension.html" title="class in mondrian.rolap">RolapDimension</A>&nbsp;dimension,               <A HREF="../../mondrian/olap/MondrianDef.Hierarchy.html" title="class in mondrian.olap">MondrianDef.Hierarchy</A>&nbsp;xmlHierarchy,               <A HREF="../../mondrian/olap/MondrianDef.CubeDimension.html" title="class in mondrian.olap">MondrianDef.CubeDimension</A>&nbsp;xmlCubeDimension)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <code>RolapHierarchy</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.html#RolapHierarchy(mondrian.rolap.RolapDimension, java.lang.String, boolean)">RolapHierarchy</A></B>(<A HREF="../../mondrian/rolap/RolapDimension.html" title="class in mondrian.rolap">RolapDimension</A>&nbsp;dimension,               <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;subName,               boolean&nbsp;hasAll)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.html#addToFrom(mondrian.rolap.sql.SqlQuery, mondrian.olap.MondrianDef.Expression)">addToFrom</A></B>(<A HREF="../../mondrian/rolap/sql/SqlQuery.html" title="class in mondrian.rolap.sql">SqlQuery</A>&nbsp;query,          <A HREF="../../mondrian/olap/MondrianDef.Expression.html" title="class in mondrian.olap">MondrianDef.Expression</A>&nbsp;expression)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds to the FROM clause of the query the tables necessary to access the members of this hierarchy.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.html#addToFrom(mondrian.rolap.sql.SqlQuery, mondrian.rolap.RolapStar.Table)">addToFrom</A></B>(<A HREF="../../mondrian/rolap/sql/SqlQuery.html" title="class in mondrian.rolap.sql">SqlQuery</A>&nbsp;query,          <A HREF="../../mondrian/rolap/RolapStar.Table.html" title="class in mondrian.rolap">RolapStar.Table</A>&nbsp;table)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a table to the FROM clause of the query.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapHierarchy.html#computeHashCode()">computeHashCode</A></B>()</CODE>

⌨️ 快捷键说明

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