Class FunctionNode
java.lang.Object
org.apache.cayenne.access.sqlbuilder.sqltree.Node
org.apache.cayenne.access.sqlbuilder.sqltree.FunctionNode
- Direct Known Subclasses:
FirebirdSubstringFunctionNode
,PositionFunctionNode
- Since:
- 4.2
-
Field Summary
Fields inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.Node
children, childrenCount, parent, type
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionNode
(String functionName, String alias) FunctionNode
(String functionName, String alias, boolean needParentheses) -
Method Summary
Modifier and TypeMethodDescriptionappend
(QuotingAppendable buffer) void
appendChildrenEnd
(QuotingAppendable buffer) void
appendChildrenSeparator
(QuotingAppendable buffer, int childIdx) void
appendChildrenStart
(QuotingAppendable buffer) copy()
boolean
getAlias()
int
hashCode()
void
protected boolean
void
visit
(NodeTreeVisitor visitor) static FunctionNode
Methods inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.Node
addChild, addChild, deepCopy, deepEquals, getChild, getChildrenCount, getParent, getType, replaceChild, setParent, toString
-
Constructor Details
-
FunctionNode
-
FunctionNode
-
-
Method Details
-
wrap
-
append
-
visit
-
appendChildrenStart
- Overrides:
appendChildrenStart
in classNode
-
appendChildrenEnd
- Overrides:
appendChildrenEnd
in classNode
-
appendChildrenSeparator
- Overrides:
appendChildrenSeparator
in classNode
-
getFunctionName
-
getAlias
-
setAlias
-
copy
-
skipContent
protected boolean skipContent() -
equals
-
hashCode
public int hashCode()
-