segment.html

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

HTML
717 行
字号
<DD><DL></DL></DD></DL><HR><A NAME="isReady()"><!-- --></A><H3>isReady</H3><PRE>public boolean <B>isReady</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isFailed()"><!-- --></A><H3>isFailed</H3><PRE>boolean <B>isFailed</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getCellValue(java.lang.Object[])"><!-- --></A><H3>getCellValue</H3><PRE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getCellValue</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;keys)</PRE><DL><DD>Retrieves the value at the location identified by <code>keys</code>. <p>Returns<ul> <li><A HREF="../../../mondrian/olap/Util.html#nullValue"><CODE>Util.nullValue</CODE></A> if the cell value is null (because no fact table rows met those criteria);</li> <li><code>null</code> if the value is not supposed to be in this segment (because one or more of the keys do not pass the axis criteria);</li> <li>the data value otherwise</li> </ul></p><P><DD><DL></DL></DD></DL><HR><A NAME="wouldContain(java.lang.Object[])"><!-- --></A><H3>wouldContain</H3><PRE>boolean <B>wouldContain</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;keys)</PRE><DL><DD>Returns whether the given set of key values will be in this segment when it finishes loading.<P><DD><DL></DL></DD></DL><HR><A NAME="waitUntilLoaded()"><!-- --></A><H3>waitUntilLoaded</H3><PRE>public void <B>waitUntilLoaded</B>()</PRE><DL><DD>Blocks until this segment has finished loading; if this segment has already loaded, returns immediately.<P><DD><DL></DL></DD></DL><HR><A NAME="print(java.io.PrintWriter)"><!-- --></A><H3>print</H3><PRE>public void <B>print</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)</PRE><DL><DD>Prints the state of this <code>Segment</code>, including constraints and values. Blocks the current thread until the segment is loaded.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pw</CODE> - Writer</DL></DD></DL><HR><A NAME="getExcludedRegions()"><!-- --></A><H3>getExcludedRegions</H3><PRE>public <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/agg/Segment.Region.html" title="class in mondrian.rolap.agg">Segment.Region</A>&gt; <B>getExcludedRegions</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getCellCount()"><!-- --></A><H3>getCellCount</H3><PRE>public int <B>getCellCount</B>()</PRE><DL><DD>Returns the number of cells in this Segment, deducting cells in excluded regions. <p>This method may return a value which is slightly too low, or occasionally even negative. This occurs when a Segment has more than one excluded region, and those regions overlap. Cells which are in both regions will be counted twice.<P><DD><DL><DT><B>Returns:</B><DD>Number of cells in this Segment</DL></DD></DL><HR><A NAME="createSubSegment(java.util.BitSet[], int, mondrian.rolap.StarColumnPredicate, java.util.List)"><!-- --></A><H3>createSubSegment</H3><PRE><A HREF="../../../mondrian/rolap/agg/Segment.html" title="class in mondrian.rolap.agg">Segment</A> <B>createSubSegment</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/BitSet.html" title="class or interface in java.util">BitSet</A>[]&nbsp;axisKeepBitSets,                         int&nbsp;bestColumn,                         <A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A>&nbsp;bestPredicate,                         <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/agg/Segment.Region.html" title="class in mondrian.rolap.agg">Segment.Region</A>&gt;&nbsp;excludedRegions)</PRE><DL><DD>Creates a Segment which has the same dimensionality as this Segment and a subset of the values. <p>If <code>bestColumn</code> is not -1, the <code>bestColumn</code>th column's predicate should be replaced by <code>bestPredicate</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>axisKeepBitSets</CODE> - For each axis, a bitmap of the axis values to   keep; each axis must have at least one bit set<DD><CODE>bestColumn</CODE> - <DD><CODE>bestPredicate</CODE> - <DD><CODE>excludedRegions</CODE> - List of regions to exclude from segment<DT><B>Returns:</B><DD>Segment containing a subset of the values</DL></DD></DL><HR><A NAME="getData()"><!-- --></A><H3>getData</H3><PRE><A HREF="../../../mondrian/rolap/agg/SegmentDataset.html" title="interface in mondrian.rolap.agg">SegmentDataset</A> <B>getData</B>()</PRE><DL><DD>Returns this Segment's dataset, or null if the data has not yet been loaded.<P><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net/projects/mondrian"><img src="http://sourceforge.net/sflogo.php?group_id=35302&type=1" width="88" height="31" border="0" alt="SourceForge.net_Logo"></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../mondrian/rolap/agg/RangeColumnPredicate.html" title="class in mondrian.rolap.agg"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../mondrian/rolap/agg/Segment.Region.html" title="class in mondrian.rolap.agg"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?mondrian/rolap/agg/Segment.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Segment.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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