public abstract class AbstractNaryOperator<Expr extends org.eclipse.rdf4j.query.algebra.QueryModelNode>
extends org.eclipse.rdf4j.query.algebra.AbstractQueryModelNode
| Constructor and Description |
|---|
AbstractNaryOperator() |
AbstractNaryOperator(Expr... args)
Creates a new n-ary operator.
|
AbstractNaryOperator(List<? extends Expr> args)
Creates a new n-ary operator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addArg(Expr arg)
Sets the arguments of this n-ary operator.
|
AbstractNaryOperator<Expr> |
clone() |
Expr |
getArg(int idx)
Gets the idx-th argument of this n-ary operator.
|
List<? extends Expr> |
getArgs()
Gets the arguments of this n-ary operator.
|
int |
getNumberOfArguments()
Gets the number of arguments of this n-ary operator.
|
boolean |
removeArg(Expr arg) |
void |
replaceChildNode(org.eclipse.rdf4j.query.algebra.QueryModelNode current,
org.eclipse.rdf4j.query.algebra.QueryModelNode replacement) |
protected void |
setArg(int idx,
Expr arg)
Sets the idx-th argument of this n-ary tuple operator.
|
<X extends Exception> |
visitChildren(org.eclipse.rdf4j.query.algebra.QueryModelVisitor<X> visitor) |
getParentNode, getSignature, nullEquals, replaceNodeInList, replaceWith, setParentNode, toStringpublic AbstractNaryOperator()
public AbstractNaryOperator(Expr... args)
public List<? extends Expr> getArgs()
public int getNumberOfArguments()
public Expr getArg(int idx)
public final void addArg(Expr arg)
protected final void setArg(int idx,
Expr arg)
public boolean removeArg(Expr arg)
public <X extends Exception> void visitChildren(org.eclipse.rdf4j.query.algebra.QueryModelVisitor<X> visitor) throws X extends Exception
visitChildren in interface org.eclipse.rdf4j.query.algebra.QueryModelNodevisitChildren in class org.eclipse.rdf4j.query.algebra.AbstractQueryModelNodeX extends Exceptionpublic void replaceChildNode(org.eclipse.rdf4j.query.algebra.QueryModelNode current,
org.eclipse.rdf4j.query.algebra.QueryModelNode replacement)
replaceChildNode in interface org.eclipse.rdf4j.query.algebra.QueryModelNodereplaceChildNode in class org.eclipse.rdf4j.query.algebra.AbstractQueryModelNodepublic AbstractNaryOperator<Expr> clone()
clone in interface org.eclipse.rdf4j.query.algebra.QueryModelNodeclone in class org.eclipse.rdf4j.query.algebra.AbstractQueryModelNodeCopyright © 2015-2018 Eclipse Foundation. All Rights Reserved.