public class SQLLike extends Object implements SQLExpressionIF
A LIKE condition specifies a test involving pattern matching. Note that right value must be a pattern, i.e. a string.
Modifier and Type | Field and Description |
---|---|
protected boolean |
caseSensitive |
protected SQLValueIF |
left |
protected SQLValueIF |
right |
AND, EQUALS, EXISTS, FALSE, IN, IS_NULL, JOIN, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, VALUE_EXPRESSION, VERBATIM
Constructor and Description |
---|
SQLLike(SQLValueIF left,
SQLValueIF right,
boolean caseSensitive) |
Modifier and Type | Method and Description |
---|---|
boolean |
getCaseSensitive() |
SQLValueIF |
getLeft() |
SQLValueIF |
getRight() |
int |
getType()
INTERNAL: Returns the expression type.
|
void |
setCaseSensitive(boolean caseSensitive) |
void |
setLeft(SQLValueIF left) |
void |
setRight(SQLValueIF right) |
String |
toString() |
protected SQLValueIF left
protected SQLValueIF right
protected boolean caseSensitive
public SQLLike(SQLValueIF left, SQLValueIF right, boolean caseSensitive)
public int getType()
SQLExpressionIF
SQLExpressionIF
interface.getType
in interface SQLExpressionIF
public SQLValueIF getLeft()
public void setLeft(SQLValueIF left)
public SQLValueIF getRight()
public void setRight(SQLValueIF right)
public boolean getCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)