valuecolumnpredicate.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 736 行 · 第 1/3 页
HTML
736 行
<DD>Adds the values in this constraint to a collection.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#values(java.util.Collection)">values</A></CODE> in interface <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>collection</CODE> - Collection to add values to</DL></DD></DL><HR><A NAME="evaluate(java.lang.Object)"><!-- --></A><H3>evaluate</H3><PRE>public boolean <B>evaluate</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#evaluate(java.lang.Object)">StarColumnPredicate</A></CODE></B></DD><DD>Returns whether this constraint would return <code>true</code> for a given value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#evaluate(java.lang.Object)">evaluate</A></CODE> in interface <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - Value<DT><B>Returns:</B><DD>Whether predicate is true</DL></DD></DL><HR><A NAME="describe(java.lang.StringBuilder)"><!-- --></A><H3>describe</H3><PRE>public void <B>describe</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuilder.html" title="class or interface in java.lang">StringBuilder</A> buf)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#describe(java.lang.StringBuilder)">StarPredicate</A></CODE></B></DD><DD>Appends a description of this predicate to a <code>StringBuilder</code>. For example:<ul> <li>=any</li> <li>=5</li> <li>in (2, 4, 6)</li> </ul><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#describe(java.lang.StringBuilder)">describe</A></CODE> in interface <CODE><A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>buf</CODE> - Builder to append to</DL></DD></DL><HR><A NAME="intersect(mondrian.rolap.StarColumnPredicate)"><!-- --></A><H3>intersect</H3><PRE>public <A HREF="../../../mondrian/rolap/StarColumnPredicate.Overlap.html" title="class in mondrian.rolap">StarColumnPredicate.Overlap</A> <B>intersect</B>(<A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A> predicate)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#intersect(mondrian.rolap.StarColumnPredicate)">StarColumnPredicate</A></CODE></B></DD><DD>Applies this predicate to a predicate from the axis of a segment, and tests for overlap. The result might be that there is no overlap, full overlap (so the constraint can be removed), or partial overlap (so the constraint will need to be replaced with a stronger constraint, say 'x > 10' is replaced with 'x > 20').<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#intersect(mondrian.rolap.StarColumnPredicate)">intersect</A></CODE> in interface <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>predicate</CODE> - Predicate<DT><B>Returns:</B><DD>description of overlap between predicates, if any</DL></DD></DL><HR><A NAME="mightIntersect(mondrian.rolap.StarPredicate)"><!-- --></A><H3>mightIntersect</H3><PRE>public boolean <B>mightIntersect</B>(<A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A> other)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#mightIntersect(mondrian.rolap.StarPredicate)">StarColumnPredicate</A></CODE></B></DD><DD>Returns whether this predicate might intersect another predicate. That is, whether there might be a value which holds true for both constraints.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#mightIntersect(mondrian.rolap.StarPredicate)">mightIntersect</A></CODE> in interface <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - Other constraint<DT><B>Returns:</B><DD>Whether constraints intersect</DL></DD></DL><HR><A NAME="minus(mondrian.rolap.StarPredicate)"><!-- --></A><H3>minus</H3><PRE>public <A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A> <B>minus</B>(<A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A> predicate)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#minus(mondrian.rolap.StarPredicate)">StarPredicate</A></CODE></B></DD><DD>Returns the logical inverse of this Predicate. The result is a Predicate which holds whenever this predicate holds but the other does not.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#minus(mondrian.rolap.StarPredicate)">minus</A></CODE> in interface <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#minus(mondrian.rolap.StarPredicate)">minus</A></CODE> in interface <CODE><A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>predicate</CODE> - Predicate<DT><B>Returns:</B><DD>Combined predicate</DL></DD></DL><HR><A NAME="cloneWithColumn(mondrian.rolap.RolapStar.Column)"><!-- --></A><H3>cloneWithColumn</H3><PRE>public <A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A> <B>cloneWithColumn</B>(<A HREF="../../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A> column)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#cloneWithColumn(mondrian.rolap.RolapStar.Column)">StarColumnPredicate</A></CODE></B></DD><DD>This method is required because unfortunately some ColumnPredicate objects are created without a column. <p>We call this method to provide a fake column, then call <A HREF="../../../mondrian/rolap/StarPredicate.html#toSql(mondrian.rolap.sql.SqlQuery, java.lang.StringBuilder)"><CODE>StarPredicate.toSql(mondrian.rolap.sql.SqlQuery, StringBuilder)</CODE></A>. <p>todo: remove this method when <A HREF="../../../mondrian/util/Bug.html#Bug1767775Fixed"><CODE>bug 1767776</CODE></A> and <A HREF="../../../mondrian/util/Bug.html#Bug1767779Fixed"><CODE>bug 1767779</CODE></A> are fixed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#cloneWithColumn(mondrian.rolap.RolapStar.Column)">cloneWithColumn</A></CODE> in interface <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toSql(mondrian.rolap.sql.SqlQuery, java.lang.StringBuilder)"><!-- --></A><H3>toSql</H3><PRE>public void <B>toSql</B>(<A HREF="../../../mondrian/rolap/sql/SqlQuery.html" title="class in mondrian.rolap.sql">SqlQuery</A> sqlQuery, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuilder.html" title="class or interface in java.lang">StringBuilder</A> buf)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#toSql(mondrian.rolap.sql.SqlQuery, java.lang.StringBuilder)">toSql</A></CODE> in interface <CODE><A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.html#toSql(mondrian.rolap.sql.SqlQuery, java.lang.StringBuilder)">toSql</A></CODE> in class <CODE><A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.html" title="class in mondrian.rolap.agg">AbstractColumnPredicate</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="checkInList(mondrian.rolap.BitKey)"><!-- --></A><H3>checkInList</H3><PRE>public <A HREF="../../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A> <B>checkInList</B>(<A HREF="../../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A> inListLHSBitKey)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toInListSql(mondrian.rolap.sql.SqlQuery, java.lang.StringBuilder)"><!-- --></A><H3>toInListSql</H3><PRE>public void <B>toInListSql</B>(<A HREF="../../../mondrian/rolap/sql/SqlQuery.html" title="class in mondrian.rolap.sql">SqlQuery</A> sqlQuery, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuilder.html" title="class or interface in java.lang">StringBuilder</A> buf)</PRE><DL><DD><DL></DL></DD><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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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"> <A HREF="../../../mondrian/rolap/agg/SparseSegmentDataset.html" title="class in mondrian.rolap.agg"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?mondrian/rolap/agg/ValueColumnPredicate.html" target="_top"><B>FRAMES</B></A> <A HREF="ValueColumnPredicate.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_classes_inherited_from_class_mondrian.rolap.agg.AbstractColumnPredicate">NESTED</A> | <A HREF="#fields_inherited_from_class_mondrian.rolap.agg.AbstractColumnPredicate">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -
显示快捷键?