rolapstar.html

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

HTML
1,068
字号
<DD>For testing purposes only.<P><DD><DL></DL></DD></DL><HR><A NAME="getDataSource()"><!-- --></A><H3>getDataSource</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html" title="class or interface in javax.sql">DataSource</A> <B>getDataSource</B>()</PRE><DL><DD>Returns the DataSource used to connect to the underlying DBMS.<P><DD><DL><DT><B>Returns:</B><DD>DataSource</DL></DD></DL><HR><A NAME="getStarMeasure(mondrian.olap.Member)"><!-- --></A><H3>getStarMeasure</H3><PRE>public static <A HREF="../../mondrian/rolap/RolapStar.Measure.html" title="class in mondrian.rolap">RolapStar.Measure</A> <B>getStarMeasure</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;member)</PRE><DL><DD>Retrieves the <A HREF="../../mondrian/rolap/RolapStar.Measure.html" title="class in mondrian.rolap"><CODE>RolapStar.Measure</CODE></A> in which a measure is stored.<P><DD><DL></DL></DD></DL><HR><A NAME="lookupColumns(java.lang.String, java.lang.String)"><!-- --></A><H3>lookupColumns</H3><PRE>public <A HREF="../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A>[] <B>lookupColumns</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;tableAlias,                                        <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;columnName)</PRE><DL><DD>Retrieves a named column, returns null if not found.<P><DD><DL></DL></DD></DL><HR><A NAME="lookupColumn(java.lang.String, java.lang.String)"><!-- --></A><H3>lookupColumn</H3><PRE>public <A HREF="../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A> <B>lookupColumn</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;tableAlias,                                     <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;columnName)</PRE><DL><DD>This is used by TestAggregationManager only.<P><DD><DL></DL></DD></DL><HR><A NAME="getBitKey(java.lang.String[], java.lang.String[])"><!-- --></A><H3>getBitKey</H3><PRE>public <A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A> <B>getBitKey</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;tableAlias,                        <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]&nbsp;columnName)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getAliasList()"><!-- --></A><H3>getAliasList</H3><PRE>public <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; <B>getAliasList</B>()</PRE><DL><DD>Returns a list of all aliases used in this star.<P><DD><DL></DL></DD></DL><HR><A NAME="collectColumns(java.util.Collection, mondrian.rolap.RolapStar.Table, mondrian.olap.MondrianDef.Column)"><!-- --></A><H3>collectColumns</H3><PRE>public static void <B>collectColumns</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A>&gt;&nbsp;columnList,                                  <A HREF="../../mondrian/rolap/RolapStar.Table.html" title="class in mondrian.rolap">RolapStar.Table</A>&nbsp;table,                                  <A HREF="../../mondrian/olap/MondrianDef.Column.html" title="class in mondrian.olap">MondrianDef.Column</A>&nbsp;joinColumn)</PRE><DL><DD>Collects all columns in this table and its children. If <code>joinColumn</code> is specified, only considers child tables joined by the given column.<P><DD><DL></DL></DD></DL><HR><A NAME="getSchema()"><!-- --></A><H3>getSchema</H3><PRE>public <A HREF="../../mondrian/rolap/RolapSchema.html" title="class in mondrian.rolap">RolapSchema</A> <B>getSchema</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="generateSql(java.util.List, java.util.List)"><!-- --></A><H3>generateSql</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>generateSql</B>(<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/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A>&gt;&nbsp;columnList,                          <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;&nbsp;columnNameList)</PRE><DL><DD>Generates a SQL statement to read all instances of the given attributes. <p>The SQL statement is of the form <code>SELECT ... FROM ... JOIN ... GROUP BY ...</code>. It is useful for populating an aggregate table.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>columnList</CODE> - List of columns (attributes and measures)<DD><CODE>columnNameList</CODE> - List of column names (must have same cardinality     as <code>columnList</code>)<DT><B>Returns:</B><DD>SQL SELECT statement</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</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>toString</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="print(java.io.PrintWriter, java.lang.String, boolean)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/PrintWriter.html" title="class or interface in java.io">PrintWriter</A>&nbsp;pw,                  <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;prefix,                  boolean&nbsp;structure)</PRE><DL><DD>Prints the state of this <code>RolapStar</code><P><DD><DL><DT><B>Parameters:</B><DD><CODE>pw</CODE> - Writer<DD><CODE>prefix</CODE> - Prefix to print at the start of each line<DD><CODE>structure</CODE> - Whether to print the structure of the star</DL></DD></DL><HR><A NAME="flush(mondrian.olap.CacheControl, mondrian.olap.CacheControl.CellRegion)"><!-- --></A><H3>flush</H3><PRE>public void <B>flush</B>(<A HREF="../../mondrian/olap/CacheControl.html" title="interface in mondrian.olap">CacheControl</A>&nbsp;cacheControl,                  <A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A>&nbsp;region)</PRE><DL><DD>Flushes the contents of a given region of cells from this star.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>cacheControl</CODE> - Cache control API<DD><CODE>region</CODE> - Predicate defining a region of cells</DL></DD></DL><HR><A NAME="getChangeListener()"><!-- --></A><H3>getChangeListener</H3><PRE>public <A HREF="../../mondrian/spi/DataSourceChangeListener.html" title="interface in mondrian.spi">DataSourceChangeListener</A> <B>getChangeListener</B>()</PRE><DL><DD>Returns the listener for changes to this star's underlying database.<P><DD><DL><DT><B>Returns:</B><DD>Returns the Data source change listener.</DL></DD></DL><HR><A NAME="setChangeListener(mondrian.spi.DataSourceChangeListener)"><!-- --></A><H3>setChangeListener</H3><PRE>public void <B>setChangeListener</B>(<A HREF="../../mondrian/spi/DataSourceChangeListener.html" title="interface in mondrian.spi">DataSourceChangeListener</A>&nbsp;changeListener)</PRE><DL><DD>Sets the listener for changes to this star's underlying database.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>changeListener</CODE> - The Data source change listener to set</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/rolap/RolapSchemaReaderTest.html" title="class in mondrian.rolap"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../mondrian/rolap/RolapStar.AliasReplacer.html" title="class in mondrian.rolap"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?mondrian/rolap/RolapStar.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="RolapStar.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;<A HREF="#nested_class_summary">NESTED</A>&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 + -
显示快捷键?