Edit D:\app\Administrator\product\11.2.0\dbhome_1\olap\api\doc\oracle\olapi\syntax\LikeCondition.html
<!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_17) on Wed Aug 12 19:50:28 UTC 2009 --> <TITLE> LikeCondition (Oracle OLAP Java API Reference) </TITLE> <META NAME="keywords" CONTENT="oracle.olapi.syntax.LikeCondition class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="LikeCondition (Oracle OLAP Java API Reference)"; } </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> <b>Oracle® OLAP Java API Reference<br>11<i>g</i> Release 2 (11.2)</b><br>E10794-01<br>Beta Draft</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../oracle/olapi/syntax/KeywordCatalog.html" title="class in oracle.olapi.syntax"><B>PREV CLASS</B></A> <A HREF="../../../oracle/olapi/syntax/ListComparisonCondition.html" title="class in oracle.olapi.syntax"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?oracle/olapi/syntax/LikeCondition.html" target="_top"><B>FRAMES</B></A> <A HREF="LikeCondition.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> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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"> oracle.olapi.syntax</FONT> <BR> Class LikeCondition</H2> <PRE> java.lang.Object <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../oracle/olapi/syntax/SyntaxObject.html" title="class in oracle.olapi.syntax">oracle.olapi.syntax.SyntaxObject</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../oracle/olapi/syntax/DataObject.html" title="class in oracle.olapi.syntax">oracle.olapi.syntax.DataObject</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../oracle/olapi/syntax/Expression.html" title="class in oracle.olapi.syntax">oracle.olapi.syntax.Expression</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../oracle/olapi/syntax/Condition.html" title="class in oracle.olapi.syntax">oracle.olapi.syntax.Condition</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>oracle.olapi.syntax.LikeCondition</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../oracle/olapi/syntax/FunctionArgument.html" title="interface in oracle.olapi.syntax">FunctionArgument</A></DD> </DL> <HR> <DL> <DT><PRE>public final class <B>LikeCondition</B><DT>extends <A HREF="../../../oracle/olapi/syntax/Condition.html" title="class in oracle.olapi.syntax">Condition</A></DL> </PRE> <P> A <CODE>Condition</CODE> that represents a pattern-matching condition that compares the values of <CODE>StringExpression</CODE> objects. The operators of a <CODE>LikeCondition</CODE> specify a test that can match patterns defined by special pattern-matching ("wildcard") characters. <P> The left-hand-side expression of a <CODE>LikeCondition</CODE> specifies the text expression to search. <P> The operator is one of the constants of the class, which are <CODE>LIKE</CODE>, <CODE>LIKEC</CODE>, <CODE>LIKE2</CODE>, and <CODE>LIKE4</CODE>. <P> The right-hand-side expression specifies the pattern to search for. The pattern can contain these wildcard characters: <ul> <li type="disc">An underscore (_), which matches exactly one character (as opposed to one byte in a multibyte character set) in the value. </li> <li type="disc">A percent sign (%, which) can match zero or more characters (as opposed to bytes in a multibyte character set) in the value. A '%' cannot match a null. </li> </ul> <P> The escape expression is a text expression, usually a literal, that is one character long. This escape character identifies an underscore or a percent sign in the pattern as a literal character instead of a wildcard character. You can also search for the escape character itself by repeating it. For example, if @ is the escape character, then you can use @% to search for % and @@ to search for @. <P> <P> <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 java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../oracle/olapi/syntax/LikeCondition.html#LIKE">LIKE</A></B></CODE> <BR> A constant for an operator that tests characters in the input character set.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../oracle/olapi/syntax/LikeCondition.html#LIKE2">LIKE2</A></B></CODE> <BR> A constant for an operator that tests UCS2 code points.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../oracle/olapi/syntax/LikeCondition.html#LIKE4">LIKE4</A></B></CODE> <BR> A constant for an operator that tests UCS4 code points.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../oracle/olapi/syntax/LikeCondition.html#LIKEC">LIKEC</A></B></CODE> <BR> A constant for an operator that tests Unicode complete characters.</TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_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>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../oracle/olapi/syntax/LikeCondition.html#LikeCondition(oracle.olapi.syntax.TypedExpression, java.lang.String, oracle.olapi.syntax.TypedExpression)">LikeCondition</A></B>(<A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> lhsExpression, java.lang.String operator, <A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> rhsExpression)</CODE> <BR> Creates a <CODE>LikeCondition</CODE> that has the specified left-hand-side expression, operator, and right-hand-side expression, does not have an escape character, and is not negated.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../oracle/olapi/syntax/LikeCondition.html#LikeCondition(oracle.olapi.syntax.TypedExpression, java.lang.String, oracle.olapi.syntax.TypedExpression, oracle.olapi.syntax.TypedExpression, boolean)">LikeCondition</A></B>(<A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> lhsExpression, java.lang.String operator, <A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> rhsExpression, <A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> escapeExpression, boolean negate)</CODE> <BR> Creates a <CODE>LikeCondition</CODE> that has the specified left-hand-side expression, operator, right-hand-side expression, escape character, and negation indicator.</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="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../oracle/olapi/syntax/LikeCondition.html#getEscapeExpression()">getEscapeExpression</A></B>()</CODE> <BR> Gets the escape expression for this <CODE>LikeCondition</CODE>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../oracle/olapi/syntax/LikeCondition.html#getLhsExpression()">getLhsExpression</A></B>()</CODE> <BR> Gets the expression that is the left-hand-side argument of this <CODE>LikeCondition</CODE>, which contains the text to search.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../oracle/olapi/syntax/LikeCondition.html#getOperator()">getOperator</A></B>()</CODE> <BR> Gets the operator for this <CODE>LikeCondition</CODE>, which is one of the constants of this class.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../oracle/olapi/syntax/LikeCondition.html#getRhsExpression()">getRhsExpression</A></B>()</CODE> <BR> Gets the expression that is the right-hand-side argument of this <CODE>LikeCondition</CODE>, which contains the text pattern to search for.</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="../../../oracle/olapi/syntax/LikeCondition.html#isNegated()">isNegated</A></B>()</CODE> <BR> Indicates whether this <CODE>LikeCondition</CODE> includes the <CODE>NOT</CODE> operator.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../oracle/olapi/syntax/LikeCondition.html#visit(oracle.olapi.syntax.SyntaxObjectVisitor, java.lang.Object)">visit</A></B>(<A HREF="../../../oracle/olapi/syntax/SyntaxObjectVisitor.html" title="class in oracle.olapi.syntax">SyntaxObjectVisitor</A> visitor, java.lang.Object context)</CODE> <BR> Calls the <code>visitLikeCondition</code> method of the <code>SyntaxObjectVisitor</code> and passes that method this <code>LikeCondition</code> and an <code>Object</code>.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_oracle.olapi.syntax.Condition"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class oracle.olapi.syntax.<A HREF="../../../oracle/olapi/syntax/Condition.html" title="class in oracle.olapi.syntax">Condition</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../oracle/olapi/syntax/Condition.html#and(oracle.olapi.syntax.Condition)">and</A>, <A HREF="../../../oracle/olapi/syntax/Condition.html#isCompositeObject()">isCompositeObject</A>, <A HREF="../../../oracle/olapi/syntax/Condition.html#not()">not</A>, <A HREF="../../../oracle/olapi/syntax/Condition.html#or(oracle.olapi.syntax.Condition)">or</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_oracle.olapi.syntax.SyntaxObject"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class oracle.olapi.syntax.<A HREF="../../../oracle/olapi/syntax/SyntaxObject.html" title="class in oracle.olapi.syntax">SyntaxObject</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#equals(oracle.olapi.syntax.SyntaxObject)">equals</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#equals(oracle.olapi.syntax.SyntaxObject, boolean)">equals</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#fromSyntax(java.lang.String, oracle.olapi.metadata.mdm.MdmMetadataProvider)">fromSyntax</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#fromSyntax(java.lang.String, oracle.olapi.metadata.mdm.MdmMetadataProvider, java.lang.String)">fromSyntax</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#fromSyntax(java.lang.String, oracle.olapi.metadata.mdm.MdmMetadataProvider, java.lang.String, boolean)">fromSyntax</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#fromSyntax(java.lang.String, oracle.olapi.metadata.mdm.MdmMetadataProvider, java.lang.String, boolean, java.util.List)">fromSyntax</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#fromSyntax(java.lang.String, oracle.olapi.metadata.mdm.MdmMetadataProvider, java.lang.String, boolean, java.util.List, oracle.olapi.metadata.XMLParserCallback)">fromSyntax</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#isValid()">isValid</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#toSyntax()">toSyntax</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#toSyntax(java.lang.String)">toSyntax</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#toSyntax(java.lang.StringBuffer, java.lang.String, java.util.List)">toSyntax</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#toSyntax(java.lang.StringBuffer, java.lang.String, java.util.List, boolean)">toSyntax</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#toSyntax(java.lang.String, java.util.List)">toSyntax</A>, <A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#toSyntax(java.lang.String, oracle.olapi.syntax.Query)">toSyntax</A></CODE></TD> </TR> </TABLE> <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.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <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="LIKE"><!-- --></A><H3> LIKE</H3> <PRE> public static final java.lang.String <B>LIKE</B></PRE> <DL> <DD>A constant for an operator that tests characters in the input character set. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#oracle.olapi.syntax.LikeCondition.LIKE">Constant Field Values</A></DL> </DL> <HR> <A NAME="LIKEC"><!-- --></A><H3> LIKEC</H3> <PRE> public static final java.lang.String <B>LIKEC</B></PRE> <DL> <DD>A constant for an operator that tests Unicode complete characters. It treats a Unicode supplementary character as two characters. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#oracle.olapi.syntax.LikeCondition.LIKEC">Constant Field Values</A></DL> </DL> <HR> <A NAME="LIKE2"><!-- --></A><H3> LIKE2</H3> <PRE> public static final java.lang.String <B>LIKE2</B></PRE> <DL> <DD>A constant for an operator that tests UCS2 code points. It treats a Unicode supplementary character as one character. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#oracle.olapi.syntax.LikeCondition.LIKE2">Constant Field Values</A></DL> </DL> <HR> <A NAME="LIKE4"><!-- --></A><H3> LIKE4</H3> <PRE> public static final java.lang.String <B>LIKE4</B></PRE> <DL> <DD>A constant for an operator that tests UCS4 code points. It treats a composite character as one character. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#oracle.olapi.syntax.LikeCondition.LIKE4">Constant Field Values</A></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="LikeCondition(oracle.olapi.syntax.TypedExpression, java.lang.String, oracle.olapi.syntax.TypedExpression, oracle.olapi.syntax.TypedExpression, boolean)"><!-- --></A><H3> LikeCondition</H3> <PRE> public <B>LikeCondition</B>(<A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> lhsExpression, java.lang.String operator, <A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> rhsExpression, <A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> escapeExpression, boolean negate)</PRE> <DL> <DD>Creates a <CODE>LikeCondition</CODE> that has the specified left-hand-side expression, operator, right-hand-side expression, escape character, and negation indicator. <P> <DL> <DT><B>Parameters:</B><DD><CODE>lhsExpression</CODE> - A <CODE>TypedExpression</CODE> that has the text expression for the search value.<DD><CODE>operator</CODE> - A <CODE>LikeCondition</CODE> constant that specifies the opeator for the condition test.<DD><CODE>rhsExpression</CODE> - A <CODE>TypedExpression</CODE> that has the text expression for the pattern.<DD><CODE>escapeExpression</CODE> - A <CODE>TypedExpression</CODE> that has the text expression to use as the escape character.<DD><CODE>negate</CODE> - A <CODE>boolean</CODE> that if <CODE>true</CODE> adds <CODE>NOT</CODE> to the operator or if <CODE>false</CODE> does not add <CODE>NOT</CODE> to the operator.</DL> </DL> <HR> <A NAME="LikeCondition(oracle.olapi.syntax.TypedExpression, java.lang.String, oracle.olapi.syntax.TypedExpression)"><!-- --></A><H3> LikeCondition</H3> <PRE> public <B>LikeCondition</B>(<A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> lhsExpression, java.lang.String operator, <A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> rhsExpression)</PRE> <DL> <DD>Creates a <CODE>LikeCondition</CODE> that has the specified left-hand-side expression, operator, and right-hand-side expression, does not have an escape character, and is not negated. For a <CODE>LikeCondition</CODE> created by this constructor, the <CODE>getEscapeExpression</CODE> method returns <CODE>null</CODE> and the <CODE>isNegated</CODE> method returns <CODE>false</CODE>. <P> <DL> <DT><B>Parameters:</B><DD><CODE>lhsExpression</CODE> - A <CODE>TypedExpression</CODE> that has the text expression for the search value.<DD><CODE>operator</CODE> - A <CODE>LikeCondition</CODE> constant that specifies the opeator for the condition test.<DD><CODE>rhsExpression</CODE> - A <CODE>TypedExpression</CODE> that has the text expression for the pattern.</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="visit(oracle.olapi.syntax.SyntaxObjectVisitor, java.lang.Object)"><!-- --></A><H3> visit</H3> <PRE> public java.lang.Object <B>visit</B>(<A HREF="../../../oracle/olapi/syntax/SyntaxObjectVisitor.html" title="class in oracle.olapi.syntax">SyntaxObjectVisitor</A> visitor, java.lang.Object context)</PRE> <DL> <DD>Calls the <code>visitLikeCondition</code> method of the <code>SyntaxObjectVisitor</code> and passes that method this <code>LikeCondition</code> and an <code>Object</code>. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../oracle/olapi/syntax/SyntaxObject.html#visit(oracle.olapi.syntax.SyntaxObjectVisitor, java.lang.Object)">visit</A></CODE> in class <CODE><A HREF="../../../oracle/olapi/syntax/SyntaxObject.html" title="class in oracle.olapi.syntax">SyntaxObject</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>visitor</CODE> - A <code>SyntaxObjectVisitor</code>.<DD><CODE>context</CODE> - An <code>Object</code>. <DT><B>Returns:</B><DD>The <code>Object</code> returned by the <code>visitLikeCondition</code> method.</DL> </DD> </DL> <HR> <A NAME="isNegated()"><!-- --></A><H3> isNegated</H3> <PRE> public boolean <B>isNegated</B>()</PRE> <DL> <DD>Indicates whether this <CODE>LikeCondition</CODE> includes the <CODE>NOT</CODE> operator. <P> <DD><DL> <DT><B>Returns:</B><DD>A <CODE>boolean</CODE> that is <CODE>true</CODE> if this <CODE>LikeCondition</CODE> includes the <CODE>NOT</CODE> operator or <CODE>false</CODE> if it does not.</DL> </DD> </DL> <HR> <A NAME="getOperator()"><!-- --></A><H3> getOperator</H3> <PRE> public java.lang.String <B>getOperator</B>()</PRE> <DL> <DD>Gets the operator for this <CODE>LikeCondition</CODE>, which is one of the constants of this class. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>A <CODE>String</CODE> that contains the operator for this <CODE>LikeCondition</CODE>.</DL> </DD> </DL> <HR> <A NAME="getEscapeExpression()"><!-- --></A><H3> getEscapeExpression</H3> <PRE> public <A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> <B>getEscapeExpression</B>()</PRE> <DL> <DD>Gets the escape expression for this <CODE>LikeCondition</CODE>. <P> <DD><DL> <DT><B>Returns:</B><DD>A <CODE>String</CODE> that contains the escape expression for this <CODE>LikeCondition</CODE>.</DL> </DD> </DL> <HR> <A NAME="getLhsExpression()"><!-- --></A><H3> getLhsExpression</H3> <PRE> public <A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> <B>getLhsExpression</B>()</PRE> <DL> <DD>Gets the expression that is the left-hand-side argument of this <CODE>LikeCondition</CODE>, which contains the text to search. <P> <DD><DL> <DT><B>Returns:</B><DD>A <CODE>TypedExpression</CODE> that is the left-hand-side argument of this <CODE>LikeCondition</CODE>.</DL> </DD> </DL> <HR> <A NAME="getRhsExpression()"><!-- --></A><H3> getRhsExpression</H3> <PRE> public <A HREF="../../../oracle/olapi/syntax/TypedExpression.html" title="class in oracle.olapi.syntax">TypedExpression</A> <B>getRhsExpression</B>()</PRE> <DL> <DD>Gets the expression that is the right-hand-side argument of this <CODE>LikeCondition</CODE>, which contains the text pattern to search for. <P> <DD><DL> <DT><B>Returns:</B><DD>A <CODE>TypedExpression</CODE> that is the right-hand-side argument of this <CODE>LikeCondition</CODE>.</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> <center>Copyright © 2002, 2009, Oracle. All rights reserved.</center></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../oracle/olapi/syntax/KeywordCatalog.html" title="class in oracle.olapi.syntax"><B>PREV CLASS</B></A> <A HREF="../../../oracle/olapi/syntax/ListComparisonCondition.html" title="class in oracle.olapi.syntax"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?oracle/olapi/syntax/LikeCondition.html" target="_top"><B>FRAMES</B></A> <A HREF="LikeCondition.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> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <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>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de