public class SqlCase extends RdbmsQueryModelNodeBase implements SqlExpr
Modifier and Type | Class and Description |
---|---|
class |
SqlCase.Entry |
Constructor and Description |
---|
SqlCase() |
Modifier and Type | Method and Description |
---|---|
SqlCase |
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.
|
List<SqlCase.Entry> |
getEntries() |
int |
hashCode() |
void |
removeEntry(SqlCase.Entry e) |
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 |
truncateEntries(SqlCase.Entry e) |
<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. |
void |
when(SqlExpr condition,
SqlExpr expr) |
visit
getParentNode, getSignature, nullEquals, replaceNodeInList, replaceWith, setParentNode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getParentNode, getSignature, replaceWith, setParentNode, toString, visit
public List<SqlCase.Entry> getEntries()
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 SqlCase clone()
QueryModelNode
clone
in interface QueryModelNode
clone
in interface SqlExpr
clone
in class QueryModelNodeBase
public <X extends Exception> void visit(RdbmsQueryModelVisitorBase<X> visitor) throws X extends Exception
visit
in class RdbmsQueryModelNodeBase
X extends Exception
public void removeEntry(SqlCase.Entry e)
public void truncateEntries(SqlCase.Entry e)
public boolean equals(Object obj)
QueryModelNode
equals
in interface QueryModelNode
equals
in class Object
Copyright © 2001-2016 Aduna. All Rights Reserved.