rolapstar.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 1,068 行 · 第 1/4 页
HTML
1,068 行
<TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#getAggStars()">getAggStars</A></B>()</CODE><BR> Returns this RolapStar's aggregate table AggStars, ordered in ascending order of size.</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="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/RolapStar.html#getAliasList()">getAliasList</A></B>()</CODE><BR> Returns a list of all aliases used in this star.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#getBitKey(java.lang.String[], java.lang.String[])">getBitKey</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>[] tableAlias, <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> <A HREF="../../mondrian/spi/DataSourceChangeListener.html" title="interface in mondrian.spi">DataSourceChangeListener</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#getChangeListener()">getChangeListener</A></B>()</CODE><BR> Returns the listener for changes to this star's underlying database.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#getColumnCount()">getColumnCount</A></B>()</CODE><BR> Returns this RolapStar's column count.</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/javax/sql/DataSource.html" title="class or interface in javax.sql">DataSource</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#getDataSource()">getDataSource</A></B>()</CODE><BR> Returns the DataSource used to connect to the underlying DBMS.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/rolap/RolapStar.Table.html" title="class in mondrian.rolap">RolapStar.Table</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#getFactTable()">getFactTable</A></B>()</CODE><BR> Returns the fact table at the center of this RolapStar.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/rolap/RolapSchema.html" title="class in mondrian.rolap">RolapSchema</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#getSchema()">getSchema</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/rolap/sql/SqlQuery.html" title="class in mondrian.rolap.sql">SqlQuery</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#getSqlQuery()">getSqlQuery</A></B>()</CODE><BR> Clones an existing SqlQuery to create a new one (this cloning creates one with an empty sql query).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/rolap/sql/SqlQuery.Dialect.html" title="class in mondrian.rolap.sql">SqlQuery.Dialect</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#getSqlQueryDialect()">getSqlQueryDialect</A></B>()</CODE><BR> Returns this RolapStar's SQL dialect.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../mondrian/rolap/RolapStar.Measure.html" title="class in mondrian.rolap">RolapStar.Measure</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#getStarMeasure(mondrian.olap.Member)">getStarMeasure</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/MondrianDef.RelationOrJoin.html" title="class in mondrian.olap">MondrianDef.RelationOrJoin</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#getUniqueRelation(mondrian.olap.MondrianDef.RelationOrJoin, java.lang.String, java.lang.String, java.lang.String)">getUniqueRelation</A></B>(<A HREF="../../mondrian/olap/MondrianDef.RelationOrJoin.html" title="class in mondrian.olap">MondrianDef.RelationOrJoin</A> rel, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> factForeignKey, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> primaryKey, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> primaryKeyTable)</CODE><BR> Generates a unique relational join to the fact table via re-aliasing MondrianDef.Relations currently called in the RolapCubeHierarchy constructor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#isCacheAggregations()">isCacheAggregations</A></B>()</CODE><BR> Returns whether the this RolapStar cache aggregates.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/rolap/agg/Aggregation.html" title="class in mondrian.rolap.agg">Aggregation</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#lookupAggregation(mondrian.rolap.agg.AggregationKey)">lookupAggregation</A></B>(<A HREF="../../mondrian/rolap/agg/AggregationKey.html" title="class in mondrian.rolap.agg">AggregationKey</A> aggregationKey)</CODE><BR> Looks for an existing aggregation over a given set of columns, or returns <code>null</code> if there is none.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#lookupColumn(java.lang.String, java.lang.String)">lookupColumn</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> tableAlias, <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> This is used by TestAggregationManager only.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#lookupColumns(java.lang.String, java.lang.String)">lookupColumns</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> tableAlias, <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> Retrieves a named column, returns null if not found.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/rolap/agg/Aggregation.html" title="class in mondrian.rolap.agg">Aggregation</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#lookupOrCreateAggregation(mondrian.rolap.agg.AggregationKey)">lookupOrCreateAggregation</A></B>(<A HREF="../../mondrian/rolap/agg/AggregationKey.html" title="class in mondrian.rolap.agg">AggregationKey</A> aggregationKey)</CODE><BR> Looks up an aggregation or creates one if it does not exist in an atomic (synchronized) operation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#prepareToLoadAggregates()">prepareToLoadAggregates</A></B>()</CODE><BR> This is a place holder in case in the future we wish to be able to reload aggregates.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#print(java.io.PrintWriter, java.lang.String, boolean)">print</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/PrintWriter.html" title="class or interface in java.io">PrintWriter</A> pw, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> prefix, boolean structure)</CODE><BR> Prints the state of this <code>RolapStar</code></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#pushAggregateModificationsToGlobalCache()">pushAggregateModificationsToGlobalCache</A></B>()</CODE><BR> Checks whether changed modifications may be pushed into global cache.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#reOrderAggStarList()">reOrderAggStarList</A></B>()</CODE><BR> Reorder the list of aggregate stars.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#setCacheAggregations(boolean)">setCacheAggregations</A></B>(boolean cacheAggregations)</CODE><BR> Sets whether to cache database aggregation information; if false, cache is flushed after each query.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#setChangeListener(mondrian.spi.DataSourceChangeListener)">setChangeListener</A></B>(<A HREF="../../mondrian/spi/DataSourceChangeListener.html" title="interface in mondrian.spi">DataSourceChangeListener</A> changeListener)</CODE><BR> Sets the listener for changes to this star's underlying database.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#setDataSource(javax.sql.DataSource)">setDataSource</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html" title="class or interface in javax.sql">DataSource</A> dataSource)</CODE><BR> For testing purposes only.</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/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/RolapStar.html#toString()">toString</A></B>()</CODE><BR> </TD></TR></TABLE> <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#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> <P><!-- ========= 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="RolapStar(mondrian.rolap.RolapSchema, javax.sql.DataSource, mondrian.olap.MondrianDef.Relation)"><!-- --></A><H3>RolapStar</H3><PRE><B>RolapStar</B>(<A HREF="../../mondrian/rolap/RolapSchema.html" title="class in mondrian.rolap">RolapSchema</A> schema, <A HREF="http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html" title="class or interface in javax.sql">DataSource</A> dataSource, <A HREF="../../mondrian/olap/MondrianDef.Relation.html" title="class in mondrian.olap">MondrianDef.Relation</A> fact)</PRE><DL><DD>Creates a RolapStar. Please use <A HREF="../../mondrian/rolap/RolapSchema.RolapStarRegistry.html#getOrCreateStar(mondrian.olap.MondrianDef.Relation)"><CODE>RolapSchema.RolapStarRegistry.getOrCreateStar(mondrian.olap.MondrianDef.Relation)</CODE></A> to create a <A HREF="../../mondrian/rolap/RolapStar.html" title="class in mondrian.rolap"><CODE>RolapStar</CODE></A>.<P></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="getUniqueRelation(mondrian.olap.MondrianDef.RelationOrJoin, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>getUniqueRelation</H3><PRE>public <A HREF="../../mondrian/olap/MondrianDef.RelationOrJoin.html" title="class in mondrian.olap">MondrianDef.RelationOrJoin</A> <B>getUniqueRelation</B>(<A HREF="../../mondrian/olap/MondrianDef.RelationOrJoin.html" title="class in mondrian.olap">MondrianDef.RelationOrJoin</A> rel, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> factForeignKey, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> primaryKey, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> primaryKeyTable)</PRE>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?