segmentloader.html

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

HTML
482 行
字号
</TABLE>&nbsp;<P><!-- ========= 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="SegmentLoader()"><!-- --></A><H3>SegmentLoader</H3><PRE>public <B>SegmentLoader</B>()</PRE><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="load(java.util.List, mondrian.rolap.RolapAggregationManager.PinSet, java.util.List)"><!-- --></A><H3>load</H3><PRE>public void <B>load</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/rolap/agg/GroupingSet.html" title="class in mondrian.rolap.agg">GroupingSet</A>&gt;&nbsp;groupingSets,                 <A HREF="../../../mondrian/rolap/RolapAggregationManager.PinSet.html" title="interface in mondrian.rolap">RolapAggregationManager.PinSet</A>&nbsp;pinnedSegments,                 <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/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A>&gt;&nbsp;compoundPredicateList)</PRE><DL><DD>Loads data for all the segments of the GroupingSets. If the grouping sets list contains more than one Grouping Set then data is loaded using the GROUP BY GROUPING SETS sql. Else if only one grouping set is passed in the list data is loaded without using GROUP BY GROUPING SETS sql. If the database does not support grouping sets <A HREF="../../../mondrian/rolap/sql/SqlQuery.Dialect.html#supportsGroupingSets()"><CODE>SqlQuery.Dialect.supportsGroupingSets()</CODE></A> then grouping sets list should always have only one element in it. <p>For example, if list has 2 grouping sets with columns A, B, C and B, C respectively, then the SQL will be "GROUP BY GROUPING SETS ((A, B, C), (B, C))". <p>Else if the list has only one grouping set then sql would be without grouping sets. <p>The <code>groupingSets</code> list should be topological order, with more detailed higher-level grouping sets occuring first. In other words, the first element of the list should always be the detailed grouping set (default grouping set), followed by grouping sets which can be rolled-up on this detailed grouping set. In the example (A, B, C) is the detailed grouping set and (B, C) is rolled-up using the detailed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>groupingSets</CODE> - List of grouping sets whose segments are loaded<DD><CODE>pinnedSegments</CODE> - Pinned segments</DL></DD></DL><HR><A NAME="setFailOnStillLoadingSegments(mondrian.rolap.agg.GroupingSetsList)"><!-- --></A><H3>setFailOnStillLoadingSegments</H3><PRE>void <B>setFailOnStillLoadingSegments</B>(<A HREF="../../../mondrian/rolap/agg/GroupingSetsList.html" title="class in mondrian.rolap.agg">GroupingSetsList</A>&nbsp;groupingSetsList)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="useSparse(boolean, int, java.util.List)"><!-- --></A><H3>useSparse</H3><PRE>boolean <B>useSparse</B>(boolean&nbsp;sparse,                  int&nbsp;n,                  <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="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]&gt;&nbsp;rows)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="createExecuteSql(mondrian.rolap.agg.GroupingSetsList, java.util.List)"><!-- --></A><H3>createExecuteSql</H3><PRE><A HREF="../../../mondrian/rolap/SqlStatement.html" title="class in mondrian.rolap">SqlStatement</A> <B>createExecuteSql</B>(<A HREF="../../../mondrian/rolap/agg/GroupingSetsList.html" title="class in mondrian.rolap.agg">GroupingSetsList</A>&nbsp;groupingSetsList,                              <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/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A>&gt;&nbsp;compoundPredicateList)</PRE><DL><DD>Creates and executes a SQL statement to retrieve the set of cells specified by a GroupingSetsList. <p>This method may be overridden in tests.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>groupingSetsList</CODE> - Grouping<DT><B>Returns:</B><DD>An executed SQL statement, or null</DL></DD></DL><HR><A NAME="processData(mondrian.rolap.SqlStatement, boolean[], java.util.SortedSet[], mondrian.rolap.agg.GroupingSetsList)"><!-- --></A><H3>processData</H3><PRE><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="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]&gt; <B>processData</B>(<A HREF="../../../mondrian/rolap/SqlStatement.html" title="class in mondrian.rolap">SqlStatement</A>&nbsp;stmt,                           boolean[]&nbsp;axisContainsNull,                           <A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html" title="class or interface in java.util">SortedSet</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&lt;?&gt;&gt;[]&nbsp;axisValueSets,                           <A HREF="../../../mondrian/rolap/agg/GroupingSetsList.html" title="class in mondrian.rolap.agg">GroupingSetsList</A>&nbsp;groupingSetsList)                     throws <A HREF="http://java.sun.com/javase/6/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="getRollupBitKey(int, java.lang.Object[], int)"><!-- --></A><H3>getRollupBitKey</H3><PRE><A HREF="../../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A> <B>getRollupBitKey</B>(int&nbsp;arity,                       <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]&nbsp;row,                       int&nbsp;k)</PRE><DL><DD>Generates bit key representing roll up columns<P><DD><DL></DL></DD></DL><HR><A NAME="loadData(mondrian.rolap.SqlStatement, mondrian.rolap.agg.GroupingSetsList)"><!-- --></A><H3>loadData</H3><PRE><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="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]&gt; <B>loadData</B>(<A HREF="../../../mondrian/rolap/SqlStatement.html" title="class in mondrian.rolap">SqlStatement</A>&nbsp;stmt,                        <A HREF="../../../mondrian/rolap/agg/GroupingSetsList.html" title="class in mondrian.rolap.agg">GroupingSetsList</A>&nbsp;groupingSetsList)                  throws <A HREF="http://java.sun.com/javase/6/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="getGroupingColumnsList(mondrian.rolap.RolapStar.Column[], java.util.List)"><!-- --></A><H3>getGroupingColumnsList</H3><PRE><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/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A>[]&gt; <B>getGroupingColumnsList</B>(<A HREF="../../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A>[]&nbsp;detailedBatchColumns,                                                <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/GroupingSet.html" title="class in mondrian.rolap.agg">GroupingSet</A>&gt;&nbsp;aggBatchDetails)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getDistinctValueWorkspace(int)"><!-- --></A><H3>getDistinctValueWorkspace</H3><PRE><A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html" title="class or interface in java.util">SortedSet</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&lt;?&gt;&gt;[] <B>getDistinctValueWorkspace</B>(int&nbsp;arity)</PRE><DL><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/SegmentDataset.html" title="interface in mondrian.rolap.agg"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../mondrian/rolap/agg/SegmentLoaderTest.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/SegmentLoader.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SegmentLoader.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;NESTED&nbsp;|&nbsp;FIELD&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;FIELD&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 + -
显示快捷键?