segment.html

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

HTML
717 行
字号
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) &nbsp;<A HREF="../../../mondrian/rolap/agg/Segment.html" title="class in mondrian.rolap.agg">Segment</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#createSubSegment(java.util.BitSet[], int, mondrian.rolap.StarColumnPredicate, java.util.List)">createSubSegment</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a Segment which has the same dimensionality as this Segment and a subset of the values.</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/rolap/agg/Segment.html#getCellCount()">getCellCount</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of cells in this Segment, deducting cells in excluded regions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) &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/agg/Segment.html#getCellValue(java.lang.Object[])">getCellValue</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;keys)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the value at the location identified by <code>keys</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) &nbsp;<A HREF="../../../mondrian/rolap/agg/SegmentDataset.html" title="interface in mondrian.rolap.agg">SegmentDataset</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#getData()">getData</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this Segment's dataset, or null if the data has not yet been loaded.</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/agg/Segment.Region.html" title="class in mondrian.rolap.agg">Segment.Region</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#getExcludedRegions()">getExcludedRegions</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>(package private) &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#isFailed()">isFailed</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;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#isReady()">isReady</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;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#print(java.io.PrintWriter)">print</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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the state of this <code>Segment</code>, including constraints and values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#setData(mondrian.rolap.agg.SegmentDataset, mondrian.rolap.RolapAggregationManager.PinSet)">setData</A></B>(<A HREF="../../../mondrian/rolap/agg/SegmentDataset.html" title="interface in mondrian.rolap.agg">SegmentDataset</A>&nbsp;data,        <A HREF="../../../mondrian/rolap/RolapAggregationManager.PinSet.html" title="interface in mondrian.rolap">RolapAggregationManager.PinSet</A>&nbsp;pinnedSegments)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the data, and notifies any threads which are blocked in <A HREF="../../../mondrian/rolap/agg/Segment.html#waitUntilLoaded()"><CODE>waitUntilLoaded()</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#setFailIfStillLoading()">setFailIfStillLoading</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this segment is still loading, signals that it failed to load, and notifies any threads which are blocked in <A HREF="../../../mondrian/rolap/agg/Segment.html#waitUntilLoaded()"><CODE>waitUntilLoaded()</CODE></A>.</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/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#toString()">toString</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;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#waitUntilLoaded()">waitUntilLoaded</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks until this segment has finished loading; if this segment has already loaded, returns immediately.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#wouldContain(java.lang.Object[])">wouldContain</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;keys)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the given set of key values will be in this segment when it finishes loading.</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#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="id"><!-- --></A><H3>id</H3><PRE>final int <B>id</B></PRE><DL><DL></DL></DL><HR><A NAME="aggregation"><!-- --></A><H3>aggregation</H3><PRE>final <A HREF="../../../mondrian/rolap/agg/Aggregation.html" title="class in mondrian.rolap.agg">Aggregation</A> <B>aggregation</B></PRE><DL><DL></DL></DL><HR><A NAME="measure"><!-- --></A><H3>measure</H3><PRE>final <A HREF="../../../mondrian/rolap/RolapStar.Measure.html" title="class in mondrian.rolap">RolapStar.Measure</A> <B>measure</B></PRE><DL><DL></DL></DL><HR><A NAME="axes"><!-- --></A><H3>axes</H3><PRE>final <A HREF="../../../mondrian/rolap/agg/Aggregation.Axis.html" title="class in mondrian.rolap.agg">Aggregation.Axis</A>[] <B>axes</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="Segment(mondrian.rolap.agg.Aggregation, mondrian.rolap.RolapStar.Measure, mondrian.rolap.agg.Aggregation.Axis[], java.util.List)"><!-- --></A><H3>Segment</H3><PRE><B>Segment</B>(<A HREF="../../../mondrian/rolap/agg/Aggregation.html" title="class in mondrian.rolap.agg">Aggregation</A>&nbsp;aggregation,        <A HREF="../../../mondrian/rolap/RolapStar.Measure.html" title="class in mondrian.rolap">RolapStar.Measure</A>&nbsp;measure,        <A HREF="../../../mondrian/rolap/agg/Aggregation.Axis.html" title="class in mondrian.rolap.agg">Aggregation.Axis</A>[]&nbsp;axes,        <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 <code>Segment</code>; it's not loaded yet.<P><DL><DT><B>Parameters:</B><DD><CODE>aggregation</CODE> - The aggregation this <code>Segment</code> belongs to<DD><CODE>measure</CODE> - Measure whose values this Segment contains<DD><CODE>axes</CODE> - List of axes; each is a constraint plus a list of values<DD><CODE>excludedRegions</CODE> - List of regions which are not in this segment.</DL></DL><!-- ============ 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="setData(mondrian.rolap.agg.SegmentDataset, mondrian.rolap.RolapAggregationManager.PinSet)"><!-- --></A><H3>setData</H3><PRE>void <B>setData</B>(<A HREF="../../../mondrian/rolap/agg/SegmentDataset.html" title="interface in mondrian.rolap.agg">SegmentDataset</A>&nbsp;data,             <A HREF="../../../mondrian/rolap/RolapAggregationManager.PinSet.html" title="interface in mondrian.rolap">RolapAggregationManager.PinSet</A>&nbsp;pinnedSegments)</PRE><DL><DD>Sets the data, and notifies any threads which are blocked in <A HREF="../../../mondrian/rolap/agg/Segment.html#waitUntilLoaded()"><CODE>waitUntilLoaded()</CODE></A>.<P><DD><DL></DL></DD></DL><HR><A NAME="setFailIfStillLoading()"><!-- --></A><H3>setFailIfStillLoading</H3><PRE>void <B>setFailIfStillLoading</B>()</PRE><DL><DD>If this segment is still loading, signals that it failed to load, and notifies any threads which are blocked in <A HREF="../../../mondrian/rolap/agg/Segment.html#waitUntilLoaded()"><CODE>waitUntilLoaded()</CODE></A>.<P>

⌨️ 快捷键说明

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