public class UnionItem extends FromItem
FromItem
s.Modifier and Type | Method and Description |
---|---|
void |
addUnion(FromItem from) |
List<ColumnVar> |
appendVars(List<ColumnVar> columns) |
UnionItem |
clone()
Returns a (deep) clone of this query model node.
|
FromItem |
getFromItem(String alias) |
List<ColumnVar> |
getSelectColumns() |
List<String> |
getSelectVarNames() |
List<FromItem> |
getUnion() |
ColumnVar |
getVar(String name) |
ColumnVar |
getVarForChildren(String name) |
void |
replaceChildNode(QueryModelNode current,
QueryModelNode replacement)
Default implementation of
QueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode)
that throws an IllegalArgumentException indicating that
current is not a child node of this node. |
<X extends Exception> |
visit(RdbmsQueryModelVisitorBase<X> visitor) |
<X extends Exception> |
visitChildren(QueryModelVisitor<X> visitor)
Dummy implementation of
QueryModelNode.visitChildren(org.openrdf.query.algebra.QueryModelVisitor<X>) that does
nothing. |
addFilter, addJoin, addJoinBefore, getAlias, getFilters, getFromItemNotInUnion, getJoins, getSignature, isLeft, joinAdded, removeFilter, setLeft
visit
getParentNode, nullEquals, replaceNodeInList, replaceWith, setParentNode, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals
public UnionItem(String alias)
public FromItem getFromItem(String alias)
getFromItem
in class FromItem
public List<ColumnVar> appendVars(List<ColumnVar> columns)
appendVars
in class FromItem
public ColumnVar getVarForChildren(String name)
getVarForChildren
in class FromItem
public void addUnion(FromItem from)
public UnionItem clone()
QueryModelNode
clone
in interface QueryModelNode
clone
in class FromItem
public <X extends Exception> void visit(RdbmsQueryModelVisitorBase<X> visitor) throws X extends Exception
visit
in class RdbmsQueryModelNodeBase
X extends Exception
public void replaceChildNode(QueryModelNode current, QueryModelNode replacement)
QueryModelNodeBase
QueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode)
that throws an IllegalArgumentException
indicating that
current is not a child node of this node.replaceChildNode
in interface QueryModelNode
replaceChildNode
in class FromItem
current
- The current child node.replacement
- The new child node.public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNodeBase
QueryModelNode.visitChildren(org.openrdf.query.algebra.QueryModelVisitor<X>)
that does
nothing. Subclasses should override this method when they have child
nodes.visitChildren
in interface QueryModelNode
visitChildren
in class FromItem
X extends Exception
Copyright © 2001–2015 Aduna. All rights reserved.