abstractexpcompiler.html

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

HTML
853
字号
<CODE>&nbsp;<A HREF="../../../mondrian/calc/DimensionCalc.html" title="interface in mondrian.calc">DimensionCalc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileDimension(mondrian.olap.Exp)">compileDimension</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression which yields a <A HREF="../../../mondrian/olap/Dimension.html" title="interface in mondrian.olap"><CODE>Dimension</CODE></A> result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/DoubleCalc.html" title="interface in mondrian.calc">DoubleCalc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileDouble(mondrian.olap.Exp)">compileDouble</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression which yields a <code>double</code> result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/HierarchyCalc.html" title="interface in mondrian.calc">HierarchyCalc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileHierarchy(mondrian.olap.Exp)">compileHierarchy</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression which yields a <A HREF="../../../mondrian/olap/Hierarchy.html" title="interface in mondrian.olap"><CODE>Hierarchy</CODE></A> result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/IntegerCalc.html" title="interface in mondrian.calc">IntegerCalc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileInteger(mondrian.olap.Exp)">compileInteger</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression which yields an <code>int</code> result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/IterCalc.html" title="interface in mondrian.calc">IterCalc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileIter(mondrian.olap.Exp)">compileIter</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression which yields an immutable <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html" title="class or interface in java.lang"><CODE>Iterable</CODE></A> result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/LevelCalc.html" title="interface in mondrian.calc">LevelCalc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileLevel(mondrian.olap.Exp)">compileLevel</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression which yields a <A HREF="../../../mondrian/olap/Level.html" title="interface in mondrian.olap"><CODE>Level</CODE></A> result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/ListCalc.html" title="interface in mondrian.calc">ListCalc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileList(mondrian.olap.Exp)">compileList</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression which yields an immutable <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util"><CODE>List</CODE></A> result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/ListCalc.html" title="interface in mondrian.calc">ListCalc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileList(mondrian.olap.Exp, boolean)">compileList</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp,            boolean&nbsp;mutable)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression which yields <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util"><CODE>List</CODE></A> result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/MemberCalc.html" title="interface in mondrian.calc">MemberCalc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileMember(mondrian.olap.Exp)">compileMember</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression which yields a <A HREF="../../../mondrian/olap/Member.html" title="interface in mondrian.olap"><CODE>Member</CODE></A> result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/Calc.html" title="interface in mondrian.calc">Calc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileScalar(mondrian.olap.Exp, boolean)">compileScalar</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp,              boolean&nbsp;specific)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression to yield a scalar result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/StringCalc.html" title="interface in mondrian.calc">StringCalc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileString(mondrian.olap.Exp)">compileString</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression which yields a <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A> result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/TupleCalc.html" title="interface in mondrian.calc">TupleCalc</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#compileTuple(mondrian.olap.Exp)">compileTuple</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression which yields a tuple result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/calc/ResultStyle.html" title="enum in mondrian.calc">ResultStyle</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#getAcceptableResultStyles()">getAcceptableResultStyles</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of the <A HREF="../../../mondrian/calc/ResultStyle.html" title="enum in mondrian.calc"><CODE>ResultStyle</CODE></A>s acceptable to the caller.</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/calc/impl/AbstractExpCompiler.html#getEvaluator()">getEvaluator</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the evaluator to be used for evaluating expressions during the compilation process.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/olap/Validator.html" title="interface in mondrian.olap">Validator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#getValidator()">getValidator</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the validator which was used to validate this expression.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/calc/ParameterSlot.html" title="interface in mondrian.calc">ParameterSlot</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/calc/impl/AbstractExpCompiler.html#registerParameter(mondrian.olap.Parameter)">registerParameter</A></B>(<A HREF="../../../mondrian/olap/Parameter.html" title="interface in mondrian.olap">Parameter</A>&nbsp;parameter)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Implements a parameter, returning a unique slot which will hold the parameter's value.</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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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><!-- ========= 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="AbstractExpCompiler(mondrian.olap.Evaluator, mondrian.olap.Validator)"><!-- --></A><H3>AbstractExpCompiler</H3><PRE>public <B>AbstractExpCompiler</B>(<A HREF="../../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A>&nbsp;evaluator,                           <A HREF="../../../mondrian/olap/Validator.html" title="interface in mondrian.olap">Validator</A>&nbsp;validator)</PRE><DL><DD>Creates an AbstractExpCompiler<P><DL><DT><B>Parameters:</B><DD><CODE>evaluator</CODE> - Evaluator<DD><CODE>validator</CODE> - Validator</DL></DL><HR><A NAME="AbstractExpCompiler(mondrian.olap.Evaluator, mondrian.olap.Validator, java.util.List)"><!-- --></A><H3>AbstractExpCompiler</H3><PRE>public <B>AbstractExpCompiler</B>(<A HREF="../../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A>&nbsp;evaluator,                           <A HREF="../../../mondrian/olap/Validator.html" title="interface in mondrian.olap">Validator</A>&nbsp;validator,                           <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/calc/ResultStyle.html" title="enum in mondrian.calc">ResultStyle</A>&gt;&nbsp;resultStyles)</PRE><DL><DD>Creates an AbstractExpCompiler which is constrained to produce one of a set of result styles.<P><DL><DT><B>Parameters:</B><DD><CODE>evaluator</CODE> - Evaluator<DD><CODE>validator</CODE> - Validator<DD><CODE>resultStyles</CODE> - List of result styles, preferred first, must not be</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="getEvaluator()"><!-- --></A><H3>getEvaluator</H3><PRE>public <A HREF="../../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A> <B>getEvaluator</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#getEvaluator()">ExpCompiler</A></CODE></B></DD><DD>Returns the evaluator to be used for evaluating expressions during the compilation process.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#getEvaluator()">getEvaluator</A></CODE> in interface <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html" title="interface in mondrian.calc">ExpCompiler</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getValidator()"><!-- --></A><H3>getValidator</H3><PRE>public <A HREF="../../../mondrian/olap/Validator.html" title="interface in mondrian.olap">Validator</A> <B>getValidator</B>()</PRE>

⌨️ 快捷键说明

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