Module net.sf.jsqlparser
Class LikeExpression
- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.BinaryExpression
-
- net.sf.jsqlparser.expression.operators.relational.LikeExpression
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public class LikeExpression extends BinaryExpression
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LikeExpression.KeyWord
-
Field Summary
Fields Modifier and Type Field Description private Expression
escapeExpression
private LikeExpression.KeyWord
likeKeyWord
private boolean
not
private boolean
useBinary
-
Constructor Summary
Constructors Constructor Description LikeExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)
Expression
getEscape()
LikeExpression.KeyWord
getLikeKeyWord()
java.lang.String
getStringExpression()
Deprecated.boolean
isCaseInsensitive()
Deprecated.boolean
isNot()
boolean
isUseBinary()
void
setCaseInsensitive(boolean caseInsensitive)
Deprecated.void
setEscape(Expression escapeExpression)
LikeExpression
setLikeKeyWord(java.lang.String likeKeyWord)
LikeExpression
setLikeKeyWord(LikeExpression.KeyWord likeKeyWord)
void
setNot(boolean b)
LikeExpression
setUseBinary(boolean useBinary)
java.lang.String
toString()
LikeExpression
withCaseInsensitive(boolean caseInsensitive)
Deprecated.LikeExpression
withEscape(Expression escape)
LikeExpression
withLeftExpression(Expression arg0)
LikeExpression
withNot(boolean not)
LikeExpression
withRightExpression(Expression arg0)
-
Methods inherited from class net.sf.jsqlparser.expression.BinaryExpression
add, and, bitAnd, bitOr, bitShiftLeft, bitShiftRight, bitXor, build, concat, divide, divideInt, getLeftExpression, getLeftExpression, getRightExpression, getRightExpression, modulo, multiply, or, setLeftExpression, setRightExpression, subtract, xor
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, getParent, getParent, setASTNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.jsqlparser.parser.ASTNodeAccess
getASTNode, setASTNode
-
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
-
-
-
-
Field Detail
-
not
private boolean not
-
useBinary
private boolean useBinary
-
escapeExpression
private Expression escapeExpression
-
likeKeyWord
private LikeExpression.KeyWord likeKeyWord
-
-
Method Detail
-
isNot
public boolean isNot()
-
setNot
public void setNot(boolean b)
-
isUseBinary
public boolean isUseBinary()
-
setUseBinary
public LikeExpression setUseBinary(boolean useBinary)
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
-
getStringExpression
@Deprecated public java.lang.String getStringExpression()
Deprecated.- Specified by:
getStringExpression
in classBinaryExpression
-
toString
public java.lang.String toString()
- Overrides:
toString
in classBinaryExpression
-
getEscape
public Expression getEscape()
-
setEscape
public void setEscape(Expression escapeExpression)
-
isCaseInsensitive
@Deprecated public boolean isCaseInsensitive()
Deprecated.
-
setCaseInsensitive
@Deprecated public void setCaseInsensitive(boolean caseInsensitive)
Deprecated.
-
getLikeKeyWord
public LikeExpression.KeyWord getLikeKeyWord()
-
setLikeKeyWord
public LikeExpression setLikeKeyWord(LikeExpression.KeyWord likeKeyWord)
-
setLikeKeyWord
public LikeExpression setLikeKeyWord(java.lang.String likeKeyWord)
-
withEscape
public LikeExpression withEscape(Expression escape)
-
withCaseInsensitive
@Deprecated public LikeExpression withCaseInsensitive(boolean caseInsensitive)
Deprecated.
-
withNot
public LikeExpression withNot(boolean not)
-
withLeftExpression
public LikeExpression withLeftExpression(Expression arg0)
- Overrides:
withLeftExpression
in classBinaryExpression
-
withRightExpression
public LikeExpression withRightExpression(Expression arg0)
- Overrides:
withRightExpression
in classBinaryExpression
-
-