rolapcube.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 1,222 行 · 第 1/5 页
HTML
1,222 行
</DL><HR><A NAME="getSchemaReader(mondrian.olap.Role)"><!-- --></A><H3>getSchemaReader</H3><PRE>public <A HREF="../../mondrian/olap/SchemaReader.html" title="interface in mondrian.olap">SchemaReader</A> <B>getSchemaReader</B>(<A HREF="../../mondrian/olap/Role.html" title="interface in mondrian.olap">Role</A> role)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Cube.html#getSchemaReader(mondrian.olap.Role)">Cube</A></CODE></B></DD><DD>Returns a <A HREF="../../mondrian/olap/SchemaReader.html" title="interface in mondrian.olap"><CODE>SchemaReader</CODE></A> for which this cube is the context for lookup up members. If <code>role</code> is null, the returned schema reader also obeys the access-control profile of role.<P><DD><DL></DL></DD></DL><HR><A NAME="lookup(mondrian.olap.MondrianDef.CubeDimension[], java.lang.String)"><!-- --></A><H3>lookup</H3><PRE><A HREF="../../mondrian/olap/MondrianDef.CubeDimension.html" title="class in mondrian.olap">MondrianDef.CubeDimension</A> <B>lookup</B>(<A HREF="../../mondrian/olap/MondrianDef.CubeDimension.html" title="class in mondrian.olap">MondrianDef.CubeDimension</A>[] xmlDimensions, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isCacheAggregations()"><!-- --></A><H3>isCacheAggregations</H3><PRE>public boolean <B>isCacheAggregations</B>()</PRE><DL><DD>Returns true if this Cube is either virtual or if the Cube's RolapStar is caching aggregates.<P><DD><DL><DT><B>Returns:</B><DD>Whether this Cube's RolapStar should cache aggregations</DL></DD></DL><HR><A NAME="setCacheAggregations(boolean)"><!-- --></A><H3>setCacheAggregations</H3><PRE>public void <B>setCacheAggregations</B>(boolean cache)</PRE><DL><DD>Set if this (non-virtual) Cube's RolapStar should cache aggregations.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>cache</CODE> - Whether this Cube's RolapStar should cache aggregations</DL></DD></DL><HR><A NAME="clearCachedAggregations()"><!-- --></A><H3>clearCachedAggregations</H3><PRE>public void <B>clearCachedAggregations</B>()</PRE><DL><DD>Clear the in memory aggregate cache associated with this Cube, but only if Disabling Caching has been enabled.<P><DD><DL></DL></DD></DL><HR><A NAME="clearCachedAggregations(boolean)"><!-- --></A><H3>clearCachedAggregations</H3><PRE>public void <B>clearCachedAggregations</B>(boolean forced)</PRE><DL><DD>Clear the in memory aggregate cache associated with this Cube.<P><DD><DL></DL></DD></DL><HR><A NAME="checkAggregateModifications()"><!-- --></A><H3>checkAggregateModifications</H3><PRE>public void <B>checkAggregateModifications</B>()</PRE><DL><DD>Check if there are modifications in the aggregations cache<P><DD><DL></DL></DD></DL><HR><A NAME="pushAggregateModificationsToGlobalCache()"><!-- --></A><H3>pushAggregateModificationsToGlobalCache</H3><PRE>public void <B>pushAggregateModificationsToGlobalCache</B>()</PRE><DL><DD>Push all modifications of the aggregations to global cache, so other queries can start using the new cache<P><DD><DL></DL></DD></DL><HR><A NAME="getStar()"><!-- --></A><H3>getStar</H3><PRE>public <A HREF="../../mondrian/rolap/RolapStar.html" title="class in mondrian.rolap">RolapStar</A> <B>getStar</B>()</PRE><DL><DD>Returns this cube's underlying star schema.<P><DD><DL></DL></DD></DL><HR><A NAME="createUsage(mondrian.rolap.RolapCubeHierarchy, mondrian.olap.MondrianDef.CubeDimension)"><!-- --></A><H3>createUsage</H3><PRE>void <B>createUsage</B>(<A HREF="../../mondrian/rolap/RolapCubeHierarchy.html" title="class in mondrian.rolap">RolapCubeHierarchy</A> hierarchy, <A HREF="../../mondrian/olap/MondrianDef.CubeDimension.html" title="class in mondrian.olap">MondrianDef.CubeDimension</A> cubeDim)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getUsages(mondrian.olap.Hierarchy)"><!-- --></A><H3>getUsages</H3><PRE>public <A HREF="../../mondrian/rolap/HierarchyUsage.html" title="class in mondrian.rolap">HierarchyUsage</A>[] <B>getUsages</B>(<A HREF="../../mondrian/olap/Hierarchy.html" title="interface in mondrian.olap">Hierarchy</A> hierarchy)</PRE><DL><DD>A Hierarchy may have one or more HierarchyUsages. This method returns an array holding the one or more usages associated with a Hierarchy. The HierarchyUsages hierarchyName attribute always equals the name attribute of the Hierarchy.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hierarchy</CODE> - Hierarchy<DT><B>Returns:</B><DD>an HierarchyUsages array with 0 or more members.</DL></DD></DL><HR><A NAME="getFirstUsage(mondrian.olap.Hierarchy)"><!-- --></A><H3>getFirstUsage</H3><PRE><A HREF="../../mondrian/rolap/HierarchyUsage.html" title="class in mondrian.rolap">HierarchyUsage</A> <B>getFirstUsage</B>(<A HREF="../../mondrian/olap/Hierarchy.html" title="interface in mondrian.olap">Hierarchy</A> hier)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="registerDimension(mondrian.rolap.RolapCubeDimension)"><!-- --></A><H3>registerDimension</H3><PRE>void <B>registerDimension</B>(<A HREF="../../mondrian/rolap/RolapCubeDimension.html" title="class in mondrian.rolap">RolapCubeDimension</A> dimension)</PRE><DL><DD>Understand this and you are no longer a novice.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dimension</CODE> - Dimension</DL></DD></DL><HR><A NAME="makeColumns(mondrian.rolap.RolapStar.Table, mondrian.rolap.RolapCubeLevel, mondrian.rolap.RolapStar.Column, java.lang.String)"><!-- --></A><H3>makeColumns</H3><PRE>protected <A HREF="../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A> <B>makeColumns</B>(<A HREF="../../mondrian/rolap/RolapStar.Table.html" title="class in mondrian.rolap">RolapStar.Table</A> table, <A HREF="../../mondrian/rolap/RolapCubeLevel.html" title="class in mondrian.rolap">RolapCubeLevel</A> level, <A HREF="../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A> parentColumn, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> usagePrefix)</PRE><DL><DD>Adds a column to the appropriate table in the <A HREF="../../mondrian/rolap/RolapStar.html" title="class in mondrian.rolap"><CODE>RolapStar</CODE></A>. Note that if the RolapLevel has a table attribute, then the associated column needs to be associated with that table.<P><DD><DL></DL></DD></DL><HR><A NAME="shouldIgnoreUnrelatedDimensions(java.lang.String)"><!-- --></A><H3>shouldIgnoreUnrelatedDimensions</H3><PRE>public boolean <B>shouldIgnoreUnrelatedDimensions</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> baseCubeName)</PRE><DL><DD>This method tells us if unrelated dimensions to measures from the input base cube should be pushed to default member or not during aggregation.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>baseCubeName</CODE> - name of the base cube for which we want to check this property<DT><B>Returns:</B><DD>boolean</DL></DD></DL><HR><A NAME="getMembersForQuery(java.lang.String, java.util.List)"><!-- --></A><H3>getMembersForQuery</H3><PRE>public <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[] <B>getMembersForQuery</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> query, <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/Member.html" title="interface in mondrian.olap">Member</A>> calcMembers)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/Cube.html#getMembersForQuery(java.lang.String, java.util.List)">Cube</A></CODE></B></DD><DD>Returns Member[]. It builds Member[] by analyzing cellset, which gets created by running mdx sQuery. <code>query</code> has to be in the format of something like "[with calculated members] select *members* on columns from <code>this</code>".<P><DD><DL></DL></DD></DL><HR><A NAME="nonJoiningDimensions(mondrian.olap.Member[])"><!-- --></A><H3>nonJoiningDimensions</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A><<A HREF="../../mondrian/olap/Dimension.html" title="interface in mondrian.olap">Dimension</A>> <B>nonJoiningDimensions</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[] tuple)</PRE><DL><DD>Finds out non joining dimensions for this cube. Useful for finding out non joining dimensions for a stored measure from a base cube.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>tuple</CODE> - array of members
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?