Class Node
java.lang.Object
org.apache.cayenne.access.sqlbuilder.sqltree.Node
- Direct Known Subclasses:
- AliasedNode,- ColumnNode,- ConvertNode,- DeleteNode,- DistinctNode,- EmptyNode,- ExistsNode,- ExpressionNode,- FirebirdLimitNode,- FromNode,- FunctionNode,- GroupByNode,- HavingNode,- InNode,- InsertColumnsNode,- InsertNode,- InsertValuesNode,- JoinNode,- LimitOffsetNode,- NotNode,- OffsetNode,- OrderByNode,- PostgresExtractFunctionNode,- SelectNode,- SelectResultNode,- SubqueryNode,- TableNode,- TextNode,- TopNode,- TrimmingColumnNode,- UpdateNode,- UpdateSetNode,- ValueNode,- WhereNode
- Since:
- 4.2
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract QuotingAppendableappend(QuotingAppendable buffer) voidappendChildrenEnd(QuotingAppendable buffer) voidappendChildrenSeparator(QuotingAppendable buffer, int childInd) voidappendChildrenStart(QuotingAppendable buffer) abstract Nodecopy()<T extends Node>
 TdeepCopy()getChild(int idx) intgetType()voidreplaceChild(int idx, Node node) voidtoString()voidvisit(NodeTreeVisitor visitor) 
- 
Field Details- 
parent
- 
children
- 
childrenCountprotected int childrenCount
- 
type
 
- 
- 
Constructor Details- 
Node
- 
Nodepublic Node()
 
- 
- 
Method Details- 
addChild
- 
addChild
- 
getChild
- 
getChildrenCountpublic int getChildrenCount()
- 
replaceChild
- 
getParent
- 
setParent
- 
visit
- 
deepCopy- Returns:
- deep copy(i.e. with copies of all children) of this node
 
- 
toString
- 
getType
- 
copy
- 
append
- 
appendChildrenSeparator
- 
appendChildrenStart
- 
appendChildrenEnd
 
-