public abstract class UnarySqlOperator extends RdbmsQueryModelNodeBase implements SqlExpr
Constructor and Description |
---|
UnarySqlOperator() |
UnarySqlOperator(SqlExpr arg) |
Modifier and Type | Method and Description |
---|---|
UnarySqlOperator |
clone()
Returns a (deep) clone of this query model node.
|
boolean |
equals(Object obj)
Returns true if this query model node and its children are
recursively equal to o and its children.
|
SqlExpr |
getArg() |
int |
hashCode() |
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. |
void |
setArg(SqlExpr arg) |
String |
toString()
Returns an indented print of the node tree, starting from this node.
|
<X extends Exception> |
visitChildren(QueryModelVisitor<X> visitor)
Dummy implementation of
QueryModelNode.visitChildren(org.openrdf.query.algebra.QueryModelVisitor<X>) that does
nothing. |
visit, visit
getParentNode, getSignature, nullEquals, replaceNodeInList, replaceWith, setParentNode
finalize, getClass, notify, notifyAll, wait, wait, wait
getParentNode, getSignature, replaceWith, setParentNode, visit
public UnarySqlOperator()
public UnarySqlOperator(SqlExpr arg)
public SqlExpr getArg()
public void setArg(SqlExpr arg)
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 QueryModelNodeBase
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 QueryModelNodeBase
current
- The current child node.replacement
- The new child node.public UnarySqlOperator clone()
QueryModelNode
clone
in interface QueryModelNode
clone
in interface SqlExpr
clone
in class QueryModelNodeBase
public boolean equals(Object obj)
QueryModelNode
equals
in interface QueryModelNode
equals
in class Object
public String toString()
QueryModelNode
toString
in interface QueryModelNode
toString
in class QueryModelNodeBase
Copyright © 2001–2015 Aduna. All rights reserved.