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
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionNode(String functionName, String alias) FunctionNode(String functionName, String alias, boolean needParentheses) -
Method Summary
Modifier and TypeMethodDescriptionappend(QuotingAppendable buffer) voidappendChildrenEnd(QuotingAppendable buffer) voidappendChildrenSeparator(QuotingAppendable buffer, int childIdx) voidappendChildrenStart(QuotingAppendable buffer) copy()booleangetAlias()inthashCode()voidprotected booleanvoidvisit(NodeTreeVisitor visitor) static FunctionNodeMethods inherited from class Node
addChild, addChild, deepCopy, deepEquals, getChild, getChildrenCount, getParent, getType, replaceChild, setParent, toStringModifier and TypeMethodDescription<T extends Node>
TdeepCopy()booleandeepEquals(Node node) getChild(int idx) intgetType()voidreplaceChild(int idx, Node node) voidtoString()
-
Constructor Details
-
FunctionNode
-
FunctionNode
-
-
Method Details
-
wrap
-
append
-
visit
-
appendChildrenStart
- Overrides:
appendChildrenStartin classNode
-
appendChildrenEnd
- Overrides:
appendChildrenEndin classNode
-
appendChildrenSeparator
- Overrides:
appendChildrenSeparatorin classNode
-
getFunctionName
-
getAlias
-
setAlias
-
copy
-
skipContent
protected boolean skipContent() -
equals
-
hashCode
-