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
public class LikeNode extends ExpressionNode
expressions: LIKE, ILIKE, NOT LIKE, NOT ILIKE + ESCAPE- Since:
- 4.2
-
-
Field Summary
Fields Modifier and Type Field Description protected charescapeprotected booleanignoreCaseprotected booleannot-
Fields inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.Node
children, childrenCount, parent, type
-
-
Constructor Summary
Constructors Constructor Description LikeNode(boolean ignoreCase, boolean not, char escape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendChildrenEnd(QuotingAppendable buffer)voidappendChildrenSeparator(QuotingAppendable buffer, int childIdx)voidappendChildrenStart(QuotingAppendable buffer)Nodecopy()chargetEscape()booleanisIgnoreCase()booleanisNot()-
Methods inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.ExpressionNode
append, toString
-
-
-
-
Method Detail
-
appendChildrenStart
public void appendChildrenStart(QuotingAppendable buffer)
- Overrides:
appendChildrenStartin classExpressionNode
-
appendChildrenSeparator
public void appendChildrenSeparator(QuotingAppendable buffer, int childIdx)
- Overrides:
appendChildrenSeparatorin classNode
-
appendChildrenEnd
public void appendChildrenEnd(QuotingAppendable buffer)
- Overrides:
appendChildrenEndin classExpressionNode
-
copy
public Node copy()
- Overrides:
copyin classExpressionNode
-
isIgnoreCase
public boolean isIgnoreCase()
-
isNot
public boolean isNot()
-
getEscape
public char getEscape()
-
-