|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.algebra.QueryModelNodeBase
org.openrdf.sail.federation.algebra.NaryOperator<Expr>
public abstract class NaryOperator<Expr extends QueryModelNode>
An abstract superclass for operators which have (zero or more) arguments.
| Constructor Summary | |
|---|---|
NaryOperator()
|
|
NaryOperator(Expr... args)
Creates a new n-ary operator. |
|
NaryOperator(List<? extends Expr> args)
Creates a new n-ary operator. |
|
| Method Summary | ||
|---|---|---|
void |
addArg(Expr arg)
Sets the arguments of this n-ary operator. |
|
void |
addArgs(List<? extends Expr> args)
Sets the arguments of this n-ary tuple operator. |
|
NaryOperator<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(QueryModelNode current,
QueryModelNode replacement)
|
|
protected void |
setArg(int idx,
Expr arg)
Sets the idx-th argument of this n-ary tuple operator. |
|
void |
setArgs(List<? extends Expr> args)
Sets the arguments of this n-ary operator. |
|
|
visitChildren(QueryModelVisitor<X> visitor)
|
|
| Methods inherited from class org.openrdf.query.algebra.QueryModelNodeBase |
|---|
getParentNode, getSignature, nullEquals, replaceNodeInList, replaceWith, setParentNode, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openrdf.query.algebra.QueryModelNode |
|---|
equals, visit |
| Constructor Detail |
|---|
public NaryOperator()
public NaryOperator(Expr... args)
public NaryOperator(List<? extends Expr> args)
| Method Detail |
|---|
public List<? extends Expr> getArgs()
public int getNumberOfArguments()
public Expr getArg(int idx)
public void addArgs(List<? extends Expr> args)
public void addArg(Expr arg)
public void setArgs(List<? extends Expr> args)
protected void setArg(int idx,
Expr arg)
public boolean removeArg(Expr arg)
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X extends Exception
visitChildren in interface QueryModelNodevisitChildren in class QueryModelNodeBaseX extends Exception
public void replaceChildNode(QueryModelNode current,
QueryModelNode replacement)
replaceChildNode in interface QueryModelNodereplaceChildNode in class QueryModelNodeBasepublic NaryOperator<Expr> clone()
clone in interface QueryModelNodeclone in class QueryModelNodeBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||