org.openrdf.query.parser
Class ParsedUpdate
java.lang.Object
org.openrdf.query.parser.ParsedOperation
org.openrdf.query.parser.ParsedUpdate
public class ParsedUpdate
- extends ParsedOperation
A parsed update formulated in the OpenRDF query algebra.
- Author:
- Jeen Broekstra
ParsedUpdate
public ParsedUpdate()
- Creates a new update. To complete this update, one or more update expressions need
to be supplied to it using
addUpdateExpr(UpdateExpr).
ParsedUpdate
public ParsedUpdate(Map<String,String> namespaces)
- Creates a new update. To complete this update, one or update expressions need
to be supplied to it using
addUpdateExpr(UpdateExpr).
- Parameters:
namespaces - A mapping of namespace prefixes to namespace names representing the
namespaces that are used in the update.
getNamespaces
public Map<String,String> getNamespaces()
addUpdateExpr
public void addUpdateExpr(UpdateExpr updateExpr)
- Parameters:
updateExpr - The updateExpr to add.
getUpdateExprs
public List<UpdateExpr> getUpdateExprs()
- Returns:
- Returns the list of update expressions.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2012 Aduna. All Rights Reserved.