starpredicate.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 467 行 · 第 1/2 页
HTML
467 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_15) on Thu Jul 31 17:20:13 EDT 2008 --><TITLE>StarPredicate (Mondrian OLAP Server, version 3.0.4.11371)</TITLE><META NAME="keywords" CONTENT="mondrian.rolap.StarPredicate interface"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="StarPredicate (Mondrian OLAP Server, version 3.0.4.11371)";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../mondrian/rolap/StarColumnPredicate.Overlap.html" title="class in mondrian.rolap"><B>PREV CLASS</B></A> <A HREF="../../mondrian/rolap/StringList.html" title="class in mondrian.rolap"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?mondrian/rolap/StarPredicate.html" target="_top"><B>FRAMES</B></A> <A HREF="StarPredicate.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: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">mondrian.rolap</FONT><BR>Interface StarPredicate</H2><DL><DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../mondrian/rolap/StarColumnPredicate.html" title="interface in mondrian.rolap">StarColumnPredicate</A></DD></DL><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../mondrian/rolap/agg/AbstractColumnPredicate.html" title="class in mondrian.rolap.agg">AbstractColumnPredicate</A>, <A HREF="../../mondrian/rolap/agg/AndPredicate.html" title="class in mondrian.rolap.agg">AndPredicate</A>, <A HREF="../../mondrian/rolap/agg/ListColumnPredicate.html" title="class in mondrian.rolap.agg">ListColumnPredicate</A>, <A HREF="../../mondrian/rolap/agg/ListPredicate.html" title="class in mondrian.rolap.agg">ListPredicate</A>, <A HREF="../../mondrian/rolap/agg/LiteralStarPredicate.html" title="class in mondrian.rolap.agg">LiteralStarPredicate</A>, <A HREF="../../mondrian/rolap/agg/MemberColumnPredicate.html" title="class in mondrian.rolap.agg">MemberColumnPredicate</A>, <A HREF="../../mondrian/rolap/agg/MemberTuplePredicate.html" title="class in mondrian.rolap.agg">MemberTuplePredicate</A>, <A HREF="../../mondrian/rolap/agg/MinusStarPredicate.html" title="class in mondrian.rolap.agg">MinusStarPredicate</A>, <A HREF="../../mondrian/rolap/agg/OrPredicate.html" title="class in mondrian.rolap.agg">OrPredicate</A>, <A HREF="../../mondrian/rolap/agg/RangeColumnPredicate.html" title="class in mondrian.rolap.agg">RangeColumnPredicate</A>, <A HREF="../../mondrian/rolap/agg/ValueColumnPredicate.html" title="class in mondrian.rolap.agg">ValueColumnPredicate</A></DD></DL><HR><DL><DT><PRE>public interface <B>StarPredicate</B></DL></PRE><P>Condition which constrains a set of values of a single <A HREF="../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap"><CODE>RolapStar.Column</CODE></A> or a set of columns. <p>For example, the predicate <code>Range([Time].[1997].[Q3], [Time].[1998].[Q2])</code> constrains the <code>year</code> and <code>quarter</code> columns: <blockquote><code> ((year = 1997 and quarter >= 'Q3')<br/> or (year > 1997))<br/> and ((year = 1998 and quarter <= 'Q2')<br/> or (year < 1998))</code></blockquote><P><P><DL><DT><B>Since:</B></DT> <DD>Jan 15, 2007</DD><DT><B>Version:</B></DT> <DD>$Id: //open/mondrian-release/3.0/src/main/mondrian/rolap/StarPredicate.java#2 $</DD><DT><B>Author:</B></DT> <DD>jhyde</DD></DL><HR><P><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Field Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <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/StarPredicate.html#WILDCARD">WILDCARD</A></B></CODE><BR> Wildcard value for <A HREF="../../mondrian/rolap/StarPredicate.html#evaluate(java.util.List)"><CODE>evaluate(java.util.List)</CODE></A>.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/StarPredicate.html#and(mondrian.rolap.StarPredicate)">and</A></B>(<A HREF="../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A> predicate)</CODE><BR> Returns this intersection of this Predicate with another.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/StarPredicate.html#describe(java.lang.StringBuilder)">describe</A></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)</CODE><BR> Appends a description of this predicate to a <code>StringBuilder</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/StarPredicate.html#equalConstraint(mondrian.rolap.StarPredicate)">equalConstraint</A></B>(<A HREF="../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A> that)</CODE><BR> 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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/StarPredicate.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><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>> valueList)</CODE><BR> 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> <A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/StarPredicate.html#getConstrainedColumnBitKey()">getConstrainedColumnBitKey</A></B>()</CODE><BR> Returns a bitmap of constrained columns to speed up comparison</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../mondrian/rolap/RolapStar.Column.html" title="class in mondrian.rolap">RolapStar.Column</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/StarPredicate.html#getConstrainedColumnList()">getConstrainedColumnList</A></B>()</CODE><BR> Returns a list of constrained columns.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/StarPredicate.html#minus(mondrian.rolap.StarPredicate)">minus</A></B>(<A HREF="../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A> predicate)</CODE><BR> 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> <A HREF="../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/StarPredicate.html#or(mondrian.rolap.StarPredicate)">or</A></B>(<A HREF="../../mondrian/rolap/StarPredicate.html" title="interface in mondrian.rolap">StarPredicate</A> predicate)</CODE><BR> Returns this union of this Predicate with another.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/StarPredicate.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> 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)</CODE><BR> </TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?