📄 levelexpr.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../mondrian/olap/Exp.html#unparse(java.io.PrintWriter)">unparse</A></CODE></TD></TR></TABLE> <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="LevelExpr(mondrian.olap.Level)"><!-- --></A><H3>LevelExpr</H3><PRE>public <B>LevelExpr</B>(<A HREF="../../mondrian/olap/Level.html" title="interface in mondrian.olap">Level</A> level)</PRE><DL><DD>Creates a level expression.<P><DL><DT><B>Parameters:</B><DD><CODE>level</CODE> - Level<DT><B>Pre-condition:</B></DT> <DD>level != null</DD></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="getLevel()"><!-- --></A><H3>getLevel</H3><PRE>public <A HREF="../../mondrian/olap/Level.html" title="interface in mondrian.olap">Level</A> <B>getLevel</B>()</PRE><DL><DD>Returns the level.<P><DD><DL></DL></DD><DD><DL><DT><B>Post-condition:</B></DT> <DD>return != null</DD></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</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#toString()" title="class or interface in java.lang">toString</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="getType()"><!-- --></A><H3>getType</H3><PRE>public <A HREF="../../mondrian/olap/type/Type.html" title="interface in mondrian.olap.type">Type</A> <B>getType</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Exp.html#getType()">Exp</A></CODE></B></DD><DD>Returns the type of this expression. Never null.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Exp.html#getType()">getType</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="../../mondrian/mdx/LevelExpr.html" title="class in mondrian.mdx">LevelExpr</A> <B>clone</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Exp.html#clone()">clone</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/ExpBase.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../mondrian/olap/ExpBase.html" title="class in mondrian.olap">ExpBase</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getCategory()"><!-- --></A><H3>getCategory</H3><PRE>public int <B>getCategory</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Exp.html#getCategory()">Exp</A></CODE></B></DD><DD>Returns the <A HREF="../../mondrian/olap/Category.html" title="class in mondrian.olap"><CODE>Category</CODE></A> of the expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Exp.html#getCategory()">getCategory</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="accept(mondrian.olap.Validator)"><!-- --></A><H3>accept</H3><PRE>public <A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A> <B>accept</B>(<A HREF="../../mondrian/olap/Validator.html" title="interface in mondrian.olap">Validator</A> validator)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Exp.html#accept(mondrian.olap.Validator)">Exp</A></CODE></B></DD><DD>Validates this expression. The validator acts in the role of 'visitor' (see Gang of Four 'visitor pattern'), and an expression in the role of 'visitee'.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Exp.html#accept(mondrian.olap.Validator)">accept</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>validator</CODE> - Validator contains validation context<DT><B>Returns:</B><DD>The validated expression; often but not always the same as this expression</DL></DD></DL><HR><A NAME="accept(mondrian.calc.ExpCompiler)"><!-- --></A><H3>accept</H3><PRE>public <A HREF="../../mondrian/calc/Calc.html" title="interface in mondrian.calc">Calc</A> <B>accept</B>(<A HREF="../../mondrian/calc/ExpCompiler.html" title="interface in mondrian.calc">ExpCompiler</A> compiler)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Exp.html#accept(mondrian.calc.ExpCompiler)">Exp</A></CODE></B></DD><DD>Converts this expression into an a tree of expressions which can be efficiently evaluated.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Exp.html#accept(mondrian.calc.ExpCompiler)">accept</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../mondrian/olap/ExpBase.html#accept(mondrian.calc.ExpCompiler)">accept</A></CODE> in class <CODE><A HREF="../../mondrian/olap/ExpBase.html" title="class in mondrian.olap">ExpBase</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A compiled expression</DL></DD></DL><HR><A NAME="accept(mondrian.mdx.MdxVisitor)"><!-- --></A><H3>accept</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>accept</B>(<A HREF="../../mondrian/mdx/MdxVisitor.html" title="interface in mondrian.mdx">MdxVisitor</A> visitor)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Exp.html#accept(mondrian.mdx.MdxVisitor)">Exp</A></CODE></B></DD><DD>Accepts a visitor to this Exp. The implementation should generally dispatches to the <A HREF="../../mondrian/mdx/MdxVisitor.html#visit(mondrian.olap.Query)"><CODE>MdxVisitor.visit(mondrian.olap.Query)</CODE></A> method appropriate to the type of expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/Exp.html#accept(mondrian.mdx.MdxVisitor)">accept</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>visitor</CODE> - Visitor</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/mdx/HierarchyExpr.html" title="class in mondrian.mdx"><B>PREV CLASS</B></A> <A HREF="../../mondrian/mdx/MdxVisitor.html" title="interface in mondrian.mdx"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?mondrian/mdx/LevelExpr.html" target="_top"><B>FRAMES</B></A> <A HREF="LevelExpr.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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -