Class BetweenNode
java.lang.Object
org.apache.cayenne.access.sqlbuilder.sqltree.Node
org.apache.cayenne.access.sqlbuilder.sqltree.ExpressionNode
org.apache.cayenne.access.sqlbuilder.sqltree.BetweenNode
- Since:
- 4.2
-
Field Summary
Fields inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.Node
children, childrenCount, parent, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendChildrenSeparator(SQLAppendable buffer, int childIdx) copy()booleaninthashCode()protected booleanbooleanisNot()Methods inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.ExpressionNode
append, appendChildrenEnd, appendChildrenStart, logicalOperator, needsParentheses, toStringMethods inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.Node
addChild, addChild, deepCopy, deepEquals, getChild, getChildrenCount, getParent, getType, replaceChild, setParent, visit
-
Constructor Details
-
BetweenNode
public BetweenNode(boolean not)
-
-
Method Details
-
appendChildrenSeparator
- Overrides:
appendChildrenSeparatorin classNode
-
isComparison
protected boolean isComparison()- Overrides:
isComparisonin classExpressionNode- Returns:
- true for comparison operators that bind tighter than
AND/ORand therefore don't need parentheses when nested directly under them.
-
copy
- Overrides:
copyin classExpressionNode
-
isNot
public boolean isNot() -
equals
-
hashCode
public int hashCode()
-