literalstarpredicate.html

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

HTML
711 行
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this Predicate has the same constraining effect as the other constraint.</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/LiteralStarPredicate.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;obj)</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/LiteralStarPredicate.html#evaluate(java.util.List)">evaluate</A></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="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&gt;&nbsp;valueList)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates a constraint against a list of values.</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/LiteralStarPredicate.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;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/LiteralStarPredicate.html#getValue()">getValue</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;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../mondrian/rolap/agg/LiteralStarPredicate.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/LiteralStarPredicate.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/LiteralStarPredicate.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/LiteralStarPredicate.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/LiteralStarPredicate.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/LiteralStarPredicate.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/LiteralStarPredicate.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#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><!-- ============ 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="TRUE"><!-- --></A><H3>TRUE</H3><PRE>public static final <A HREF="../../../mondrian/rolap/agg/LiteralStarPredicate.html" title="class in mondrian.rolap.agg">LiteralStarPredicate</A> <B>TRUE</B></PRE><DL><DL></DL></DL><HR><A NAME="FALSE"><!-- --></A><H3>FALSE</H3><PRE>public static final <A HREF="../../../mondrian/rolap/agg/LiteralStarPredicate.html" title="class in mondrian.rolap.agg">LiteralStarPredicate</A> <B>FALSE</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="LiteralStarPredicate(mondrian.rolap.RolapStar.Column, boolean)"><!-- --></A><H3>LiteralStarPredicate</H3><PRE>public <B>LiteralStarPredicate</B>(<A HREF="../../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A>&nbsp;column,                            boolean&nbsp;value)</PRE><DL><DD>Creates a LiteralStarPredicate.<P><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - Constrained column<DD><CODE>value</CODE> - Truth value</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="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="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;obj)</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="evaluate(java.util.List)"><!-- --></A><H3>evaluate</H3><PRE>public boolean <B>evaluate</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="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&gt;&nbsp;valueList)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#evaluate(java.util.List)">StarPredicate</A></CODE></B></DD><DD>Evaluates a constraint against a list of values. <p>If one of the values is <A HREF="../../../mondrian/rolap/StarPredicate.html#WILDCARD"><CODE>StarPredicate.WILDCARD</CODE></A>, returns true if constraint is true for all possible values of that column.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#evaluate(java.util.List)">evaluate</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#evaluate(java.util.List)">evaluate</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>valueList</CODE> - List of values, one for each constrained column<DT><B>Returns:</B><DD>Whether constraint holds for given set of values</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

⌨️ 快捷键说明

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