funtableimpl.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 736 行 · 第 1/3 页
HTML
736 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_15) on Thu Jul 31 17:20:25 EDT 2008 --><TITLE>FunTableImpl (Mondrian OLAP Server, version 3.0.4.11371)</TITLE><META NAME="keywords" CONTENT="mondrian.olap.fun.FunTableImpl class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="FunTableImpl (Mondrian OLAP Server, version 3.0.4.11371)";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../mondrian/olap/fun/FunInfo.html" title="class in mondrian.olap.fun"><B>PREV CLASS</B></A> <A HREF="../../../mondrian/olap/fun/FunUtil.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/FunTableImpl.html" target="_top"><B>FRAMES</B></A> <A HREF="FunTableImpl.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">mondrian.olap.fun</FONT><BR>Class FunTableImpl</H2><PRE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>mondrian.olap.fun.FunTableImpl</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../mondrian/olap/FunTable.html" title="interface in mondrian.olap">FunTable</A></DD></DL><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../mondrian/olap/fun/BuiltinFunTable.html" title="class in mondrian.olap.fun">BuiltinFunTable</A>, <A HREF="../../../mondrian/olap/fun/CustomizedFunctionTable.html" title="class in mondrian.olap.fun">CustomizedFunctionTable</A>, <A HREF="../../../mondrian/olap/fun/GlobalFunTable.html" title="class in mondrian.olap.fun">GlobalFunTable</A>, <A HREF="../../../mondrian/rolap/RolapSchema.RolapSchemaFunctionTable.html" title="class in mondrian.rolap">RolapSchema.RolapSchemaFunctionTable</A></DD></DL><HR><DL><DT><PRE>public abstract class <B>FunTableImpl</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../mondrian/olap/FunTable.html" title="interface in mondrian.olap">FunTable</A></DL></PRE><P>Abstract implementation of <A HREF="../../../mondrian/olap/FunTable.html" title="interface in mondrian.olap"><CODE>FunTable</CODE></A>. <p>The derived class must implement <A HREF="../../../mondrian/olap/fun/FunTableImpl.html#defineFunctions()"><CODE>defineFunctions()</CODE></A> to define each function which will be recognized by this table. This method is called from the constructor, after which point, no further functions can be added.<P><P><HR><P><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Field Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../../mondrian/olap/fun/FunInfo.html" title="class in mondrian.olap.fun">FunInfo</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#funInfoList">funInfoList</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<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><<A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A>>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#mapNameToResolvers">mapNameToResolvers</A></B></CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#resolverList">resolverList</A></B></CODE><BR> used during initialization</TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected </CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#FunTableImpl()">FunTableImpl</A></B>()</CODE><BR> </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#addFunInfo(mondrian.olap.fun.Resolver)">addFunInfo</A></B>(<A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A> resolver)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#define(mondrian.olap.FunDef)">define</A></B>(<A HREF="../../../mondrian/olap/FunDef.html" title="interface in mondrian.olap">FunDef</A> funDef)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#define(mondrian.olap.fun.Resolver)">define</A></B>(<A HREF="../../../mondrian/olap/fun/Resolver.html" title="interface in mondrian.olap.fun">Resolver</A> resolver)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#defineFunctions()">defineFunctions</A></B>()</CODE><BR> This method is called from the constructor, to define the set of functions and reserved words recognized.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#defineProperty(java.lang.String)">defineProperty</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> s)</CODE><BR> Defines a word matching a property function name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#defineReserved(java.lang.String)">defineReserved</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> s)</CODE><BR> Defines a reserved word.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../mondrian/olap/FunDef.html" title="interface in mondrian.olap">FunDef</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#getDef(mondrian.olap.Exp[], mondrian.olap.Validator, java.lang.String, mondrian.olap.Syntax)">getDef</A></B>(<A HREF="../../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>[] args, <A HREF="../../../mondrian/olap/Validator.html" title="interface in mondrian.olap">Validator</A> validator, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> funName, <A HREF="../../../mondrian/olap/Syntax.html" title="enum in mondrian.olap">Syntax</A> syntax)</CODE><BR> Resolves a function call to a particular function.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../../mondrian/olap/fun/FunInfo.html" title="class in mondrian.olap.fun">FunInfo</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/olap/fun/FunTableImpl.html#getFunInfoList()">getFunInfoList</A></B>()</CODE><BR> Returns a list of <A HREF="../../../mondrian/olap/fun/FunInfo.html" title="class in mondrian.olap.fun"><CODE>FunInfo</CODE></A> objects.</TD></TR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?