rolapevaluator.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 1,339 行 · 第 1/5 页
HTML
1,339 行
<A NAME="pushAggregation(java.util.List)"><!-- --></A><H3>pushAggregation</H3><PRE>public final <A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A> <B>pushAggregation</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A> list)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Evaluator.html#pushAggregation(java.util.List)">Evaluator</A></CODE></B></DD><DD>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.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#pushAggregation(java.util.List)">pushAggregation</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>list</CODE> - List of members<DT><B>Returns:</B><DD>Aggregator with <code>list</code> added to its aggregation context</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public final boolean <B>equals</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> obj)</PRE><DL><DD>Returns true if the other object is a <A HREF="../../mondrian/rolap/RolapEvaluator.html" title="class in mondrian.rolap"><CODE>RolapEvaluator</CODE></A> with identical context.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public final int <B>hashCode</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setSlicerContext(mondrian.olap.Member)"><!-- --></A><H3>setSlicerContext</H3><PRE>public final void <B>setSlicerContext</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</PRE><DL><DD>Adds a slicer member to the evaluator context, and remember it as part of the slicer. The slicer members are passed onto derived evaluators so that functions using those evaluators can choose to ignore the slicer members. One such function is CrossJoin emptiness check.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>member</CODE> - a member in the slicer</DL></DD></DL><HR><A NAME="getSlicerMembers()"><!-- --></A><H3>getSlicerMembers</H3><PRE>public final <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>> <B>getSlicerMembers</B>()</PRE><DL><DD>Return the list of slicer members in the current evaluator context.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>slicerMembers</DL></DD></DL><HR><A NAME="setContext(mondrian.olap.Member)"><!-- --></A><H3>setContext</H3><PRE>public final <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> <B>setContext</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Evaluator.html#setContext(mondrian.olap.Member)">Evaluator</A></CODE></B></DD><DD>Makes <code>member</code> the current member of its dimension. Returns the previous context.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#setContext(mondrian.olap.Member)">setContext</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setContext(java.util.List)"><!-- --></A><H3>setContext</H3><PRE>public final void <B>setContext</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>> memberList)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#setContext(java.util.List)">setContext</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setContext(mondrian.olap.Member[])"><!-- --></A><H3>setContext</H3><PRE>public final void <B>setContext</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[] members)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#setContext(mondrian.olap.Member[])">setContext</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getContext(mondrian.olap.Dimension)"><!-- --></A><H3>getContext</H3><PRE>public final <A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A> <B>getContext</B>(<A HREF="../../mondrian/olap/Dimension.html" title="interface in mondrian.olap">Dimension</A> dimension)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#getContext(mondrian.olap.Dimension)">getContext</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="evaluateCurrent()"><!-- --></A><H3>evaluateCurrent</H3><PRE>public final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>evaluateCurrent</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Evaluator.html#evaluateCurrent()">Evaluator</A></CODE></B></DD><DD>Calculates and returns the value of the cell at the current context.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#evaluateCurrent()">evaluateCurrent</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getExpanding()"><!-- --></A><H3>getExpanding</H3><PRE><A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> <B>getExpanding</B>()</PRE><DL><DD>Returns the calculated member being currently expanded. <p>This can be useful if many calculated members are generated with essentially the same expression. The compiled expression can call this method to find which instance of the member is current, and therefore the calculated members can share the same <A HREF="../../mondrian/calc/Calc.html" title="interface in mondrian.calc"><CODE>Calc</CODE></A> object.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Calculated member currently being expanded</DL></DD></DL><HR><A NAME="getProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3>getProperty</H3><PRE>public final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getProperty</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> defaultValue)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Evaluator.html#getProperty(java.lang.String, java.lang.Object)">Evaluator</A></CODE></B></DD><DD>Retrieves the value of property <code>name</code>. If more than one member in the current context defines that property, the one with the highest solve order has precedence. <p>If the property is not defined, default value is returned.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#getProperty(java.lang.String, java.lang.Object)">getProperty</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getFormatString()"><!-- --></A><H3>getFormatString</H3><PRE>public final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getFormatString</B>()</PRE><DL><DD>Returns the format string for this cell. This is computed by evaluating the format expression in the current context, and therefore different cells may have different format strings.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#getFormatString()">getFormatString</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>Post-condition:</B></DT> <DD>return != null</DD></DL></DD></DL><HR><A NAME="getConnectionLocale()"><!-- --></A><H3>getConnectionLocale</H3><PRE>public final <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A> <B>getConnectionLocale</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Evaluator.html#getConnectionLocale()">Evaluator</A></CODE></B></DD><DD>Returns the connection's locale.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#getConnectionLocale()">getConnectionLocale</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="format(java.lang.Object)"><!-- --></A><H3>format</H3><PRE>public final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>format</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> o)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Evaluator.html#format(java.lang.Object)">Evaluator</A></CODE></B></DD><DD>Formats a value as a string according to the current context's format.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Evaluator.html#format(java.lang.Object)">format</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="format(java.lang.Object, java.lang.String)"><!-- --></A><H3>format</H3>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?