org.openrdf.repository.sail
Class SailUpdate
java.lang.Object
org.openrdf.query.impl.AbstractOperation
org.openrdf.repository.sail.SailUpdate
- All Implemented Interfaces:
- Operation, Update
public class SailUpdate
- extends AbstractOperation
- implements Update
- Author:
- Jeen Broekstra
SailUpdate
protected SailUpdate(ParsedUpdate parsedUpdate,
SailRepositoryConnection con)
getParsedUpdate
public ParsedUpdate getParsedUpdate()
getConnection
protected SailRepositoryConnection getConnection()
getActiveDataset
public Dataset getActiveDataset()
- Gets the "active" dataset for this update. The active dataset is either
the dataset that has been specified using
AbstractOperation.setDataset(Dataset) or
the dataset that has been specified in the update, where the former takes
precedence over the latter.
- Returns:
- The active dataset, or null if there is no dataset.
toString
public String toString()
- Overrides:
toString in class Object
execute
public void execute()
throws UpdateExecutionException
- Description copied from interface:
Update
- Execute this update on the repository.
- Specified by:
execute in interface Update
- Throws:
UpdateExecutionException - if the update could not be successfully completed.
Copyright © 2001-2012 Aduna. All Rights Reserved.