abstractexpcompiler.html

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

HTML
853
字号
<DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#getValidator()">ExpCompiler</A></CODE></B></DD><DD>Returns the validator which was used to validate this expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#getValidator()">getValidator</A></CODE> in interface <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html" title="interface in mondrian.calc">ExpCompiler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>validator</DL></DD></DL><HR><A NAME="compile(mondrian.olap.Exp)"><!-- --></A><H3>compile</H3><PRE>public <A HREF="../../../mondrian/calc/Calc.html" title="interface in mondrian.calc">Calc</A> <B>compile</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</PRE><DL><DD>Compiles an expression. Uses the current ResultStyle to compile the expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compile(mondrian.olap.Exp)">compile</A></CODE> in interface <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html" title="interface in mondrian.calc">ExpCompiler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>exp</CODE> - Expression<DT><B>Returns:</B><DD>Compiled expression</DL></DD></DL><HR><A NAME="compileAs(mondrian.olap.Exp, mondrian.olap.type.Type, java.util.List)"><!-- --></A><H3>compileAs</H3><PRE>public <A HREF="../../../mondrian/calc/Calc.html" title="interface in mondrian.calc">Calc</A> <B>compileAs</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp,                      <A HREF="../../../mondrian/olap/type/Type.html" title="interface in mondrian.olap.type">Type</A>&nbsp;resultType,                      <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;preferredResultTypes)</PRE><DL><DD>Compiles an expression to a given result type. <p>If <code>resultType</code> is not null, casts the expression to that type. Throws an exception if that conversion is not allowed by the type system. <p>The <code>preferredResultStyles</code> parameter specifies a list of desired result styles. It must not be null, but may be empty. Uses a new ResultStyle to compile the expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileAs(mondrian.olap.Exp, mondrian.olap.type.Type, java.util.List)">compileAs</A></CODE> in interface <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html" title="interface in mondrian.calc">ExpCompiler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>exp</CODE> - Expression<DD><CODE>resultType</CODE> - Desired result type, or null to use expression's                   current type<DD><CODE>preferredResultTypes</CODE> - List of result types, in descending order                   of preference. Never null.<DT><B>Returns:</B><DD>Compiled expression, or null if none can satisfy</DL></DD></DL><HR><A NAME="compileMember(mondrian.olap.Exp)"><!-- --></A><H3>compileMember</H3><PRE>public <A HREF="../../../mondrian/calc/MemberCalc.html" title="interface in mondrian.calc">MemberCalc</A> <B>compileMember</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileMember(mondrian.olap.Exp)">ExpCompiler</A></CODE></B></DD><DD>Compiles an expression which yields a <A HREF="../../../mondrian/olap/Member.html" title="interface in mondrian.olap"><CODE>Member</CODE></A> result.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileMember(mondrian.olap.Exp)">compileMember</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="compileLevel(mondrian.olap.Exp)"><!-- --></A><H3>compileLevel</H3><PRE>public <A HREF="../../../mondrian/calc/LevelCalc.html" title="interface in mondrian.calc">LevelCalc</A> <B>compileLevel</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileLevel(mondrian.olap.Exp)">ExpCompiler</A></CODE></B></DD><DD>Compiles an expression which yields a <A HREF="../../../mondrian/olap/Level.html" title="interface in mondrian.olap"><CODE>Level</CODE></A> result.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileLevel(mondrian.olap.Exp)">compileLevel</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="compileDimension(mondrian.olap.Exp)"><!-- --></A><H3>compileDimension</H3><PRE>public <A HREF="../../../mondrian/calc/DimensionCalc.html" title="interface in mondrian.calc">DimensionCalc</A> <B>compileDimension</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileDimension(mondrian.olap.Exp)">ExpCompiler</A></CODE></B></DD><DD>Compiles an expression which yields a <A HREF="../../../mondrian/olap/Dimension.html" title="interface in mondrian.olap"><CODE>Dimension</CODE></A> result.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileDimension(mondrian.olap.Exp)">compileDimension</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="compileHierarchy(mondrian.olap.Exp)"><!-- --></A><H3>compileHierarchy</H3><PRE>public <A HREF="../../../mondrian/calc/HierarchyCalc.html" title="interface in mondrian.calc">HierarchyCalc</A> <B>compileHierarchy</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileHierarchy(mondrian.olap.Exp)">ExpCompiler</A></CODE></B></DD><DD>Compiles an expression which yields a <A HREF="../../../mondrian/olap/Hierarchy.html" title="interface in mondrian.olap"><CODE>Hierarchy</CODE></A> result.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileHierarchy(mondrian.olap.Exp)">compileHierarchy</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="compileInteger(mondrian.olap.Exp)"><!-- --></A><H3>compileInteger</H3><PRE>public <A HREF="../../../mondrian/calc/IntegerCalc.html" title="interface in mondrian.calc">IntegerCalc</A> <B>compileInteger</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileInteger(mondrian.olap.Exp)">ExpCompiler</A></CODE></B></DD><DD>Compiles an expression which yields an <code>int</code> result. The expression is implicitly converted into a scalar.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileInteger(mondrian.olap.Exp)">compileInteger</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="compileString(mondrian.olap.Exp)"><!-- --></A><H3>compileString</H3><PRE>public <A HREF="../../../mondrian/calc/StringCalc.html" title="interface in mondrian.calc">StringCalc</A> <B>compileString</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileString(mondrian.olap.Exp)">ExpCompiler</A></CODE></B></DD><DD>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. The expression is implicitly converted into a scalar.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileString(mondrian.olap.Exp)">compileString</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="compileDateTime(mondrian.olap.Exp)"><!-- --></A><H3>compileDateTime</H3><PRE>public <A HREF="../../../mondrian/calc/DateTimeCalc.html" title="interface in mondrian.calc">DateTimeCalc</A> <B>compileDateTime</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileDateTime(mondrian.olap.Exp)">ExpCompiler</A></CODE></B></DD><DD>Compiles an expression which yields a <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Date.html" title="class or interface in java.util"><CODE>Date</CODE></A> result. The expression is implicitly converted into a scalar.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileDateTime(mondrian.olap.Exp)">compileDateTime</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="compileList(mondrian.olap.Exp)"><!-- --></A><H3>compileList</H3><PRE>public <A HREF="../../../mondrian/calc/ListCalc.html" title="interface in mondrian.calc">ListCalc</A> <B>compileList</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileList(mondrian.olap.Exp)">ExpCompiler</A></CODE></B></DD><DD>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. <p>Always equivalent to <code><A HREF="../../../mondrian/calc/ExpCompiler.html#compileList(mondrian.olap.Exp)"><CODE>ExpCompiler.compileList(mondrian.olap.Exp)</CODE></A>(exp, false)</code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileList(mondrian.olap.Exp)">compileList</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="compileList(mondrian.olap.Exp, boolean)"><!-- --></A><H3>compileList</H3><PRE>public <A HREF="../../../mondrian/calc/ListCalc.html" title="interface in mondrian.calc">ListCalc</A> <B>compileList</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;exp,                            boolean&nbsp;mutable)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/calc/ExpCompiler.html#compileList(mondrian.olap.Exp, boolean)">ExpCompiler</A></CODE></B></DD><DD>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.

⌨️ 快捷键说明

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