udfresolver.html

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

HTML
473
字号
public <B>UdfResolver</B>(<A HREF="../../../mondrian/spi/UserDefinedFunction.html" title="interface in mondrian.spi">UserDefinedFunction</A>&nbsp;udf)</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="getName()"><!-- --></A><H3>getName</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>getName</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getName()">Resolver</A></CODE></B></DD><DD>Returns the name of the function or operator.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</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>getDescription</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getDescription()">Resolver</A></CODE></B></DD><DD>Returns the description of the function or operator.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getDescription()">getDescription</A></CODE> in interface <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getSignature()"><!-- --></A><H3>getSignature</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>getSignature</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getSignature()">Resolver</A></CODE></B></DD><DD>Returns a string describing the syntax of this function, for example <pre><code>StrToSet(<String Expression>)</code></pre><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getSignature()">getSignature</A></CODE> in interface <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getSyntax()"><!-- --></A><H3>getSyntax</H3><PRE>public <A HREF="../../../mondrian/olap/Syntax.html" title="enum in mondrian.olap">Syntax</A> <B>getSyntax</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getSyntax()">Resolver</A></CODE></B></DD><DD>Returns the syntax with which the function or operator was invoked.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getSyntax()">getSyntax</A></CODE> in interface <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getFunDef()"><!-- --></A><H3>getFunDef</H3><PRE>public <A HREF="../../../mondrian/olap/FunDef.html" title="interface in mondrian.olap">FunDef</A> <B>getFunDef</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getFunDef()">Resolver</A></CODE></B></DD><DD>Returns a representative example of the function which this Resolver can produce, for purposes of describing the function set. May return null if there is no representative function, or if the Resolver has a way to describe itself in more detail.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getFunDef()">getFunDef</A></CODE> in interface <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="resolve(mondrian.olap.Exp[], mondrian.olap.Validator, int[])"><!-- --></A><H3>resolve</H3><PRE>public <A HREF="../../../mondrian/olap/FunDef.html" title="interface in mondrian.olap">FunDef</A> <B>resolve</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,                      int[]&nbsp;conversionCount)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#resolve(mondrian.olap.Exp[], mondrian.olap.Validator, int[])">Resolver</A></CODE></B></DD><DD>Given a particular set of arguments the function is applied to, returns the correct overloaded form of the function. <p>The method must increment <code>conversionCount</code> argument every time it performs an implicit type-conversion. If there are several candidate functions with the same signature, the validator will choose the one which used the fewest implicit conversions.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#resolve(mondrian.olap.Exp[], mondrian.olap.Validator, int[])">resolve</A></CODE> in interface <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - Expressions which this function call is applied to.<DD><CODE>validator</CODE> - Validator<DD><CODE>conversionCount</CODE> - This argument must be an  <code>int</code> array   with a single element; in effect, it is an in/out parameter. It   The method increments the count every time it performs a conversion.<DT><B>Returns:</B><DD>The function definition which matches these arguments, or null   if no function definition that this resolver knows about matches.</DL></DD></DL><HR><A NAME="requiresExpression(int)"><!-- --></A><H3>requiresExpression</H3><PRE>public boolean <B>requiresExpression</B>(int&nbsp;k)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#requiresExpression(int)">Resolver</A></CODE></B></DD><DD>Returns whether a particular argument must be a scalar expression. Returns <code>false</code> if any of the variants of this resolver allows a set as its <code>k</code>th argument; true otherwise.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#requiresExpression(int)">requiresExpression</A></CODE> in interface <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getReservedWords()"><!-- --></A><H3>getReservedWords</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>getReservedWords</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getReservedWords()">Resolver</A></CODE></B></DD><DD>Returns an array of symbolic constants which can appear as arguments to this function. <p>For example, the <code>DrilldownMember</code> may take the symbol <code>RECURSIVE</code> as an argument. Most functions do not define any symbolic constants.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/olap/fun/Resolver.html#getReservedWords()">getReservedWords</A></CODE> in interface <CODE><A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of the names of the symbolic constants</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/fun/TupleToStrFunDef.html" title="class in mondrian.olap.fun"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../mondrian/olap/fun/UnionFunDef.html" title="class in mondrian.olap.fun"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?mondrian/olap/fun/UdfResolver.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="UdfResolver.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;FIELD&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;FIELD&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 + -
显示快捷键?