Search in sources :

Example 1 with DeleteData

use of org.eclipse.rdf4j.query.algebra.DeleteData in project rdf4j by eclipse.

the class UpdateExprBuilder method visit.

@Override
public DeleteData visit(ASTDeleteData node, Object data) throws VisitorException {
    ASTUnparsedQuadDataBlock dataBlock = node.jjtGetChild(ASTUnparsedQuadDataBlock.class);
    DeleteData deleteData = new DeleteData(dataBlock.getDataBlock());
    deleteData.setLineNumberOffset(dataBlock.getAddedDefaultPrefixes());
    return deleteData;
}
Also used : DeleteData(org.eclipse.rdf4j.query.algebra.DeleteData) ASTDeleteData(org.eclipse.rdf4j.query.parser.sparql.ast.ASTDeleteData) ASTUnparsedQuadDataBlock(org.eclipse.rdf4j.query.parser.sparql.ast.ASTUnparsedQuadDataBlock)

Aggregations

DeleteData (org.eclipse.rdf4j.query.algebra.DeleteData)1 ASTDeleteData (org.eclipse.rdf4j.query.parser.sparql.ast.ASTDeleteData)1 ASTUnparsedQuadDataBlock (org.eclipse.rdf4j.query.parser.sparql.ast.ASTUnparsedQuadDataBlock)1