use of org.eclipse.rdf4j.query.algebra.Coalesce in project rdf4j by eclipse.
the class TupleExprBuilder method visit.
@Override
public Coalesce visit(ASTCoalesce node, Object data) throws VisitorException {
Coalesce coalesce = new Coalesce();
int noOfArgs = node.jjtGetNumChildren();
for (int i = 0; i < noOfArgs; i++) {
ValueExpr arg = (ValueExpr) node.jjtGetChild(i).jjtAccept(this, data);
coalesce.addArgument(arg);
}
return coalesce;
}