parser.html

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

HTML
1,003
字号
</DL><HR><A NAME="error_sym()"><!-- --></A><H3>error_sym</H3><PRE>public int <B>error_sym</B>()</PRE><DL><DD><code>error</code> Symbol index.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>error_sym</CODE> in class <CODE>java_cup.runtime.lr_parser</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="user_init()"><!-- --></A><H3>user_init</H3><PRE>public void <B>user_init</B>()               throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE><DL><DD>User initialization code.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>user_init</CODE> in class <CODE>java_cup.runtime.lr_parser</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE></DL></DD></DL><HR><A NAME="scan()"><!-- --></A><H3>scan</H3><PRE>public java_cup.runtime.Symbol <B>scan</B>()                             throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE><DL><DD>Scan to get the next Symbol.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>scan</CODE> in class <CODE>java_cup.runtime.lr_parser</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE></DL></DD></DL><HR><A NAME="recursivelyParseExp(java.lang.String)"><!-- --></A><H3>recursivelyParseExp</H3><PRE><A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A> <B>recursivelyParseExp</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;s)</PRE><DL><DD>Recursively parses an expression.<P><DD><DL></DL></DD></DL><HR><A NAME="parseInternal(mondrian.olap.Connection, java.lang.String, boolean, mondrian.olap.FunTable, boolean, boolean)"><!-- --></A><H3>parseInternal</H3><PRE><A HREF="../../mondrian/olap/Query.html" title="class in mondrian.olap">Query</A> <B>parseInternal</B>(<A HREF="../../mondrian/olap/Connection.html" title="interface in mondrian.olap">Connection</A>&nbsp;mdxConnection,                    <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;queryString,                    boolean&nbsp;debug,                    <A HREF="../../mondrian/olap/FunTable.html" title="interface in mondrian.olap">FunTable</A>&nbsp;funTable,                    boolean&nbsp;load,                    boolean&nbsp;strictValidation)</PRE><DL><DD>Parses a string to create a <A HREF="../../mondrian/olap/Query.html" title="class in mondrian.olap"><CODE>Query</CODE></A>. Called only by <A HREF="../../mondrian/olap/ConnectionBase.html#parseQuery(java.lang.String)"><CODE>ConnectionBase.parseQuery(java.lang.String)</CODE></A>.<P><DD><DL></DL></DD></DL><HR><A NAME="parseExpression(mondrian.olap.Connection, java.lang.String, boolean, mondrian.olap.FunTable)"><!-- --></A><H3>parseExpression</H3><PRE><A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A> <B>parseExpression</B>(<A HREF="../../mondrian/olap/Connection.html" title="interface in mondrian.olap">Connection</A>&nbsp;mdxConnection,                    <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;queryString,                    boolean&nbsp;debug,                    <A HREF="../../mondrian/olap/FunTable.html" title="interface in mondrian.olap">FunTable</A>&nbsp;funTable)</PRE><DL><DD>Parses a string to create an <A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap"><CODE>Exp</CODE></A>. Called only by <A HREF="../../mondrian/olap/ConnectionBase.html#parseExpression(java.lang.String)"><CODE>ConnectionBase.parseExpression(java.lang.String)</CODE></A>.<P><DD><DL></DL></DD></DL><HR><A NAME="makeQuery(mondrian.olap.Formula[], mondrian.olap.QueryAxis[], java.lang.String, mondrian.olap.Exp, mondrian.olap.QueryPart[])"><!-- --></A><H3>makeQuery</H3><PRE>protected <A HREF="../../mondrian/olap/Query.html" title="class in mondrian.olap">Query</A> <B>makeQuery</B>(<A HREF="../../mondrian/olap/Formula.html" title="class in mondrian.olap">Formula</A>[]&nbsp;formulae,                          <A HREF="../../mondrian/olap/QueryAxis.html" title="class in mondrian.olap">QueryAxis</A>[]&nbsp;axes,                          <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;cube,                          <A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>&nbsp;slicer,                          <A HREF="../../mondrian/olap/QueryPart.html" title="class in mondrian.olap">QueryPart</A>[]&nbsp;cellProps)</PRE><DL><DD>Creates a <A HREF="../../mondrian/olap/Query.html" title="class in mondrian.olap"><CODE>Query</CODE></A> object. Override this function to make your kind of query.<P><DD><DL></DL></DD></DL><HR><A NAME="report_fatal_error(java.lang.String, java.lang.Object)"><!-- --></A><H3>report_fatal_error</H3><PRE>public void <B>report_fatal_error</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;message,                               <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;info)                        throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE>report_fatal_error</CODE> in class <CODE>java_cup.runtime.lr_parser</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE></DL></DD></DL><HR><A NAME="report_error(java.lang.String, java.lang.Object)"><!-- --></A><H3>report_error</H3><PRE>public void <B>report_error</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;message,                         <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;info)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE>report_error</CODE> in class <CODE>java_cup.runtime.lr_parser</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="syntax_error(java_cup.runtime.Symbol)"><!-- --></A><H3>syntax_error</H3><PRE>public void <B>syntax_error</B>(java_cup.runtime.Symbol&nbsp;cur_token)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE>syntax_error</CODE> in class <CODE>java_cup.runtime.lr_parser</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="unrecovered_syntax_error(java_cup.runtime.Symbol)"><!-- --></A><H3>unrecovered_syntax_error</H3><PRE>public void <B>unrecovered_syntax_error</B>(java_cup.runtime.Symbol&nbsp;cur_token)                              throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE>unrecovered_syntax_error</CODE> in class <CODE>java_cup.runtime.lr_parser</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE></DL></DD></DL><HR><A NAME="isFunCall(java.lang.String)"><!-- --></A><H3>isFunCall</H3><PRE>protected boolean <B>isFunCall</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;s)</PRE><DL><DD>Returns whether the given identifier can possibly the name of an operator with property syntax. <p>For example, <code>isFunCall("ORDINAL")</code> returns true because there is a "&lt;Level&gt;.Ordinal" property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="toIdArray(java.util.List)"><!-- --></A><H3>toIdArray</H3><PRE>static <A HREF="../../mondrian/olap/Id.html" title="class in mondrian.olap">Id</A>[] <B>toIdArray</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;idList)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="toExpArray(java.util.List)"><!-- --></A><H3>toExpArray</H3><PRE>static <A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>[] <B>toExpArray</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;expList)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="toFormulaArray(java.util.List)"><!-- --></A><H3>toFormulaArray</H3><PRE>static <A HREF="../../mondrian/olap/Formula.html" title="class in mondrian.olap">Formula</A>[] <B>toFormulaArray</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;formulaList)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="toMemberPropertyArray(java.util.List)"><!-- --></A><H3>toMemberPropertyArray</H3><PRE>static <A HREF="../../mondrian/olap/MemberProperty.html" title="class in mondrian.olap">MemberProperty</A>[] <B>toMemberPropertyArray</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;mpList)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="toQueryPartArray(java.util.List)"><!-- --></A><H3>toQueryPartArray</H3><PRE>static <A HREF="../../mondrian/olap/QueryPart.html" title="class in mondrian.olap">QueryPart</A>[] <B>toQueryPartArray</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;qpList)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="toQueryAxisArray(java.util.List)"><!-- --></A><H3>toQueryAxisArray</H3><PRE>static <A HREF="../../mondrian/olap/QueryAxis.html" title="class in mondrian.olap">QueryAxis</A>[] <B>toQueryAxisArray</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;qpList)</PRE><DL><DD><DL></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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;<A HREF="../../mondrian/olap/ParameterImpl.html" title="class in mondrian.olap"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../mondrian/olap/ParserSym.html" title="interface in mondrian.olap"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?mondrian/olap/Parser.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Parser.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + =
减小字号Ctrl + -
显示快捷键?