filterfundef.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 440 行 · 第 1/4 页
HTML
440 行
<p>The result must implement the appropriate interface for the result type. For example, a function which returns an integer must return an object which implements <A HREF="../../../mondrian/calc/IntegerCalc.html" title="interface in mondrian.calc"><CODE>IntegerCalc</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/olap/FunDef.html#compileCall(mondrian.mdx.ResolvedFunCall, mondrian.calc.ExpCompiler)">compileCall</A></CODE> in interface <CODE><A HREF="../../../mondrian/olap/FunDef.html" title="interface in mondrian.olap">FunDef</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../mondrian/olap/fun/FunDefBase.html#compileCall(mondrian.mdx.ResolvedFunCall, mondrian.calc.ExpCompiler)">compileCall</A></CODE> in class <CODE><A HREF="../../../mondrian/olap/fun/FunDefBase.html" title="class in mondrian.olap.fun">FunDefBase</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="compileCallIterable(mondrian.mdx.ResolvedFunCall, mondrian.calc.ExpCompiler)"><!-- --></A><H3>compileCallIterable</H3><PRE>protected <A HREF="../../../mondrian/calc/IterCalc.html" title="interface in mondrian.calc">IterCalc</A> <B>compileCallIterable</B>(<A HREF="../../../mondrian/mdx/ResolvedFunCall.html" title="class in mondrian.mdx">ResolvedFunCall</A> call, <A HREF="../../../mondrian/calc/ExpCompiler.html" title="interface in mondrian.calc">ExpCompiler</A> compiler)</PRE><DL><DD>Returns an IterCalc. <p>Here we would like to get either a IterCalc or ListCalc (mutable) from the inner expression. For the IterCalc, its Iterator can be wrapped with another Iterator that filters each element. For the mutable list, remove all members that are filtered.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>call</CODE> - Call<DD><CODE>compiler</CODE> - Compiler<DT><B>Returns:</B><DD>Implementation of this function call in the Iterable result style</DL></DD></DL><HR><A NAME="compileCallList(mondrian.mdx.ResolvedFunCall, mondrian.calc.ExpCompiler)"><!-- --></A><H3>compileCallList</H3><PRE>protected <A HREF="../../../mondrian/calc/ListCalc.html" title="interface in mondrian.calc">ListCalc</A> <B>compileCallList</B>(<A HREF="../../../mondrian/mdx/ResolvedFunCall.html" title="class in mondrian.mdx">ResolvedFunCall</A> call, <A HREF="../../../mondrian/calc/ExpCompiler.html" title="interface in mondrian.calc">ExpCompiler</A> compiler)</PRE><DL><DD>Returns a ListCalc.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>call</CODE> - Call<DD><CODE>compiler</CODE> - Compiler<DT><B>Returns:</B><DD>Implementation of this function call in the List result style</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/olap/fun/ExtractFunDef.html" title="class in mondrian.olap.fun"><B>PREV CLASS</B></A> <A HREF="../../../mondrian/olap/fun/FormatFunDef.html" title="class in mondrian.olap.fun"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?mondrian/olap/fun/FilterFunDef.html" target="_top"><B>FRAMES</B></A> <A HREF="FilterFunDef.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: <A HREF="#nested_classes_inherited_from_class_mondrian.olap.fun.FunUtil">NESTED</A> | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <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 + -
显示快捷键?