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) voidappendChildrenEnd(QuotingAppendable buffer) voidappendChildrenSeparator(QuotingAppendable buffer, int childIdx) voidappendChildrenStart(QuotingAppendable buffer) copy()getAlias()voidprotected booleanvoidvisit(NodeTreeVisitor visitor) static FunctionNode
-
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()
-