membercachehelper.html

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

HTML
779 行
字号
&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/rolap/MemberCacheHelper.html#flushCache()">flushCache</A></B>()</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;<A HREF="../../mondrian/spi/DataSourceChangeListener.html" title="interface in mondrian.spi">DataSourceChangeListener</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/MemberCacheHelper.html#getChangeListener()">getChangeListener</A></B>()</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;<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/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/MemberCacheHelper.html#getChildrenFromCache(mondrian.rolap.RolapMember, mondrian.rolap.sql.MemberChildrenConstraint)">getChildrenFromCache</A></B>(<A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>&nbsp;member,                     <A HREF="../../mondrian/rolap/sql/MemberChildrenConstraint.html" title="interface in mondrian.rolap.sql">MemberChildrenConstraint</A>&nbsp;constraint)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the children of <code>member</code> if they are currently in the cache, otherwise returns null.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/MemberCacheHelper.html#getLevelMembersFromCache(mondrian.rolap.RolapLevel, mondrian.rolap.sql.TupleConstraint)">getLevelMembersFromCache</A></B>(<A HREF="../../mondrian/rolap/RolapLevel.html" title="class in mondrian.rolap">RolapLevel</A>&nbsp;level,                         <A HREF="../../mondrian/rolap/sql/TupleConstraint.html" title="interface in mondrian.rolap.sql">TupleConstraint</A>&nbsp;constraint)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the members of <code>level</code> if they are currently in the cache, otherwise returns null.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/MemberCacheHelper.html#getMember(java.lang.Object)">getMember</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the <A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap"><CODE>RolapMember</CODE></A> with a given key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/MemberCacheHelper.html#getMember(java.lang.Object, boolean)">getMember</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;key,          boolean&nbsp;mustCheckCacheStatus)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the <A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap"><CODE>RolapMember</CODE></A> with a given key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/MemberCacheHelper.html#isMutable()">isMutable</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the cache supports removing selected items.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/MemberCacheHelper.html#makeKey(mondrian.rolap.RolapMember, java.lang.Object)">makeKey</A></B>(<A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>&nbsp;parent,        <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a key with which to <A HREF="../../mondrian/rolap/MemberCache.html#getMember(java.lang.Object)"><CODE>MemberCache.getMember(Object)</CODE></A> or <A HREF="../../mondrian/rolap/MemberCache.html#putMember(java.lang.Object, mondrian.rolap.RolapMember)"><CODE>MemberCache.putMember(Object, RolapMember)</CODE></A> the <A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap"><CODE>RolapMember</CODE></A> with a given parent and key.</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/rolap/MemberCacheHelper.html#putChildren(mondrian.rolap.RolapMember, mondrian.rolap.sql.MemberChildrenConstraint, java.util.List)">putChildren</A></B>(<A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>&nbsp;member,            <A HREF="../../mondrian/rolap/sql/MemberChildrenConstraint.html" title="interface in mondrian.rolap.sql">MemberChildrenConstraint</A>&nbsp;constraint,            <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/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>&gt;&nbsp;children)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers that the children of <code>member</code> are <code>children</code> (a list of <A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap"><CODE>RolapMember</CODE></A>s).</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/rolap/MemberCacheHelper.html#putLevelMembersInCache(mondrian.rolap.RolapLevel, mondrian.rolap.sql.TupleConstraint, java.util.List)">putLevelMembersInCache</A></B>(<A HREF="../../mondrian/rolap/RolapLevel.html" title="class in mondrian.rolap">RolapLevel</A>&nbsp;level,                       <A HREF="../../mondrian/rolap/sql/TupleConstraint.html" title="interface in mondrian.rolap.sql">TupleConstraint</A>&nbsp;constraint,                       <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/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>&gt;&nbsp;members)</CODE><BR>&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;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/MemberCacheHelper.html#putMember(java.lang.Object, mondrian.rolap.RolapMember)">putMember</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;key,          <A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces the <A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap"><CODE>RolapMember</CODE></A> with a given key and returns the previous member if any.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/MemberCacheHelper.html#removeMember(java.lang.Object)">removeMember</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the <A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap"><CODE>RolapMember</CODE></A> with a given key from the cache.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/MemberCacheHelper.html#removeMemberAndDescendants(java.lang.Object)">removeMemberAndDescendants</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the designated <A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap"><CODE>RolapMember</CODE></A> and all its descendants.</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/rolap/MemberCacheHelper.html#setChangeListener(mondrian.spi.DataSourceChangeListener)">setChangeListener</A></B>(<A HREF="../../mondrian/spi/DataSourceChangeListener.html" title="interface in mondrian.spi">DataSourceChangeListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<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#toString()" title="class or interface in java.lang">toString</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>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="mapMemberToChildren"><!-- --></A><H3>mapMemberToChildren</H3><PRE>final <A HREF="../../mondrian/rolap/SmartMemberListCache.html" title="class in mondrian.rolap">SmartMemberListCache</A>&lt;<A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>,<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/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>&gt;&gt; <B>mapMemberToChildren</B></PRE><DL><DD>maps a parent member to a list of its children<P><DL></DL></DL><HR><A NAME="mapKeyToMember"><!-- --></A><H3>mapKeyToMember</H3><PRE><A HREF="../../mondrian/rolap/cache/SmartCache.html" title="interface in mondrian.rolap.cache">SmartCache</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>,<A HREF="../../mondrian/rolap/RolapMember.html" title="class in mondrian.rolap">RolapMember</A>&gt; <B>mapKeyToMember</B></PRE><DL><DD>a cache for alle members to ensure uniqueness<P><DL></DL></DL><HR><A NAME="rolapHierarchy"><!-- --></A><H3>rolapHierarchy</H3><PRE><A HREF="../../mondrian/rolap/RolapHierarchy.html" title="class in mondrian.rolap">RolapHierarchy</A> <B>rolapHierarchy</B></PRE><DL><DL></DL></DL><HR><A NAME="changeListener"><!-- --></A><H3>changeListener</H3><PRE><A HREF="../../mondrian/spi/DataSourceChangeListener.html" title="interface in mondrian.spi">DataSourceChangeListener</A> <B>changeListener</B></PRE><DL><DL></DL></DL><HR>

⌨️ 快捷键说明

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