public abstract class BinarySqlOperator extends RdbmsQueryModelNodeBase implements SqlExpr
Constructor and Description |
---|
BinarySqlOperator() |
BinarySqlOperator(SqlExpr leftArg,
SqlExpr rightArg) |
Modifier and Type | Method and Description |
---|---|
BinarySqlOperator |
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 |
getLeftArg() |
SqlExpr |
getRightArg() |
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 |
setLeftArg(SqlExpr leftArg) |
void |
setRightArg(SqlExpr rightArg) |
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 SqlExpr getLeftArg()
public void setLeftArg(SqlExpr leftArg)
public SqlExpr getRightArg()
public void setRightArg(SqlExpr rightArg)
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 BinarySqlOperator 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-2016 Aduna. All Rights Reserved.