funtableimpl.html

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

HTML
736
字号
<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="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#getReservedWords()">getReservedWords</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of words (<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>) which may not be used as identifiers.</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/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#getResolvers()">getResolvers</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of <A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun"><CODE>Resolver</CODE></A> objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#init()">init</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes the function table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#isProperty(java.lang.String)">isProperty</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether a string is a property-style (postfix) operator.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#isReserved(java.lang.String)">isReserved</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether a string is a reserved word.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#makeResolverKey(java.lang.String, mondrian.olap.Syntax)">makeResolverKey</A></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;name,                <A HREF="../../../mondrian/olap/Syntax.html" title="enum in mondrian.olap">Syntax</A>&nbsp;syntax)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#organizeFunctions()">organizeFunctions</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indexes the collection of functions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#requiresExpression(mondrian.mdx.UnresolvedFunCall, int, mondrian.olap.Validator)">requiresExpression</A></B>(<A HREF="../../../mondrian/mdx/UnresolvedFunCall.html" title="class in mondrian.mdx">UnresolvedFunCall</A>&nbsp;call,                   int&nbsp;k,                   <A HREF="../../../mondrian/olap/Validator.html" title="interface in mondrian.olap">Validator</A>&nbsp;validator)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the <code>k</code>th argument to a function call has to be an expression.</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><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="mapNameToResolvers"><!-- --></A><H3>mapNameToResolvers</H3><PRE>protected final <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<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/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A>&gt;&gt; <B>mapNameToResolvers</B></PRE><DL><DD>Maps the upper-case name of a function plus its <A HREF="../../../mondrian/olap/Syntax.html" title="enum in mondrian.olap"><CODE>Syntax</CODE></A> to an array of <A HREF="../../../mondrian/olap/Validator.html" title="interface in mondrian.olap"><CODE>Validator</CODE></A> objects for that name.<P><DL></DL></DL><HR><A NAME="resolverList"><!-- --></A><H3>resolverList</H3><PRE>protected final <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/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A>&gt; <B>resolverList</B></PRE><DL><DD>used during initialization<P><DL></DL></DL><HR><A NAME="funInfoList"><!-- --></A><H3>funInfoList</H3><PRE>protected final <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/olap/fun/FunInfo.html" title="class in mondrian.olap.fun">FunInfo</A>&gt; <B>funInfoList</B></PRE><DL><DL></DL></DL><!-- ========= 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="FunTableImpl()"><!-- --></A><H3>FunTableImpl</H3><PRE>protected <B>FunTableImpl</B>()</PRE><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="init()"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>()</PRE><DL><DD>Initializes the function table.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="makeResolverKey(java.lang.String, mondrian.olap.Syntax)"><!-- --></A><H3>makeResolverKey</H3><PRE>protected static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>makeResolverKey</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;name,                                        <A HREF="../../../mondrian/olap/Syntax.html" title="enum in mondrian.olap">Syntax</A>&nbsp;syntax)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="define(mondrian.olap.FunDef)"><!-- --></A><H3>define</H3><PRE>protected void <B>define</B>(<A HREF="../../../mondrian/olap/FunDef.html" title="interface in mondrian.olap">FunDef</A>&nbsp;funDef)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="define(mondrian.olap.fun.Resolver)"><!-- --></A><H3>define</H3><PRE>protected void <B>define</B>(<A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A>&nbsp;resolver)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addFunInfo(mondrian.olap.fun.Resolver)"><!-- --></A><H3>addFunInfo</H3><PRE>protected void <B>addFunInfo</B>(<A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A>&nbsp;resolver)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getDef(mondrian.olap.Exp[], mondrian.olap.Validator, java.lang.String, mondrian.olap.Syntax)"><!-- --></A><H3>getDef</H3><PRE>public <A HREF="../../../mondrian/olap/FunDef.html" title="interface in mondrian.olap">FunDef</A> <B>getDef</B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>[]&nbsp;args,                     <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/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;funName,                     <A HREF="../../../mondrian/olap/Syntax.html" title="enum in mondrian.olap">Syntax</A>&nbsp;syntax)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/olap/FunTable.html#getDef(mondrian.olap.Exp[], mondrian.olap.Validator, java.lang.String, mondrian.olap.Syntax)">FunTable</A></CODE></B></DD><DD>Resolves a function call to a particular function. If the function is overloaded, returns as precise a match to the argument types as possible.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/olap/FunTable.html#getDef(mondrian.olap.Exp[], mondrian.olap.Validator, java.lang.String, mondrian.olap.Syntax)">getDef</A></CODE> in interface <CODE><A HREF="../../../mondrian/olap/FunTable.html" title="interface in mondrian.olap">FunTable</A></CODE></DL></DD><DD><DL></DL>

⌨️ 快捷键说明

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