valuecalc.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 502 行 · 第 1/3 页
HTML
502 行
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="ValueCalc(mondrian.olap.Exp)"><!-- --></A><H3>ValueCalc</H3><PRE>public <B>ValueCalc</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A> exp)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="evaluate(mondrian.olap.Evaluator)"><!-- --></A><H3>evaluate</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>evaluate</B>(<A HREF="../../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A> evaluator)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/Calc.html#evaluate(mondrian.olap.Evaluator)">Calc</A></CODE></B></DD><DD>Evaluates this expression.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>evaluator</CODE> - Provides dimensional context in which to evaluate this expression<DT><B>Returns:</B><DD>Result of expression evaluation</DL></DD></DL><HR><A NAME="getCalcs()"><!-- --></A><H3>getCalcs</H3><PRE>public <A HREF="../../../mondrian/calc/Calc.html" title="interface in mondrian.calc">Calc</A>[] <B>getCalcs</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../mondrian/calc/impl/AbstractCalc.html#getCalcs()">AbstractCalc</A></CODE></B></DD><DD>Returns this expression's child expressions.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/impl/AbstractCalc.html#getCalcs()">getCalcs</A></CODE> in class <CODE><A HREF="../../../mondrian/calc/impl/AbstractCalc.html" title="class in mondrian.calc.impl">AbstractCalc</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="dependsOn(mondrian.olap.Dimension)"><!-- --></A><H3>dependsOn</H3><PRE>public boolean <B>dependsOn</B>(<A HREF="../../../mondrian/olap/Dimension.html" title="interface in mondrian.olap">Dimension</A> dimension)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/Calc.html#dependsOn(mondrian.olap.Dimension)">Calc</A></CODE></B></DD><DD>Returns whether this expression depends upon a given dimension. <p>If it does not depend on the dimension, then re-evaluating the expression with a different member of this context must produce the same answer.<p/> Some examples:<ul> <li>The expression <blockquote><code>[Measures].[Unit Sales]</code></blockquote> depends on all dimensions except <code>[Measures]</code>. <li>The boolean expression <blockquote><code>([Measures].[Unit Sales], [Time].[1997]) > 1000</code></blockquote> depends on all dimensions except [Measures] and [Time]. <li>The list expression <blockquote><code>Filter([Store].[USA].Children, [Measures].[Unit Sales] < 50)</code></pre></blockquote> depends upon all dimensions <em>except</em> [Store] and [Measures]. How so? Normally the scalar expression would depend upon all dimensions except [Measures], but the <code>Filter</code> function sets the [Store] context before evaluating the scalar expression, so it is not inherited from the surrounding context. </ul><p/><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/Calc.html#dependsOn(mondrian.olap.Dimension)">dependsOn</A></CODE> in interface <CODE><A HREF="../../../mondrian/calc/Calc.html" title="interface in mondrian.calc">Calc</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../mondrian/calc/impl/AbstractCalc.html#dependsOn(mondrian.olap.Dimension)">dependsOn</A></CODE> in class <CODE><A HREF="../../../mondrian/calc/impl/AbstractCalc.html" title="class in mondrian.calc.impl">AbstractCalc</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dimension</CODE> - Dimension<DT><B>Returns:</B><DD>Whether this expression's result depends upon the current member of the dimension</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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"> <A HREF="../../../mondrian/calc/impl/TupleValueCalc.html" title="class in mondrian.calc.impl"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?mondrian/calc/impl/ValueCalc.html" target="_top"><B>FRAMES</B></A> <A HREF="ValueCalc.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#fields_inherited_from_class_mondrian.calc.impl.AbstractCalc">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?