explicitrules.tabledef.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 932 行 · 第 1/3 页
HTML
932 行
<!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:16 EDT 2008 --><TITLE>ExplicitRules.TableDef (Mondrian OLAP Server, version 3.0.4.11371)</TITLE><META NAME="keywords" CONTENT="mondrian.rolap.aggmatcher.ExplicitRules.TableDef class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="ExplicitRules.TableDef (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/rolap/aggmatcher/ExplicitRules.PatternTableDef.html" title="class in mondrian.rolap.aggmatcher"><B>PREV CLASS</B></A> <A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.Level.html" title="class in mondrian.rolap.aggmatcher"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html" target="_top"><B>FRAMES</B></A> <A HREF="ExplicitRules.TableDef.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: <A HREF="#nested_class_summary">NESTED</A> | <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.rolap.aggmatcher</FONT><BR>Class ExplicitRules.TableDef</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.rolap.aggmatcher.ExplicitRules.TableDef</B></PRE><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.NameTableDef.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules.NameTableDef</A>, <A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.PatternTableDef.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules.PatternTableDef</A></DD></DL><DL><DT><B>Enclosing class:</B><DD><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules</A></DD></DL><HR><DL><DT><PRE>public abstract static class <B>ExplicitRules.TableDef</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></DL></PRE><P>This is the base class for the exact name based and name pattern based aggregate table mapping definitions. It contains the mappings for the fact count column, optional ignore columns, foreign key mappings, measure column mappings and level column mappings.<P><P><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><A NAME="nested_class_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>Nested Class Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.Level.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules.TableDef.Level</A></B></CODE><BR> This class is used to map from a Level's symbolic name, [Time].[Year] to the aggregate table's column name, TIME_YEAR.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.Measure.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules.TableDef.Measure</A></B></CODE><BR> This class is used to map from a measure's symbolic name, [Measures].[Unit Sales] to the aggregate table's column name, UNIT_SALES_SUM.</TD></TR></TABLE> <!-- =========== 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="../../../mondrian/rolap/aggmatcher/ExplicitRules.Group.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules.Group</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html#aggGroup">aggGroup</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/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html#factCountName">factCountName</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html#id">id</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html#ignoreCase">ignoreCase</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/List.html" title="class or interface in java.util">List</A><<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/rolap/aggmatcher/ExplicitRules.TableDef.html#ignoreColumnNames">ignoreColumnNames</A></B></CODE><BR> </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/rolap/aggmatcher/ExplicitRules.TableDef.html#ExplicitRules.TableDef(boolean, mondrian.rolap.aggmatcher.ExplicitRules.Group)">ExplicitRules.TableDef</A></B>(boolean ignoreCase, <A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.Group.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules.Group</A> aggGroup)</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/rolap/aggmatcher/ExplicitRules.TableDef.html#add(mondrian.rolap.aggmatcher.ExplicitRules.TableDef.Level)">add</A></B>(<A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.Level.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules.TableDef.Level</A> level)</CODE><BR> Adds a Level.</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/rolap/aggmatcher/ExplicitRules.TableDef.html#add(mondrian.rolap.aggmatcher.ExplicitRules.TableDef.Measure)">add</A></B>(<A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.Measure.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules.TableDef.Measure</A> measure)</CODE><BR> Adds a Measure.</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/rolap/aggmatcher/ExplicitRules.TableDef.html#addFK(mondrian.olap.MondrianDef.AggForeignKey)">addFK</A></B>(<A HREF="../../../mondrian/olap/MondrianDef.AggForeignKey.html" title="class in mondrian.olap">MondrianDef.AggForeignKey</A> fk)</CODE><BR> Add foreign key mapping entry (maps from fact table foreign key column name to aggregate table foreign key column 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/rolap/aggmatcher/ExplicitRules.TableDef.html#addIgnoreColumnName(java.lang.String)">addIgnoreColumnName</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> ignoreName)</CODE><BR> Adds the name of an aggregate table column that is to be ignored.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html#addLevelTo(mondrian.rolap.aggmatcher.ExplicitRules.TableDef, java.lang.String, java.lang.String)">addLevelTo</A></B>(<A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules.TableDef</A> tableDef, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> columnName)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html#addMeasureTo(mondrian.rolap.aggmatcher.ExplicitRules.TableDef, java.lang.String, java.lang.String)">addMeasureTo</A></B>(<A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules.TableDef</A> tableDef, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> column)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html#columnsOK(mondrian.rolap.RolapStar, mondrian.rolap.aggmatcher.JdbcSchema.Table, mondrian.rolap.aggmatcher.JdbcSchema.Table, mondrian.recorder.MessageRecorder)">columnsOK</A></B>(<A HREF="../../../mondrian/rolap/RolapStar.html" title="class in mondrian.rolap">RolapStar</A> star, <A HREF="../../../mondrian/rolap/aggmatcher/JdbcSchema.Table.html" title="class in mondrian.rolap.aggmatcher">JdbcSchema.Table</A> dbFactTable, <A HREF="../../../mondrian/rolap/aggmatcher/JdbcSchema.Table.html" title="class in mondrian.rolap.aggmatcher">JdbcSchema.Table</A> dbTable, <A HREF="../../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A> msgRecorder)</CODE><BR> Checks that ALL of the columns in the dbTable have a mapping in the tableDef.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.Group.html" title="class in mondrian.rolap.aggmatcher">ExplicitRules.Group</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html#getAggGroup()">getAggGroup</A></B>()</CODE><BR> Get the Group with which is a part.</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/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html#getAggregateFK(java.lang.String)">getAggregateFK</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> baseFK)</CODE><BR> Get the name of the aggregate table's foreign key column that matches the base fact table's foreign key column or return null.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) <A HREF="../../../mondrian/rolap/RolapCube.html" title="class in mondrian.rolap">RolapCube</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/aggmatcher/ExplicitRules.TableDef.html#getCube()">getCube</A></B>()</CODE><BR> Get the RolapCube associated with this mapping.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?