cachecontrol.html

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

HTML
995
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a cell region consisting of a range between two members.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createMemberRegion(mondrian.olap.Member, boolean)">createMemberRegion</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;member,                   boolean&nbsp;descendants)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a cell region consisting of a single member.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createMemberSet(boolean, mondrian.olap.Member, boolean, mondrian.olap.Member, boolean)">createMemberSet</A></B>(boolean&nbsp;lowerInclusive,                <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;lowerMember,                boolean&nbsp;upperInclusive,                <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;upperMember,                boolean&nbsp;descendants)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a member set consisting of a range between two members.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createMemberSet(mondrian.olap.Member, boolean)">createMemberSet</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;member,                boolean&nbsp;descendants)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a member set containing either a single member, or a member and its descendants.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createMoveCommand(mondrian.olap.Member, mondrian.olap.Member)">createMoveCommand</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;member,                  <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;loc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a command to Move a member (with its descendants) to a new location, that is to a new parent.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createSetPropertyCommand(mondrian.olap.CacheControl.MemberSet, java.util.Map)">createSetPropertyCommand</A></B>(<A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A>&nbsp;set,                         <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html" title="class or interface in java.util">Map</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>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&gt;&nbsp;propertyValues)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a command to several properties changes over a set of members.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createSetPropertyCommand(mondrian.olap.Member, java.lang.String, java.lang.Object)">createSetPropertyCommand</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;member,                         <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                         <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a command to change one property of a member.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createUnionRegion(mondrian.olap.CacheControl.CellRegion...)">createUnionRegion</A></B>(<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A>...&nbsp;regions)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Forms the union of two or more cell regions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createUnionSet(mondrian.olap.CacheControl.MemberSet...)">createUnionSet</A></B>(<A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A>...&nbsp;sets)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Forms the union of two or more member sets.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#execute(mondrian.olap.CacheControl.MemberEditCommand)">execute</A></B>(<A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A>&nbsp;cmd)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a command that edits the member cache.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#filter(mondrian.olap.Level, mondrian.olap.CacheControl.MemberSet)">filter</A></B>(<A HREF="../../mondrian/olap/Level.html" title="interface in mondrian.olap">Level</A>&nbsp;level,       <A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A>&nbsp;baseSet)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Filters a member set, keeping all members at a given Level.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#flush(mondrian.olap.CacheControl.CellRegion)">flush</A></B>(<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A>&nbsp;region)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Atomically flushes all the cells in the cell cache that correspond to measures in a cube and to a given region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#flush(mondrian.olap.CacheControl.MemberSet)">flush</A></B>(<A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A>&nbsp;set)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Atomically flushes all members in the member cache which belong to a given set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#flushSchema(mondrian.olap.Schema)">flushSchema</A></B>(<A HREF="../../mondrian/olap/Schema.html" title="interface in mondrian.olap">Schema</A>&nbsp;schema)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flushes the given Schema instance from the pool</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#flushSchema(java.lang.String, javax.sql.DataSource)">flushSchema</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>&nbsp;catalogUrl,            <A HREF="http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html" title="class or interface in javax.sql">DataSource</A>&nbsp;dataSource)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#flushSchema(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">flushSchema</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>&nbsp;catalogUrl,            <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;connectionKey,            <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;jdbcUser,            <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;dataSourceStr)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#flushSchemaCache()">flushSchemaCache</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flushes the cache which maps schema URLs to metadata.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#printCacheState(java.io.PrintWriter, mondrian.olap.CacheControl.CellRegion)">printCacheState</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>&nbsp;pw,                <A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A>&nbsp;region)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the state of the cell cache as it pertains to a given region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#printCacheState(java.io.PrintWriter, mondrian.olap.CacheControl.MemberSet)">printCacheState</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>&nbsp;pw,                <A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A>&nbsp;set)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the state of the member cache as it pertains to a given member set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#trace(java.lang.String)">trace</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>&nbsp;message)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a debug message.</TD></TR></TABLE>&nbsp;<P><!-- ============ 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="createMemberRegion(mondrian.olap.Member, boolean)"><!-- --></A><H3>createMemberRegion</H3><PRE><A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A> <B>createMemberRegion</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;member,                                           boolean&nbsp;descendants)</PRE><DL><DD>Creates a cell region consisting of a single member.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>member</CODE> - the member<DD><CODE>descendants</CODE> - When true, include descendants of the member in the   region.<DT><B>Returns:</B><DD>the new cell region</DL></DD></DL><HR><A NAME="createMemberRegion(boolean, mondrian.olap.Member, boolean, mondrian.olap.Member, boolean)"><!-- --></A><H3>createMemberRegion</H3><PRE><A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A> <B>createMemberRegion</B>(boolean&nbsp;lowerInclusive,                                           <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;lowerMember,                                           boolean&nbsp;upperInclusive,                                           <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;upperMember,                                           boolean&nbsp;descendants)</PRE><DL><DD>Creates a cell region consisting of a range between two members. <p>The members must belong to the same level of the same hierarchy. One of the bounds may be null. <p>For example, given <code><pre>Member member97Q3; // [Time].[1997].[Q3] Member member98Q2; // [Time].[1998].[Q2] </pre></code> then <table border="1"> <tr> <th>Expression</th> <th>Meaning</th> </tr> <tr> <td> <code>createMemberRegion(true, member97Q3, true, member98Q2, false)</code> </td> <td>The members between 97Q3 and 98Q2, inclusive:<br/> [Time].[1997].[Q3],<br/> [Time].[1997].[Q4],<br/> [Time].[1998].[Q1],<br/> [Time].[1998].[Q2]</td> </tr> <tr>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?