public class UnionItem extends FromItem
FromItems.| 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, setLeftvisitgetParentNode, nullEquals, replaceNodeInList, replaceWith, setParentNode, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequalspublic UnionItem(String alias)
public FromItem getFromItem(String alias)
getFromItem in class FromItempublic List<ColumnVar> appendVars(List<ColumnVar> columns)
appendVars in class FromItempublic ColumnVar getVarForChildren(String name)
getVarForChildren in class FromItempublic void addUnion(FromItem from)
public UnionItem clone()
QueryModelNodeclone in interface QueryModelNodeclone in class FromItempublic <X extends Exception> void visit(RdbmsQueryModelVisitorBase<X> visitor) throws X extends Exception
visit in class RdbmsQueryModelNodeBaseX extends Exceptionpublic void replaceChildNode(QueryModelNode current, QueryModelNode replacement)
QueryModelNodeBaseQueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode)
that throws an IllegalArgumentException indicating that
current is not a child node of this node.replaceChildNode in interface QueryModelNodereplaceChildNode in class FromItemcurrent - The current child node.replacement - The new child node.public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNodeBaseQueryModelNode.visitChildren(org.openrdf.query.algebra.QueryModelVisitor<X>) that does
nothing. Subclasses should override this method when they have child
nodes.visitChildren in interface QueryModelNodevisitChildren in class FromItemX extends ExceptionCopyright © 2001–2015 Aduna. All rights reserved.