abstractcolumnpredicate.html

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

HTML
631 行
字号
<PRE>public <A HREF="../../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A> <B>getConstrainedColumnBitKey</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#getConstrainedColumnBitKey()">StarPredicate</A></CODE></B></DD><DD>Returns a bitmap of constrained columns to speed up comparison<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#getConstrainedColumnBitKey()">getConstrainedColumnBitKey</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>Returns:</B><DD>bitmap representing all constraining columns.</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></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 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></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="or(mondrian.rolap.StarPredicate)"><!-- --></A><H3>or</H3><PRE>public <A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A> <B>or</B>(<A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A>&nbsp;predicate)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#or(mondrian.rolap.StarPredicate)">StarPredicate</A></CODE></B></DD><DD>Returns this union of this Predicate with another. The result is a Predicate which holds whenever either predicate holds.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#or(mondrian.rolap.StarPredicate)">or</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="orColumn(mondrian.rolap.StarColumnPredicate)"><!-- --></A><H3>orColumn</H3><PRE>public <A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A> <B>orColumn</B>(<A HREF="../../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A>&nbsp;predicate)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#orColumn(mondrian.rolap.StarColumnPredicate)">StarColumnPredicate</A></CODE></B></DD><DD>Returns this union of this Predicate with another. <p>Unlike <A HREF="../../../mondrian/rolap/StarPredicate.html#or(mondrian.rolap.StarPredicate)"><CODE>StarPredicate.or(mondrian.rolap.StarPredicate)</CODE></A>, the other predicate must be on this column, and the result is a column predicate.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarColumnPredicate.html#orColumn(mondrian.rolap.StarColumnPredicate)">orColumn</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> - Another predicate on this column<DT><B>Returns:</B><DD>Union predicate on this column</DL></DD></DL><HR><A NAME="and(mondrian.rolap.StarPredicate)"><!-- --></A><H3>and</H3><PRE>public <A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A> <B>and</B>(<A HREF="../../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A>&nbsp;predicate)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#and(mondrian.rolap.StarPredicate)">StarPredicate</A></CODE></B></DD><DD>Returns this intersection of this Predicate with another. The result is a Predicate which holds whenever both predicates hold.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../mondrian/rolap/StarPredicate.html#and(mondrian.rolap.StarPredicate)">and</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="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>&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)</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></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="cloneListWithColumn(mondrian.rolap.RolapStar.Column, java.util.List)"><!-- --></A><H3>cloneListWithColumn</H3><PRE>protected static <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/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A>&gt; <B>cloneListWithColumn</B>(<A HREF="../../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A>&nbsp;column,                                                               <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/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A>&gt;&nbsp;list)</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>&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;PREV CLASS&nbsp;&nbsp;<A HREF="../../../mondrian/rolap/agg/AbstractColumnPredicate.Factory.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/AbstractColumnPredicate.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AbstractColumnPredicate.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;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 + -
显示快捷键?