org.openrdf.repository.http
Class HTTPUpdate

java.lang.Object
  extended by org.openrdf.query.impl.AbstractOperation
      extended by org.openrdf.query.impl.AbstractUpdate
          extended by org.openrdf.repository.http.HTTPUpdate
All Implemented Interfaces:
Operation, Update

public class HTTPUpdate
extends AbstractUpdate

Update specific to the HTTP protocol. Methods in this class may throw the specific RepositoryException subclass UnautorizedException, the semantics of which is defined by the HTTP protocol.

Author:
Jeen Broekstra
See Also:
UnauthorizedException

Field Summary
protected  String baseURI
           
protected  org.openrdf.repository.http.HTTPRepositoryConnection httpCon
           
protected  QueryLanguage queryLanguage
           
protected  String queryString
           
 
Fields inherited from class org.openrdf.query.impl.AbstractOperation
bindings, dataset, includeInferred
 
Constructor Summary
HTTPUpdate(org.openrdf.repository.http.HTTPRepositoryConnection con, QueryLanguage ql, String queryString, String baseURI)
           
 
Method Summary
 void execute()
          Execute this update on the repository.
protected  Binding[] getBindingsArray()
           
 String toString()
           
 
Methods inherited from class org.openrdf.query.impl.AbstractOperation
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openrdf.query.Operation
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred
 

Field Detail

httpCon

protected final org.openrdf.repository.http.HTTPRepositoryConnection httpCon

queryLanguage

protected final QueryLanguage queryLanguage

queryString

protected final String queryString

baseURI

protected final String baseURI
Constructor Detail

HTTPUpdate

public HTTPUpdate(org.openrdf.repository.http.HTTPRepositoryConnection con,
                  QueryLanguage ql,
                  String queryString,
                  String baseURI)
Method Detail

getBindingsArray

protected Binding[] getBindingsArray()

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.

Throws:
UpdateExecutionException - if the update could not be successfully completed.


Copyright © 2001-2012 Aduna. All Rights Reserved.