schemareader.html

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

HTML
1,160 行
字号
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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>&lt;<A HREF="../../mondrian/olap/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A>&gt;&nbsp;uniqueNameParts,                      boolean&nbsp;failIfNotFound,                      <A HREF="../../mondrian/olap/MatchType.html" title="enum in mondrian.olap">MatchType</A>&nbsp;matchType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>[]&nbsp;members)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>[]&nbsp;members,                  <A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A>&nbsp;context)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;member,                  <A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A>&nbsp;context)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the depth 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/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>&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;level,               <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;startMember,               <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;endMember,               <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/olap/Member.html" title="interface in mondrian.olap">Member</A>&gt;&nbsp;list)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&lt;<A HREF="../../mondrian/olap/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A>&gt;&nbsp;nameParts)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up a set by name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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>&nbsp;fun,                      <A HREF="../../mondrian/olap/Exp.html" title="interface in mondrian.olap">Exp</A>[]&nbsp;args,                      <A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A>&nbsp;evaluator,                      <A HREF="../../mondrian/calc/Calc.html" title="interface in mondrian.calc">Calc</A>&nbsp;calc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether a member is visible.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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>&nbsp;parent,               <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/olap/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A>&gt;&nbsp;names,               boolean&nbsp;failIfNotFound,               int&nbsp;category)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;parent,               <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/olap/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A>&gt;&nbsp;names,               boolean&nbsp;failIfNotFound,               int&nbsp;category,               <A HREF="../../mondrian/olap/MatchType.html" title="enum in mondrian.olap">MatchType</A>&nbsp;matchType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;parent,                        <A HREF="../../mondrian/olap/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A>&nbsp;childName)</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/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>&nbsp;parent,                        <A HREF="../../mondrian/olap/Id.Segment.html" title="class in mondrian.olap">Id.Segment</A>&nbsp;childName,                        <A HREF="../../mondrian/olap/MatchType.html" title="enum in mondrian.olap">MatchType</A>&nbsp;matchType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Substitutes a member with an equivalent member which enforces the access control policy of this SchemaReader.</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="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>&nbsp;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>&nbsp;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>&nbsp;level,                        boolean&nbsp;approximate,                        boolean&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;member,                           <A HREF="../../mondrian/olap/Evaluator.html" title="interface in mondrian.olap">Evaluator</A>&nbsp;context)</PRE>

⌨️ 快捷键说明

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