schemareader.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 1,160 行 · 第 1/4 页
HTML
1,160 行
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#getMemberByUniqueName(java.util.List, boolean, mondrian.olap.MatchType)">getMemberByUniqueName</A></B>(<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/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A>> uniqueNameParts, boolean failIfNotFound, <A HREF="../../mondrian/olap/MatchType.html" title="enum in mondrian.olap">MatchType</A> matchType)</CODE><BR> Finds a member based upon its unique name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#getMemberChildren(mondrian.olap.Member)">getMemberChildren</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</CODE><BR> Returns direct children of <code>member</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#getMemberChildren(mondrian.olap.Member[])">getMemberChildren</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[] members)</CODE><BR> Returns direct children of each element of <code>members</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#getMemberChildren(mondrian.olap.Member[], mondrian.olap.Evaluator)">getMemberChildren</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[] members, <A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A> context)</CODE><BR> Returns direct children of each element of <code>members</code> which is not empty in <code>context</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#getMemberChildren(mondrian.olap.Member, mondrian.olap.Evaluator)">getMemberChildren</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member, <A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A> context)</CODE><BR> Returns direct children of <code>member</code>, optimized for NON EMPTY.</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/olap/SchemaReader.html#getMemberDepth(mondrian.olap.Member)">getMemberDepth</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</CODE><BR> Returns the depth of a member.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#getMemberParent(mondrian.olap.Member)">getMemberParent</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</CODE><BR> Returns the parent of <code>member</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/olap/SchemaReader.html#getMemberRange(mondrian.olap.Level, mondrian.olap.Member, mondrian.olap.Member, java.util.List)">getMemberRange</A></B>(<A HREF="../../mondrian/olap/Level.html" title="interface in mondrian.olap">Level</A> level, <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> startMember, <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> endMember, <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>> list)</CODE><BR> Appends to <code>list</code> all members between <code>startMember</code> and <code>endMember</code> (inclusive) which belong to <code>level</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/NamedSet.html" title="interface in mondrian.olap">NamedSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#getNamedSet(java.util.List)">getNamedSet</A></B>(<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/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A>> nameParts)</CODE><BR> Looks up a set by name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/NativeEvaluator.html" title="interface in mondrian.olap">NativeEvaluator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#getNativeSetEvaluator(mondrian.olap.FunDef, mondrian.olap.Exp[], mondrian.olap.Evaluator, mondrian.calc.Calc)">getNativeSetEvaluator</A></B>(<A HREF="../../mondrian/olap/FunDef.html" title="interface in mondrian.olap">FunDef</A> fun, <A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>[] args, <A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A> evaluator, <A HREF="../../mondrian/calc/Calc.html" title="interface in mondrian.calc">Calc</A> calc)</CODE><BR> Returns an object which can evaluate an expression in native SQL, or null if this is not possible.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Parameter.html" title="interface in mondrian.olap">Parameter</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#getParameter(java.lang.String)">getParameter</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> name)</CODE><BR> Returns the definition of a parameter with a given name, or 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/olap/Role.html" title="interface in mondrian.olap">Role</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#getRole()">getRole</A></B>()</CODE><BR> Returns the access-control profile that this <code>SchemaReader</code> is implementing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#isDrillable(mondrian.olap.Member)">isDrillable</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</CODE><BR> Returns whether a member has visible children.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#isVisible(mondrian.olap.Member)">isVisible</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</CODE><BR> Returns whether a member is visible.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/OlapElement.html" title="interface in mondrian.olap">OlapElement</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#lookupCompound(mondrian.olap.OlapElement, java.util.List, boolean, int)">lookupCompound</A></B>(<A HREF="../../mondrian/olap/OlapElement.html" title="interface in mondrian.olap">OlapElement</A> parent, <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/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A>> names, boolean failIfNotFound, int category)</CODE><BR> Looks up an MDX object by name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/OlapElement.html" title="interface in mondrian.olap">OlapElement</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#lookupCompound(mondrian.olap.OlapElement, java.util.List, boolean, int, mondrian.olap.MatchType)">lookupCompound</A></B>(<A HREF="../../mondrian/olap/OlapElement.html" title="interface in mondrian.olap">OlapElement</A> parent, <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/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A>> names, boolean failIfNotFound, int category, <A HREF="../../mondrian/olap/MatchType.html" title="enum in mondrian.olap">MatchType</A> matchType)</CODE><BR> Looks up an MDX object by name, specifying how to match if no object exactly matches the name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#lookupMemberChildByName(mondrian.olap.Member, mondrian.olap.Id.Segment)">lookupMemberChildByName</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> parent, <A HREF="../../mondrian/olap/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A> childName)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#lookupMemberChildByName(mondrian.olap.Member, mondrian.olap.Id.Segment, mondrian.olap.MatchType)">lookupMemberChildByName</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> parent, <A HREF="../../mondrian/olap/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A> childName, <A HREF="../../mondrian/olap/MatchType.html" title="enum in mondrian.olap">MatchType</A> matchType)</CODE><BR> Finds a child of a member with a given name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/SchemaReader.html#substitute(mondrian.olap.Member)">substitute</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</CODE><BR> Substitutes a member with an equivalent member which enforces the access control policy of this SchemaReader.</TD></TR></TABLE> <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="getRole()"><!-- --></A><H3>getRole</H3><PRE><A HREF="../../mondrian/olap/Role.html" title="interface in mondrian.olap">Role</A> <B>getRole</B>()</PRE><DL><DD>Returns the access-control profile that this <code>SchemaReader</code> is implementing.<P><DD><DL></DL></DD></DL><HR><A NAME="getHierarchyRootMembers(mondrian.olap.Hierarchy)"><!-- --></A><H3>getHierarchyRootMembers</H3><PRE><A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[] <B>getHierarchyRootMembers</B>(<A HREF="../../mondrian/olap/Hierarchy.html" title="interface in mondrian.olap">Hierarchy</A> hierarchy)</PRE><DL><DD>Returns an array of the root members of <code>hierarchy</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hierarchy</CODE> - Hierarchy<DT><B>See Also:</B><DD><A HREF="../../mondrian/olap/SchemaReader.html#getCalculatedMembers(mondrian.olap.Hierarchy)"><CODE>getCalculatedMembers(Hierarchy)</CODE></A></DL></DD></DL><HR><A NAME="getChildrenCountFromCache(mondrian.olap.Member)"><!-- --></A><H3>getChildrenCountFromCache</H3><PRE>int <B>getChildrenCountFromCache</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</PRE><DL><DD>Returns number of children parent of a member, if the information can be retrieved from cache. Otherwise -1 is returned<P><DD><DL></DL></DD></DL><HR><A NAME="getLevelCardinality(mondrian.olap.Level, boolean, boolean)"><!-- --></A><H3>getLevelCardinality</H3><PRE>int <B>getLevelCardinality</B>(<A HREF="../../mondrian/olap/Level.html" title="interface in mondrian.olap">Level</A> level, boolean approximate, boolean materialize)</PRE><DL><DD>Returns the number of members in a level, returning an approximation if acceptable.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>level</CODE> - Level<DD><CODE>approximate</CODE> - Whether an approximation is acceptable<DD><CODE>materialize</CODE> - Whether to go to disk if no approximation for the count is available and the members are not in cache. If false, returns <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Integer.html#MIN_VALUE" title="class or interface in java.lang"><CODE>Integer.MIN_VALUE</CODE></A> if value is not in cache.</DL></DD></DL><HR><A NAME="substitute(mondrian.olap.Member)"><!-- --></A><H3>substitute</H3><PRE><A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> <B>substitute</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</PRE><DL><DD>Substitutes a member with an equivalent member which enforces the access control policy of this SchemaReader.<P><DD><DL></DL></DD></DL><HR><A NAME="getMemberChildren(mondrian.olap.Member)"><!-- --></A><H3>getMemberChildren</H3><PRE><A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[] <B>getMemberChildren</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member)</PRE><DL><DD>Returns direct children of <code>member</code>.<P><DD><DL><DT><B>Pre-condition:</B></DT> <DD>member != null</DD><DT><B>Post-condition:</B></DT> <DD>return != null</DD></DL></DD></DL><HR><A NAME="getMemberChildren(mondrian.olap.Member, mondrian.olap.Evaluator)"><!-- --></A><H3>getMemberChildren</H3><PRE><A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>[] <B>getMemberChildren</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member, <A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A> context)</PRE>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?