|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.ExpressionBase
com.espertech.esper.client.soda.LikeExpression
public class LikeExpression
SQL-Like expression for matching '%' and '_' wildcard strings following SQL standards.
Constructor Summary | |
---|---|
LikeExpression()
Ctor - for use to create an expression tree, without child expression. |
|
LikeExpression(boolean isNot)
Ctor - for use to create an expression tree, without child expression. |
|
LikeExpression(Expression left,
Expression right)
Ctor. |
|
LikeExpression(Expression left,
Expression right,
boolean isNot)
Ctor. |
|
LikeExpression(Expression left,
Expression right,
Expression escape)
Ctor. |
|
LikeExpression(Expression left,
Expression right,
Expression escape,
boolean isNot)
Ctor. |
Method Summary | |
---|---|
boolean |
getNot()
Returns true if this is a "not like", or false if just a like |
ExpressionPrecedenceEnum |
getPrecedence()
Returns precedence. |
boolean |
isNot()
Returns true if this is a "not like", or false if just a like |
void |
setNot(boolean not)
Set to true if this is a "not like", or false if just a like |
void |
toPrecedenceFreeEPL(java.io.StringWriter writer)
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax. |
Methods inherited from class com.espertech.esper.client.soda.ExpressionBase |
---|
addChild, getChildren, getTreeObjectName, renderAggregation, setChildren, setTreeObjectName, toEPL, toPrecedenceFreeEPL, toPrecedenceFreeEPL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LikeExpression()
Use add methods to add child expressions to acts upon.
public LikeExpression(boolean isNot)
Use add methods to add child expressions to acts upon.
isNot
- if the like-expression is negatedpublic LikeExpression(Expression left, Expression right)
left
- provides the value to matchright
- provides the like-expression to match againstpublic LikeExpression(Expression left, Expression right, Expression escape)
left
- provides the value to matchright
- provides the like-expression to match againstescape
- is the expression providing the string escape characterpublic LikeExpression(Expression left, Expression right, boolean isNot)
left
- provides the value to matchright
- provides the like-expression to match againstisNot
- if the like-expression is negatedpublic LikeExpression(Expression left, Expression right, Expression escape, boolean isNot)
left
- provides the value to matchright
- provides the like-expression to match againstescape
- is the expression providing the string escape characterisNot
- if the like-expression is negatedMethod Detail |
---|
public ExpressionPrecedenceEnum getPrecedence()
Expression
public void toPrecedenceFreeEPL(java.io.StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to usepublic boolean isNot()
public void setNot(boolean not)
not
- indicator whether negated or notpublic boolean getNot()
|
© 2006-2016 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |