Class LikeNode
java.lang.Object
org.apache.cayenne.access.sqlbuilder.sqltree.Node
org.apache.cayenne.access.sqlbuilder.sqltree.ExpressionNode
org.apache.cayenne.access.sqlbuilder.sqltree.LikeNode
- Direct Known Subclasses:
MysqlLikeNode
,PostgresLikeNode
expressions: LIKE, ILIKE, NOT LIKE, NOT ILIKE + ESCAPE
- Since:
- 4.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final char
protected final boolean
protected final boolean
Fields inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.Node
children, childrenCount, parent, type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendChildrenEnd
(QuotingAppendable buffer) void
appendChildrenSeparator
(QuotingAppendable buffer, int childIdx) void
appendChildrenStart
(QuotingAppendable buffer) copy()
boolean
char
int
hashCode()
boolean
boolean
isNot()
Methods inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.ExpressionNode
append, toString
Methods inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.Node
addChild, addChild, deepCopy, deepEquals, getChild, getChildrenCount, getParent, getType, replaceChild, setParent, visit
-
Field Details
-
ignoreCase
protected final boolean ignoreCase -
not
protected final boolean not -
escape
protected final char escape
-
-
Constructor Details
-
LikeNode
public LikeNode(boolean ignoreCase, boolean not, char escape)
-
-
Method Details
-
appendChildrenStart
- Overrides:
appendChildrenStart
in classExpressionNode
-
appendChildrenSeparator
- Overrides:
appendChildrenSeparator
in classNode
-
appendChildrenEnd
- Overrides:
appendChildrenEnd
in classExpressionNode
-
copy
- Overrides:
copy
in classExpressionNode
-
isIgnoreCase
public boolean isIgnoreCase() -
isNot
public boolean isNot() -
getEscape
public char getEscape() -
equals
-
hashCode
public int hashCode()
-