valuecolumnpredicate.html

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

HTML
736 行
字号
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/ValueColumnPredicate.html#equals(java.lang.Object)">equals</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;other)</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/ValueColumnPredicate.html#evaluate(java.lang.Object)">evaluate</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;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this constraint would return <code>true</code> for a given value.</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/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/ValueColumnPredicate.html#getValue()">getValue</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value which the column is compared to.</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/ValueColumnPredicate.html#hashCode()">hashCode</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;<A HREF="../../../mondrian/rolap/StarColumnPredicate.Overlap.html" title="class in mondrian.rolap">StarColumnPredicate.Overlap</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/ValueColumnPredicate.html#intersect(mondrian.rolap.StarColumnPredicate)">intersect</A></B>(<A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A>&nbsp;predicate)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies this predicate to a predicate from the axis of a segment, and tests for overlap.</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/ValueColumnPredicate.html#mightIntersect(mondrian.rolap.StarPredicate)">mightIntersect</A></B>(<A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this predicate might intersect another predicate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/ValueColumnPredicate.html#minus(mondrian.rolap.StarPredicate)">minus</A></B>(<A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A>&nbsp;predicate)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the logical inverse of this Predicate.</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/ValueColumnPredicate.html#toInListSql(mondrian.rolap.sql.SqlQuery, java.lang.StringBuilder)">toInListSql</A></B>(<A HREF="../../../mondrian/rolap/sql/SqlQuery.html" title="class in mondrian.rolap.sql">SqlQuery</A>&nbsp;sqlQuery,            <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuilder.html" title="class or interface in java.lang">StringBuilder</A>&nbsp;buf)</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/ValueColumnPredicate.html#toSql(mondrian.rolap.sql.SqlQuery, java.lang.StringBuilder)">toSql</A></B>(<A HREF="../../../mondrian/rolap/sql/SqlQuery.html" title="class in mondrian.rolap.sql">SqlQuery</A>&nbsp;sqlQuery,      <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuilder.html" title="class or interface in java.lang">StringBuilder</A>&nbsp;buf)</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;<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/ValueColumnPredicate.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/ValueColumnPredicate.html#values(java.util.Collection)">values</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</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;collection)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the values in this constraint to a collection.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_mondrian.rolap.agg.AbstractColumnPredicate"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class mondrian.rolap.agg.<A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.html" title="class in mondrian.rolap.agg">AbstractColumnPredicate</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.html#and(mondrian.rolap.StarPredicate)">and</A>, <A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.html#cloneListWithColumn(mondrian.rolap.RolapStar.Column, java.util.List)">cloneListWithColumn</A>, <A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.html#evaluate(java.util.List)">evaluate</A>, <A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.html#getConstrainedColumn()">getConstrainedColumn</A>, <A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.html#getConstrainedColumnBitKey()">getConstrainedColumnBitKey</A>, <A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.html#getConstrainedColumnList()">getConstrainedColumnList</A>, <A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.html#or(mondrian.rolap.StarPredicate)">or</A>, <A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.html#orColumn(mondrian.rolap.StarColumnPredicate)">orColumn</A></CODE></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#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#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><!-- ========= 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="ValueColumnPredicate(mondrian.rolap.RolapStar.Column, java.lang.Object)"><!-- --></A><H3>ValueColumnPredicate</H3><PRE>public <B>ValueColumnPredicate</B>(<A HREF="../../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A>&nbsp;constrainedColumn,                            <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;value)</PRE><DL><DD>Creates a column constraint.<P><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - Value to constraint the column to. (We require that it is   <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html" title="class or interface in java.lang"><CODE>Comparable</CODE></A> because we will sort the values in order to   generate deterministic SQL.)</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="getValue()"><!-- --></A><H3>getValue</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getValue</B>()</PRE><DL><DD>Returns the value which the column is compared to.<P><DD><DL></DL></DD><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="../../../mondrian/rolap/agg/AbstractColumnPredicate.html#toString()">toString</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="equalConstraint(mondrian.rolap.StarPredicate)"><!-- --></A><H3>equalConstraint</H3><PRE>public boolean <B>equalConstraint</B>(<A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A>&nbsp;that)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#equalConstraint(mondrian.rolap.StarPredicate)">StarPredicate</A></CODE></B></DD><DD>Returns whether this Predicate has the same constraining effect as the other constraint. This is weaker than <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"><CODE>Object.equals(Object)</CODE></A>: it is possible for two different members to constrain the same column in the same way.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#equalConstraint(mondrian.rolap.StarPredicate)">equalConstraint</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#equalConstraint(mondrian.rolap.StarPredicate)">equalConstraint</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><DT><B>Parameters:</B><DD><CODE>that</CODE> - Other predicate<DT><B>Returns:</B><DD>whether the other predicate is equivalent</DL></DD></DL><HR><A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>compareTo</H3><PRE>public int <B>compareTo</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;o)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html#compareTo(T)" title="class or interface in java.lang">compareTo</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</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;other)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><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></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="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</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#hashCode()" title="class or interface in java.lang">hashCode</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="values(java.util.Collection)"><!-- --></A><H3>values</H3><PRE>public void <B>values</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</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;collection)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#values(java.util.Collection)">StarColumnPredicate</A></CODE></B></DD>

⌨️ 快捷键说明

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