use of org.eclipse.rdf4j.query.parser.sparql.ast.ASTLoad in project rdf4j by eclipse.
the class UpdateExprBuilder method visit.
@Override
public Load visit(ASTLoad node, Object data) throws VisitorException {
ValueConstant source = (ValueConstant) node.jjtGetChild(0).jjtAccept(this, data);
Load load = new Load(source);
load.setSilent(node.isSilent());
if (node.jjtGetNumChildren() > 1) {
ValueConstant graph = (ValueConstant) node.jjtGetChild(1).jjtAccept(this, data);
load.setGraph(graph);
}
return load;
}
Aggregations