rolapevaluator.html

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

HTML
1,339 行
字号
<TD><CODE><B><A HREF="../../mondrian/rolap/RolapEvaluator.html#push(mondrian.olap.Member)">push</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new Evaluator with the same context except for one member.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/rolap/RolapEvaluator.html" title="class in mondrian.rolap">RolapEvaluator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapEvaluator.html#push(mondrian.olap.Member[])">push</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[]&nbsp;members)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new Evaluator with each given member overriding the context of the current Evaluator for its dimension.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapEvaluator.html#pushAggregation(java.util.List)">pushAggregation</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;list)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new Aggregator whose aggregation context adds a given list of members or tuples, and whose dimensional context is the same as this Aggregator.</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/RolapEvaluator.html#setCellReader(mondrian.rolap.CellReader)">setCellReader</A></B>(<A HREF="../../mondrian/rolap/CellReader.html" title="interface in mondrian.rolap">CellReader</A>&nbsp;cellReader)</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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapEvaluator.html#setContext(java.util.List)">setContext</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&lt;<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&gt;&nbsp;memberList)</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>&nbsp;<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapEvaluator.html#setContext(mondrian.olap.Member)">setContext</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makes <code>member</code> the current member of its dimension.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapEvaluator.html#setContext(mondrian.olap.Member[])">setContext</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[]&nbsp;members)</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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapEvaluator.html#setEvalAxes(boolean)">setEvalAxes</A></B>(boolean&nbsp;evalAxes)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate whether the evaluator is evaluating the axes</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapEvaluator.html#setIterationLength(int)">setIterationLength</A></B>(int&nbsp;length)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the iteration length for the current evaluator context</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapEvaluator.html#setNonEmpty(boolean)">setNonEmpty</A></B>(boolean&nbsp;nonEmpty)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether an expression evaluation should filter out empty cells.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapEvaluator.html#setSlicerContext(mondrian.olap.Member)">setSlicerContext</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a slicer member to the evaluator context, and remember it as part of the slicer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapEvaluator.html#shouldIgnoreUnrelatedDimensions()">shouldIgnoreUnrelatedDimensions</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if unrelated dimensions to the measure in the current context should be ignored.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="cellReader"><!-- --></A><H3>cellReader</H3><PRE>protected <A HREF="../../mondrian/rolap/CellReader.html" title="interface in mondrian.rolap">CellReader</A> <B>cellReader</B></PRE><DL><DL></DL></DL><HR><A NAME="root"><!-- --></A><H3>root</H3><PRE>protected final <A HREF="../../mondrian/rolap/RolapEvaluator.RolapEvaluatorRoot.html" title="class in mondrian.rolap">RolapEvaluator.RolapEvaluatorRoot</A> <B>root</B></PRE><DL><DL></DL></DL><HR><A NAME="aggregationLists"><!-- --></A><H3>aggregationLists</H3><PRE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&lt;<A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>&gt;&gt; <B>aggregationLists</B></PRE><DL><DD>List of lists of tuples or members, rarely used, but overrides the ordinary dimensional context if set when a cell value comes to be evaluated.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><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="RolapEvaluator(mondrian.rolap.RolapEvaluator.RolapEvaluatorRoot, mondrian.rolap.RolapEvaluator)"><!-- --></A><H3>RolapEvaluator</H3><PRE>protected <B>RolapEvaluator</B>(<A HREF="../../mondrian/rolap/RolapEvaluator.RolapEvaluatorRoot.html" title="class in mondrian.rolap">RolapEvaluator.RolapEvaluatorRoot</A>&nbsp;root,                         <A HREF="../../mondrian/rolap/RolapEvaluator.html" title="class in mondrian.rolap">RolapEvaluator</A>&nbsp;parent)</PRE><DL><DD>Creates an evaluator.<P><DL><DT><B>Parameters:</B><DD><CODE>root</CODE> - Root context for stack of evaluators (contains information   which does not change during the evaluation)<DD><CODE>parent</CODE> - Parent evaluator, or null if this is the root</DL></DL><HR><A NAME="RolapEvaluator(mondrian.rolap.RolapEvaluator.RolapEvaluatorRoot)"><!-- --></A><H3>RolapEvaluator</H3><PRE>public <B>RolapEvaluator</B>(<A HREF="../../mondrian/rolap/RolapEvaluator.RolapEvaluatorRoot.html" title="class in mondrian.rolap">RolapEvaluator.RolapEvaluatorRoot</A>&nbsp;root)</PRE><DL><DD>Creates an evaluator with no parent.<P><DL><DT><B>Parameters:</B><DD><CODE>root</CODE> - Shared context between this evaluator and its children</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="create(mondrian.olap.Query)"><!-- --></A><H3>create</H3><PRE>public static <A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A> <B>create</B>(<A HREF="../../mondrian/olap/Query.html" title="class in mondrian.olap">Query</A>&nbsp;query)</PRE><DL><DD>Creates an evaluator.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMeasureCube()"><!-- --></A><H3>getMeasureCube</H3><PRE>public <A HREF="../../mondrian/rolap/RolapCube.html" title="class in mondrian.rolap">RolapCube</A> <B>getMeasureCube</B>()</PRE><DL><DD>Returns the base (non-virtual) cube that the current measure in the context belongs to.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#getMeasureCube()">getMeasureCube</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Cube</DL></DD></DL><HR><A NAME="needToReturnNullForUnrelatedDimension(mondrian.olap.Member[])"><!-- --></A><H3>needToReturnNullForUnrelatedDimension</H3><PRE>public boolean <B>needToReturnNullForUnrelatedDimension</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[]&nbsp;members)</PRE><DL><DD>If IgnoreMeasureForNonJoiningDimension is set to true and one or more members are on unrelated dimension for the measure in current context then returns true.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#needToReturnNullForUnrelatedDimension(mondrian.olap.Member[])">needToReturnNullForUnrelatedDimension</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>members</CODE> - dimensions for the members need to be checked whether related or unrelated<DT><B>Returns:</B><DD>boolean</DL></DD></DL><HR><A NAME="getLogger()"><!-- --></A><H3>getLogger</H3><PRE>protected final org.apache.log4j.Logger <B>getLogger</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMembers()"><!-- --></A><H3>

⌨️ 快捷键说明

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