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) <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>[] axisKeepBitSets, int bestColumn, <A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A> bestPredicate, <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/rolap/agg/Segment.Region.html" title="class in mondrian.rolap.agg">Segment.Region</A>> excludedRegions)</CODE><BR> 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> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#getCellCount()">getCellCount</A></B>()</CODE><BR> 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) <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>[] keys)</CODE><BR> 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) <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> 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> <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/rolap/agg/Segment.Region.html" title="class in mondrian.rolap.agg">Segment.Region</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#getExcludedRegions()">getExcludedRegions</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#isFailed()">isFailed</A></B>()</CODE><BR> </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/rolap/agg/Segment.html#isReady()">isReady</A></B>()</CODE><BR> </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/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> pw)</CODE><BR> 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) 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> data, <A HREF="../../../mondrian/rolap/RolapAggregationManager.PinSet.html" title="interface in mondrian.rolap">RolapAggregationManager.PinSet</A> pinnedSegments)</CODE><BR> 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) void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/Segment.html#setFailIfStillLoading()">setFailIfStillLoading</A></B>()</CODE><BR> 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> <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> </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/rolap/agg/Segment.html#waitUntilLoaded()">waitUntilLoaded</A></B>()</CODE><BR> 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) 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>[] keys)</CODE><BR> Returns whether the given set of key values will be in this segment when it finishes loading.</TD></TR></TABLE> <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> <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> aggregation, <A HREF="../../../mondrian/rolap/RolapStar.Measure.html" title="class in mondrian.rolap">RolapStar.Measure</A> measure, <A HREF="../../../mondrian/rolap/agg/Aggregation.Axis.html" title="class in mondrian.rolap.agg">Aggregation.Axis</A>[] axes, <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/rolap/agg/Segment.Region.html" title="class in mondrian.rolap.agg">Segment.Region</A>> 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> data, <A HREF="../../../mondrian/rolap/RolapAggregationManager.PinSet.html" title="interface in mondrian.rolap">RolapAggregationManager.PinSet</A> 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 + -
显示快捷键?